
Diagnostic Test for CS202
Quiz
•
Engineering
•
11th Grade
•
Practice Problem
•
Hard
Dennis Nobleza
Used 4+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does GPIO stand for?
General Purpose Input/Output Device
General Purpose Integrated Output
General Purpose Input/Output
Generalized Peripheral Input/Output
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Python library is commonly used for GPIO programming on Raspberry Pi?
Adafruit_BBIO
RPi.GPIO
WiringPi
RPi.GPIO2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you set a GPIO pin as an input in Python?
GPIO.set_input(pin_number)
GPIO.setup(pin_number, GPIO.IN)
GPIO.configure(pin_number, 'input')
GPIO.pin_mode(pin_number, 'input')
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you read the state of a GPIO pin in Python?
Use the Arduino IDE to read GPIO states.
Connect a multimeter to measure the voltage.
Use RPi.GPIO or gpiozero library to read the state of a GPIO pin.
Use a web browser to access GPIO settings.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to set a GPIO pin to HIGH?
digitalWrite(pin, HIGH)
gpioSet(pin, 1)
setPin(pin, 1)
writePin(pin, true)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which GPIO pin is typically used for the Raspberry Pi's ground?
GPIO pin 1 (3.3V)
GPIO pin 6 (GND)
GPIO pin 5 (GPIO 3)
GPIO pin 12 (GPIO 18)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you control an LED connected to a GPIO pin?
Connect the LED directly to the power supply.
Use a resistor to connect the LED to the ground only.
Set the GPIO pin as output and control it using HIGH/LOW signals.
Set the GPIO pin as input and leave it unconnected.
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
Uji Pengetahuan PRE XI TEI Remedial
Quiz
•
11th Grade
10 questions
Ôn tập Arduino bài 5
Quiz
•
9th - 12th Grade
10 questions
Principle of Transmissibility of Forces Worksheet
Quiz
•
11th Grade
5 questions
ATK 1 (NM)
Quiz
•
11th Grade
14 questions
6.1 Haas Control Keypad Lathe
Quiz
•
11th Grade
15 questions
Transmisi Manual Mobil
Quiz
•
11th Grade
10 questions
Asesmen Transmisi Manual
Quiz
•
11th 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
Discover more resources for Engineering
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Thanksgiving Trivia
Quiz
•
11th Grade
34 questions
Geometric Terms
Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
16 questions
Proportional Relationships And Constant Of Proportionality
Quiz
•
7th - 12th Grade
10 questions
DNA Replication Concepts and Mechanisms
Interactive video
•
7th - 12th Grade
10 questions
Unit 2: LS.Bio.1.5-LS.Bio.2.2 Power Vocab
Quiz
•
9th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade
