
Arduino Quiz g10
Authored by Salman Alasyi
Computers
10th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to declare an integer variable named speed in Arduino?
int speed = 10;
integer speed = 10;
var speed = 10;
speed = 10;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following variable names is invalid in Arduino?
sensorValue
123data
temperature_sensor
motorSpeed
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a variable in Arduino?
To store and manipulate data
To create new functions
To directly control hardware
To print values on the screen
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the followings is NOT a type of variable?
Char
Flood
Int
String
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name?
float
if
_sensor1
5value
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type should be used to store whole numbers in Arduino?
float
char
int
boolean
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of "String" data type?
For declaring alphabetical value
For wiring the circuit
For storing number
For displaying the data
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?