Arduino- Exercise 4 Random Dice

Arduino- Exercise 4 Random Dice

11th Grade

10 Qs

quiz-placeholder

Similar activities

Arduino - Exercise 5 Simple Digital Input

Arduino - Exercise 5 Simple Digital Input

11th Grade

10 Qs

Python Basics

Python Basics

6th - 12th Grade

9 Qs

PLTW Final Review Part 2

PLTW Final Review Part 2

9th - 12th Grade

10 Qs

Digital Footprints & Coding Variables

Digital Footprints & Coding Variables

9th - 12th Grade

11 Qs

Python:  Rock, Scissors, Paper

Python: Rock, Scissors, Paper

10th - 12th Grade

10 Qs

Python Basic

Python Basic

11th Grade

14 Qs

TinkerCad Quiz

TinkerCad Quiz

7th Grade - Professional Development

10 Qs

Hangman Game - Programming Questions

Hangman Game - Programming Questions

7th - 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?