Font size
WorksheetsComputer Pretest(Arduino)
Total questions: 33
Worksheet time: 22mins
lcd.setCursor(3,1) will display the characters on the LCD to....
3rd ROW, 1st COLUMN
3rd COLUMN, 1st ROW
4th ROW, 2nd COLUMN
4th COLUMN, 2nd ROW
Choose two (2) usage of this component in your daily lives:
Reverse car sensor
Alarm clock
Speaker
Distance sensor
Which code will display the text on the LCD like the picture given?
lcd.setCursor(4,2); lcd.print("Coding");
lcd.setCursor(2,4); lcd.print("Coding");
lcd.setCursor(3,1); lcd.print("Coding");
lcd.setCursor(1,3); lcd.print("Coding");
Identify the component name in the picture shown above
LCD Display
Bread Board
Potentiometer
Remote
LCD stands for
Lighted Crystal Display
Liquid Cube Display
Liquid Crystal Drawing
Liquid Crystal Display
It is a separate pop-up window that acts as an independent terminal and plays a vital role for sending and receiving the Serial Data.
Serial Boarder
Serial Chart
Serial Monitor
Serial Print
Why does a single ultrasonic sensor have 2 "eyes" on it?
So the ultrasonic waves can hit more objects
So the bot can see differences in color
One eye sends a signal and one receives it
In case one eye stops working the other eye is a backup
Ultrasonic waves are a form of _______ waves
sound
ocean
radio
seismic
What is the maximum speed our bot can go?
100
15
1023
255
What is the main difference between data types "int" and "float"?
Data types int is real and float is made up
Data types int can be in decimals and float must be whole numbers
There is no difference
Data types int must be whole numbers and float can be in decimals
How many volts do the ultrasonic sensors need to operate?
5v
12v
3v
10v
An ultrasonic sensor is a device that can measure the ________ to an object by sending out _________ waves.
density / echo
path / seismic
elevation / sonic
distance / sound
The speed of sound is _________ m/s
100
340
250
255
The original wave is called the _____ wave
trig
outbound
echo
re-curve
The reflected wave is called the _____ wave
return
trig
re-curve
echo
The sensor used for object detection and distance calculation is __________.
PIR
Ultrasonic sensor
Hall sensor
1 second equals to _____________.
1000 millisecond
1000 microsecond
This part is called a
Piezo buzzer
Push button
Potentiometer
None of the Above
Identify the component name in the picture shown above
Potentiometer
Push Button Switch
Stepper Motor
Tilt Ball Switch
It is an component that enables one to momentarily close the circuit when applied with pressure.
LEDs
Diodes
Dry Cells
Push buttons
How much voltage is enough Arduino to work
5 to 12 Volt
4 to 9 Volt
" if (digitalRead(3)==HIGH) " what is "==" stand for ?
equal
and
or
not
" void setup() " program will...
run once
run repeatedly
Which coding is use for Arduino to get a signal from a pin ?
digitalRead
digitalWrite
Any statements inside an IF clause (section) can be executed multiple times.
FALSE
TRUE
What will be the output of above program
OLDDY
NEWDY
Error
None
To ensure that both conditions are true
Or
And
if
else
To ensure that one or both of the two conditions are true
Or
And
if
else
Choose the correct command to start the analog communication
Serial.Begin(9600)
Serial.begin(9600)
serial.Begin(9600)
serialBegin(9600)
How to read from a button
val=serialRead(A0)
val=analogRead(A0)
val=digitalRead(A0)
What is the output?
NUMBER is bigger than 3
nymber is bigger than 3
NUMBER is less than 3
nymber is less than 3
