
Raspberry Pi and LDR Sensor
Quiz
•
Computers
•
1st Grade
•
Easy
Robotic Schools
Used 1+ times
FREE Resource
Enhance your content
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the working principle of an LDR sensor?
The sensor emits light to detect objects.
The sensor measures the temperature of the environment.
The sensor detects sound waves and converts them into electrical signals.
The resistance of the sensor changes with the amount of light falling on it.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Name one component required for an automatic streetlight project.
temperature sensor
light sensor
motion sensor
sound sensor
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the code for reading LDR sensor data in Raspberry Pi?
import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(17, GPIO.IN) sensor_value = GPIO.input(17) GPIO.cleanup()
import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(22, GPIO.IN) sensor_value = GPIO.input(22) GPIO.cleanup()
import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(27, GPIO.IN) sensor_value = GPIO.input(27) GPIO.cleanup()
import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(18, GPIO.IN) sensor_value = GPIO.input(18) GPIO.cleanup()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you control an LED using Raspberry Pi?
Connect the LED to a USB port and use a software to control its state.
Connect the LED to a GPIO pin and write a Python script to control the pin's state.
Connect the LED to the power supply directly and use a software to control its state.
Connect the LED to the HDMI port and use a software to control its state.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens to the resistance of an LDR sensor when exposed to light?
The resistance decreases.
The resistance fluctuates.
The resistance increases.
The resistance remains the same.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of an LDR sensor in an automatic streetlight project?
To detect ambient light levels and control the streetlights
To measure temperature and humidity levels
To detect motion and activate the streetlights
To monitor air pollution levels
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Name another component required for an automatic streetlight project.
light sensor
temperature sensor
motion sensor
timer
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
Third Day Quiz!
Quiz
•
1st - 5th Grade
14 questions
SAM LABS Starter Quiz
Quiz
•
1st - 5th Grade
10 questions
Canva quiz
Quiz
•
1st - 5th Grade
10 questions
Step counter
Quiz
•
1st Grade
11 questions
แบบทดสอบ Ultrasonic Sensor | Microbit ประถมศึกษา
Quiz
•
1st - 5th Grade
7 questions
Raspberry Pi Push Button Control LED
Quiz
•
1st Grade
10 questions
FORMATO DE IMAGENES
Quiz
•
1st - 3rd Grade
7 questions
Regular Expressions (Python)
Quiz
•
KG - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
18 questions
D189 1st Grade OG 1c Concept 37-38
Quiz
•
1st Grade
20 questions
addition
Quiz
•
1st - 3rd Grade
20 questions
Subject and predicate in sentences
Quiz
•
1st - 3rd Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
10 questions
Exploring Force and Motion Concepts
Interactive video
•
1st - 5th Grade
10 questions
Exploring Properties of Matter
Interactive video
•
1st - 5th Grade
5 questions
Sense and Response
Quiz
•
1st Grade