04 Traffic Lights (PICO)
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
David Anderson
Used 22+ times
FREE Resource
Enhance your content in a minute
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a traffic light controller?
A system that controls the speed of vehicles
A system that plays music at traffic lights
A system that monitors pedestrian movements
A system that changes the lights on a timer
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a current-limiting resistor when connecting an LED to a Pico?
To change the color of the LED
To increase the brightness of the LED
To make the LED blink at a faster rate
To prevent the LED from burning out
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the button in the code?
To activate the green LED
To signal the pedestrian's intention to cross
To turn on the buzzer
To change the traffic light sequence
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the buzzer do in the code?
It indicates a malfunction in the system
It signals the end of the traffic light sequence
It plays music
It alerts pedestrians about the traffic light change
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the while loop in the code?
To check the value of the button
To control the traffic light sequence
To activate the buzzer
To initialize the LED pins
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the global button_pressed variable in the code?
To activate the pedestrian LED
To store the value of the button
To control the duration of the traffic light sequence
To indicate if the button has been pressed
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the utime.sleep() function in the code?
To reset the button value
To activate the buzzer
To pause the program for a specified duration
To turn off the LED
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Contact Center Sevices
Quiz
•
7th - 10th Grade
10 questions
Youtubers Charlie.C-J
Quiz
•
3rd - 9th Grade
10 questions
Quiz 8 (01.09.2021)
Quiz
•
1st - 12th Grade
10 questions
Understanding Computers #2 the CPU
Quiz
•
8th Grade
10 questions
Pojęcia informatyczne
Quiz
•
1st - 10th Grade
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
14 questions
Adobe Premiere Pro :>>
Quiz
•
8th Grade
10 questions
S2 Subject Choice Quiz
Quiz
•
8th - 10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
