Arduino- Exercise 4 Random Dice

Arduino- Exercise 4 Random Dice

11th Grade

10 Qs

quiz-placeholder

Similar activities

General Computer

General Computer

11th Grade - University

10 Qs

Cloud Storage

Cloud Storage

9th - 11th Grade

10 Qs

Asesmen Akhir - Materi Perangkat Keras Kelas 7

Asesmen Akhir - Materi Perangkat Keras Kelas 7

7th Grade - University

15 Qs

Web JavaScript

Web JavaScript

10th Grade - University

15 Qs

Digital Sound & Video

Digital Sound & Video

9th - 12th Grade

10 Qs

CSP: Unit 3 - Block Code Types

CSP: Unit 3 - Block Code Types

9th - 12th Grade

12 Qs

Audio Basics - History and How Tos

Audio Basics - History and How Tos

KG - Professional Development

6 Qs

Module 1 Lesson 2 Review

Module 1 Lesson 2 Review

11th Grade

15 Qs

Arduino- Exercise 4 Random Dice

Arduino- Exercise 4 Random Dice

Assessment

Quiz

Computers, Specialty, Other

11th Grade

Medium

Created by

Darren Richardson

Used 32+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

These are schematic symbols for a _____________

LED

Microcontroller

Resistor

Slide switch

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable is a number that ____________

Changes

Stays Constant

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When declaring a long variable we use the command _______

int

var

long

const

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where in an Arduino sketch (programme code) do we declare variables and constants?

At the end of the code

At the top of the code

Anywhere in the code

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

random generates what type of numerical data?

variable

constant

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When deciding on variable names we use names that explain what is being stored. If we wanted do declare a 'long' variable that had something to do with light levels which name would you choose?

switchstate

randomlight

lightlevel

temperaturereading

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If we wanted a random number between 1 and 6, what command would we use?

random (1, 6);

random (1,7);

Random (1, 8);

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?