Arduino- Exercise 4 Random Dice

Quiz
•
Computers, Specialty, Other
•
11th Grade
•
Medium

Darren Richardson
Used 32+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Wayground
15 questions
Arduino

Quiz
•
11th Grade
15 questions
AP CSP Unit 4

Quiz
•
10th - 12th Grade
10 questions
BTEC DIT C3 LAB - External Threats

Quiz
•
10th - 11th Grade
12 questions
EMTECH POP QUIZ

Quiz
•
9th - 12th Grade
15 questions
KS4 - Python Turtle

Quiz
•
9th - 11th Grade
12 questions
Python Loops

Quiz
•
9th - 11th Grade
11 questions
J277 Programming - Data Types

Quiz
•
9th - 11th Grade
9 questions
Basic Python Coding

Quiz
•
6th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade