wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Traffic Light Project Quiz

Total questions: 17

Worksheet time: 26mins

Name
Class
Date
1.

What is the purpose of using Arduino in the traffic light project?

a)

To play music for pedestrians

b)

To control the timing and sequence of the lights.

c)

To measure the temperature of the lights

d)

To control the volume of the traffic noise

2.

In Tinkercad simulation, what component is used to represent the traffic light?

a)

LED

b)

Capacitor

c)

Transistor

d)

Resistor

3.

What is the function of a resistor in a traffic light circuit?

a)

To play a musical tune when the traffic light changes

b)

To limit the flow of current and prevent damage to the LED lights

c)

To increase the flow of current and make the LED lights brighter

d)

To control the temperature of the traffic light

4.

Which programming language is commonly used for Arduino programming?

a)

Ruby

b)

C++

c)

Java

d)

Python

5.

What does the 'void setup()' function do in Arduino programming?

a)

It is used to control the speed of the Arduino board

b)

It is used to print output to the serial monitor

c)

It is used to define the size of the Arduino board

d)

It is used to initialize the Arduino board and run only once when the board is powered on or reset.

6.

What does the 'delay()' function do in Arduino programming?

a)

Stops the program completely

b)

Pauses the program for a specified number of milliseconds

c)

Resets the program to its initial state

d)

Skips the next line of code

7.

How can you change the duration of each traffic light phase in the Arduino code?

a)

Add more sensors to the traffic light

b)

Modify the delay time in the Arduino code for each phase

c)

Increase the voltage to the traffic light

d)

Change the color of the traffic light

8.

What is the role of a breadboard in circuit design?

a)

To act as a power source for the circuit

b)

To provide a stable foundation for the circuit

c)

To create temporary circuits for testing and prototyping without soldering.

d)

To heat up the components for better conductivity

9.

What is the difference between series and parallel circuits?

a)

In series circuits, the current has only one path to follow, while in parallel circuits, the current has multiple paths to follow.

b)

In series circuits, the current has multiple paths to follow, while in parallel circuits, the current has only one path to follow.

c)

In series circuits, the voltage remains the same across all components, while in parallel circuits, the voltage changes across components.

d)

In series circuits, the resistance adds up, while in parallel circuits, the resistance remains the same.

10.

What is the purpose of using a push button in the traffic light project?

a)

To activate the sprinkler system

b)

To play music

c)

To allow pedestrians to request a crossing

d)

To change the color of the traffic light

11.

What is the purpose of using a 'for' loop in Arduino programming?

a)

To repeat a block of code a specified number of times

b)

To stop the program completely

c)

To skip the next line of code

d)

To reset the program to its initial state

12.

What is the role of a resistor in an LED circuit?

a)

To increase the flow of current and make the LED brighter

b)

To limit the flow of current and prevent damage to the LED

c)

To change the color of the LED

d)

To control the temperature of the LED

13.

What is the formula for calculating resistance in an electrical circuit?

a)

R = V / I

b)

R = I / V

c)

R = V * I

d)

R = V - I

14.

Which Arduino pins are commonly used to connect the LEDs representing the traffic light colors?

a)

Analog pins

b)

5V and GND pins

c)

Digital pins

d)

PWM pins

15.

What is the purpose of using Tinkercad in the development of a traffic light project?

a)

Tinkercad adds visual effects to the traffic light

b)

It allows for simulation and testing of the project

c)

Tinkercad provides background music for the project

d)

It helps with soldering the components

16.

For a traffic light project, if the voltage across a resistor is 5 volts and the current flowing through it is 0.02 amperes, how would you calculate the resistance using Ohm's Law?

a)

resistance = voltage / current

b)

resistance = current / voltage

c)

resistance = voltage * current

17.

In addition to Morse Code and Traffic Lights, briefly describe 2 OTHER Arduino projects you can create using mainly LEDs (think in real solutions).

4 lines