04 Traffic Lights (PICO)

Quiz
•
Computers
•
8th Grade
•
Hard
David Anderson
Used 22+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
Y7 Input Output Devices

Quiz
•
6th - 8th Grade
10 questions
Embedded systems 1

Quiz
•
8th - 10th Grade
13 questions
Understanding the Internet

Quiz
•
6th - 8th Grade
15 questions
robotica 2024

Quiz
•
6th - 8th Grade
11 questions
Blender

Quiz
•
7th Grade - Professio...
15 questions
Cybersecurity Attacks and Prevention

Quiz
•
6th - 8th Grade
15 questions
Electronic Symbols

Quiz
•
7th - 8th Grade
7 questions
Introduction to Arduino

Quiz
•
6th - 9th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade