wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Arduino Midterm Review 2

Total questions: 15

Worksheet time: 15mins

Name
Class
Date
1.

A potentiometer is a

a)

Directional switch

b)

Directional resistor

c)

Sensor

d)

Variable resistor

e)

None of the above

2.

Photo resistors operate by

a)

Reducing resistance when less light is visible

b)

Increasing resistance when less light is visible

c)

Activates when motion is present

d)

All of the above

3.

This part is called a

a)

Piezo buzzer

b)

Push button

c)

Potentiometer

d)

None of the Above

4.
What does IDE stand for?
a)
In Deep Environment
b)
Integrated Development Environment
c)
Internal Deep Escape
d)
IDE
5.
How do you tell (give instructions) on what the Arduino board should do in an IDE?
a)
Editor
b)
Sketches
c)
Console
d)
IDE error
6.
Before your program “code” can be sent to the board, it needs to be converted into instructions that the board understands. This process is called...
a)
Stop
b)
Compile
c)
Create Sketch
d)
Serial Monitor
7.
A function is a series of programming statements that can be called by name. Which command is called once when the program starts:
a)
loop()
b)
setup()
c)
(output)
d)
(input)
8.
A function is a series of programming statements that can be called by name. Which command is called repetitively over and over again as long as the Arduino has power.
a)
loop()
b)
setup()
c)
(output)
d)
(input)
9.
How long is the LED on?

digitalWrite(13, HIGH); 
 
delay(1000);   
digitalWrite(13, LOW); 
 
delay(1000); 
a)
1000 seconds
b)
100 seconds
c)
1 second
d)
100 milliseconds
10.
Which symbol ends a statement?
a)
Semicolon ;
b)
Parenthesis )
c)
Comma ,
d)
Curly Brace }
11.
Which of the following is true about comments added in the Arduino code?
a)
A.  Comments help you understand how your program works
b)
A.  Comments take up too much space and should never be used
c)
A.  Comments are only there for high level programmers
12.
What does pressing the check-mark do when working with your code?
a)
Saves your work.
b)
Downloads your code onto the arduino board.
c)
Checks your code for mistakes.
d)
Checks to see if the arduino is connected to the computer.
13.
Which pin is the jumper wire connected to?

digitalWrite(13, HIGH); 
 
delay(1000);   
digitalWrite(13, LOW); 
 
 delay(1000); 
a)
13
b)
12
c)
100
d)
digital pin
14.

Select all the output components

a)
b)
c)
d)
15.

Select all the input components

a)
b)
c)
d)