WorksheetsArduino Grade 12
Total questions: 8
Worksheet time: 4mins
Name
Class
Date
1.
how many types of functions do we have
a)
7
b)
4
c)
2
d)
3
2.
........... runs repeatedly
a)
loop function
b)
setup function
3.
............. used to begin a serial communication
a)
setup function
b)
loop function
4.
int x=7 is an example code of
a)
float
b)
integer
c)
character
d)
boolean
5.
bool x=false;
a)
integer
b)
character
c)
boolean
d)
float
6.
delay(5000); stands for
a)
Wait 5 minutes
b)
Wait 5 seconds
c)
Wait 50 seconds
7.
blinkLED(12,100) means?
a)
12
b)
12
c)
12 input; 100miliseconds delay between blink
d)
12 output; 100miliseconds delay between blink
8.
digitalWrite(13,LOW) means?
a)
b)
execute pin 13; off
100 %
