wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer Pretest(Arduino)

Total questions: 33

Worksheet time: 22mins

Name
Class
Date
1.

lcd.setCursor(3,1) will display the characters on the LCD to....

a)

3rd ROW, 1st COLUMN

b)

3rd COLUMN, 1st ROW

c)

4th ROW, 2nd COLUMN

d)

4th COLUMN, 2nd ROW

2.

Choose two (2) usage of this component in your daily lives:

a)

Reverse car sensor

b)

Alarm clock

c)

Speaker

d)

Distance sensor

3.

Which code will display the text on the LCD like the picture given?

a)

lcd.setCursor(4,2); lcd.print("Coding");

b)

lcd.setCursor(2,4); lcd.print("Coding");

c)

lcd.setCursor(3,1); lcd.print("Coding");

d)

lcd.setCursor(1,3); lcd.print("Coding");

4.

Identify the component name in the picture shown above

a)

LCD Display

b)

Bread Board

c)

Potentiometer

d)

Remote

5.
What is the software for programming Arduino called?
a)
Arduino IDE
b)
System Programmer
c)
Arduino Coder
d)
Arduino Developer
6.

LCD stands for

a)

Lighted Crystal Display

b)

Liquid Cube Display

c)

Liquid Crystal Drawing

d)

Liquid Crystal Display

7.

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.

a)

Serial Boarder

b)

Serial Chart

c)

Serial Monitor

d)

Serial Print

8.

Why does a single ultrasonic sensor have 2 "eyes" on it?

a)

So the ultrasonic waves can hit more objects

b)

So the bot can see differences in color

c)

One eye sends a signal and one receives it

d)

In case one eye stops working the other eye is a backup

9.

Ultrasonic waves are a form of _______ waves

a)

sound

b)

ocean

c)

radio

d)

seismic

10.

What is the maximum speed our bot can go?

a)

100

b)

15

c)

1023

d)

255

11.

What is the main difference between data types "int" and "float"?

a)

Data types int is real and float is made up

b)

Data types int can be in decimals and float must be whole numbers

c)

There is no difference

d)

Data types int must be whole numbers and float can be in decimals

12.

How many volts do the ultrasonic sensors need to operate?

a)

5v

b)

12v

c)

3v

d)

10v

13.

An ultrasonic sensor is a device that can measure the ________ to an object by sending out _________ waves.

a)

density / echo

b)

path / seismic

c)

elevation / sonic

d)

distance / sound

14.

The speed of sound is _________ m/s

a)

100

b)

340

c)

250

d)

255

15.

The original wave is called the _____ wave

a)

trig

b)

outbound

c)

echo

d)

re-curve

16.

The reflected wave is called the _____ wave

a)

return

b)

trig

c)

re-curve

d)

echo

17.

The sensor used for object detection and distance calculation is __________.

a)

PIR

b)

Ultrasonic sensor

c)

Hall sensor

18.

1 second equals to _____________.

a)

1000 millisecond

b)

1000 microsecond

19.

This part is called a

a)

Piezo buzzer

b)

Push button

c)

Potentiometer

d)

None of the Above

20.
A push button on a circuit is an ___________
a)
input
b)
output
c)
command
d)
variable
21.

Identify the component name in the picture shown above

a)

Potentiometer

b)

Push Button Switch

c)

Stepper Motor

d)

Tilt Ball Switch

22.

It is an component that enables one to momentarily close the circuit when applied with pressure.

a)

LEDs

b)

Diodes

c)

Dry Cells

d)

Push buttons

23.

How much voltage is enough Arduino to work

a)

5 to 12 Volt

b)

4 to 9 Volt

24.

" if (digitalRead(3)==HIGH) " what is "==" stand for ?

a)

equal

b)

and

c)

or

d)

not

25.

" void setup() " program will...

a)

run once

b)

run repeatedly

26.

Which coding is use for Arduino to get a signal from a pin ?

a)

digitalRead

b)

digitalWrite

27.

Any statements inside an IF clause (section) can be executed multiple times.

a)

FALSE

b)

TRUE

28.

What will be the output of above program

a)

OLDDY

b)

NEWDY

c)

Error

d)

None

29.

To ensure that both conditions are true

a)

Or

b)

And

c)

if

d)

else

30.

To ensure that one or both of the two conditions are true

a)

Or

b)

And

c)

if

d)

else

31.

Choose the correct command to start the analog communication

a)

Serial.Begin(9600)

b)

Serial.begin(9600)

c)

serial.Begin(9600)

d)

serialBegin(9600)

32.

How to read from a button

a)

val=serialRead(A0)

b)

val=analogRead(A0)

c)

val=digitalRead(A0)

33.

What is the output?

a)

NUMBER is bigger than 3

b)

nymber is bigger than 3

c)

NUMBER is less than 3

d)

nymber is less than 3