
Raspberry Pi and LDR Sensor
Authored by Robotic Schools
Computers
1st Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
11 questions
Computer parts
Quiz
•
1st - 2nd Grade
15 questions
Computer and it's parts
Quiz
•
1st Grade
10 questions
Computer Basics
Quiz
•
KG - 3rd Grade
15 questions
Minecraft
Quiz
•
1st - 12th Grade
10 questions
Java Math
Quiz
•
1st - 12th Grade
12 questions
1st grade I TRIMESTER
Quiz
•
1st Grade
10 questions
CSS (Text-Font-Box)
Quiz
•
1st Grade - University
13 questions
MS Paint
Quiz
•
1st - 4th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
12 questions
Presidents' Day
Quiz
•
KG - 5th Grade
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
6 questions
President's Day
Lesson
•
1st Grade
10 questions
Identifying Physical and Chemical Changes
Interactive video
•
1st - 5th Grade
7 questions
Lunar and Chinese New Year for Kids | Bedtime History
Interactive video
•
1st - 12th Grade
10 questions
Presidents Day
Interactive video
•
1st - 5th Grade
15 questions
Making Inferences
Quiz
•
1st - 3rd Grade