Search Header Logo

Arduino- Exercise 4 Random Dice

Authored by Darren Richardson

Computers, Specialty, Other

11th Grade

Used 32+ times

Arduino- Exercise 4 Random Dice
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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);

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?