wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Arduino Basics Course Final Exam V1

Total questions: 35

Worksheet time: 18mins

Name
Class
Date
1.

What is a sound sensor?

a)

A sensor used to emit sounds through a microphone

b)

A sensor used to detect various sounds through a microphone

c)

A sensor used to measure the frequency of sound and display it on a small screen

d)

A sensor used to blast music

2.

What does "int" mean in an Arduino code?

a)

A variable being stored as a decimal is being defined

b)

A pin is being defined as a variable

c)

A constant being stored as an integer is being defined

d)

A variable being stored as an integer is being defined

3.

What is pin 2?

a)

Green

b)

Red

c)

GND

d)

Blue

4.

What is an else if statement?

a)

A line of code that is executed if none of the previous statements are true

b)

A secondary statement that checks whether it is true after a previous statement before executing code

c)

A statement that checks whether it is true then proceeds to execute the code

d)

A line of code that is executed regardless of the validity of a statement

5.

True or False: When the sensor is tilted beyond a certain angle, the conductive clement moves due to gravity, making contact with the electrical terminals and completing the circuit

a)

True

b)

False

6.

What are output devices?

a)

devices that are used to collect data that goes into a computer or device to be processed

b)

devices that are used to display the information and data within a computer or device

c)

devices that you plug into a computer or microcontroller

d)

devices that you unplug from a computer or microcontroller

7.

What does Serial.println() do?

a)

It prints text on the same line in the Serial Monitor

b)

It starts a new line then prints text in the Serial Monitor

c)

It prints text vertically in the Serial Monitor

d)

It prints text on a piece of paper

8.

Identify the photoresistor

a)

b)

c)

d)

9.

What is a digital device?

a)

A device that only has two states: on or off/high or low

b)

A device that has many states: usually anywhere from 0 to 225

c)

A device that connects to the internet or to a computer

d)

A clock

10.

Which of the following lines is used to add the Servo library?

a)

#include <Servo.h>​

b)

Servo myservo;

c)

myservo.attach(9);

d)

myservo.write(0);

11.

Why do we need motor drivers to use DC motors?

a)

Because Arduino provides a minimum of 9V and DC motors need 5V

b)

Because Arduino provides a maximum of 5V and DC motors need 9V

c)

Because the current flowing through a circuit containing a DC motor is so unstable it needs to be controlled properly

d)

Because the DC Motor doesn't have enough pins for all of its functions

12.

What is an electrical insulator?

a)

a material that allows electricity to flow through freely

b)

a material that resists the flow of electricity

c)

a material that prevents heat from escaping

d)

a material that prevents sound from escaping

13.

Which of the following is the correct wiring?

a)

b)

c)

d)

14.

What happens to the sensor reading when it is placed in a wet environment?

a)

The value fluctuates randomly

b)

The value decreases to around 0

c)

The value remains constant

d)

The value increases to around 1023

15.

IR Sensors...

a)

only emit infrared waves

b)

only detect infrared waves

c)

both emit and detect infrared waves

d)

neither emit nor detect infrared waves

16.

What is voltage measured in?

a)

V, volts

b)

A, Amps

c)

Ω, Ohms

d)

V, voltaires

17.

Which of the following not an application of a servo motor?

a)

Windshield Wiper

b)

Washing Machine

c)

Toll Booth

d)

Robot

18.

Which function should you use to collect the values from the IR Sensor

a)

digitalRead()

b)

analogRead()

c)

Serial.print()

d)

Serial.println()

19.

What is pin 4?

a)

Green

b)

Red

c)

GND

d)

Blue

20.

True or False: When the sound sensor vibrates, it changes the capacitance, which causes the voltage to change.

a)

True

b)

False

21.

What does the line delay(5000) do?

a)

It pauses the program for 5000 seconds

b)

It pauses the program for 5000 milliseconds

c)

It pauses the program for 50 seconds

d)

It pauses the program for 50 milliseconds

22.

What is an analog device?

a)

A device that only has two states: on or off/high or low

b)

A device that has many states: usually anywhere from 0 to 225

c)

A TV

d)

A clock

23.

What are input devices?

a)


devices that are used to collect data that goes into a computer or device to be processed

b)

devices that are used to display the information and data within a computer or device

c)

devices that you plug into a computer or microcontroller

d)

devices that you unplug from a computer or microcontroller

24.

What color do you get if you mix red and green light?

a)

Brown Light

b)

Black Light

c)

Yellow Light

d)

Orange Light

25.

What are actuators?

a)

devices that work due to electromagnetic interactions: the interaction of current (the flow of electrons) and a magnetic field

b)

a part of a device or machine that converts electricity or energy into controlled physical movements

c)

a magnet charged by electricity

d)

a current amplifier and a bridge between a microcontroller and a motor

26.

What is Ohm's Law?

a)

A formula used to show the relationship between velocity, intensity, and resistance:

V = IR

b)

A formula used to show the relationship between voltage, current, and resistance: V = IR

c)

A formula used to show the relationship between velocity, intensity, and resistance:

I = RV

d)

A formula used to show the relationship between voltage, current, and resistance: I = RV

27.

A motor with a resistance of 56Ω is connected to a voltage source. Two amps of current flows in the circuit. What is the voltage of the source?​

a)

0.0357 volts

b)

28 volts

c)

112 volts

d)

11.2 volts

28.

What are motor drivers?

a)

devices that work due to electromagnetic interactions: the interaction of current (the flow of electrons) and a magnetic field

b)

a part of a device or machine that converts electricity or energy into controlled physical movements

c)

a magnet charged by electricity

d)

a current amplifier and a bridge between a microcontroller and a motor

29.

Which of the following is not a pin on a servo motor?

a)

5V

b)

VCC

c)

PWM

d)

GND

30.

What are motors?

a)

devices that work due to electromagnetic interactions: the interaction of current (the flow of electrons) and a magnetic field

b)

a part of a device or machine that converts electricity or energy into controlled physical movements

c)

a magnet charged by electricity

d)

a current amplifier and a bridge between a microcontroller and a motor

31.

What type of sensor is the soil moisture sensor?

a)

Analog

b)

Digital

c)

Analog and Digital

d)

Neither Analog nor Digital

32.

A current of 8 amps flows through a lamp when it is connected to a 200 volt power source. What is the resistance of the lamp? ​

a)

0.04 ohms

b)

25 ohms

c)

1600 ohms

d)

250 ohms

33.

What is pin 3?

a)

VCC

b)

5V

c)

GND

d)

OUTPUT

34.

What does the line of code delay() do?

a)

It sets a digital device to either a high or low state

b)

It sets an analog device to any state from 0 to 255

c)

It pauses your computer

d)

It pauses the code and waits before continuing it

35.

What is current measured in?

a)

V, volts

b)

A, amps

c)

C, charges

d)

Ω, ohms