Font size
WorksheetsRaspberry Quiz 2
Total questions: 12
Worksheet time: 4mins
How many 3.3V Power supply , 5V power supply GPIO pins does the Raspberry pi have
2 , 2
1 , 2
3 , 3
1 , 1
GPIO pins are ______ and have _____ states
analog , three
digital , two
digital, three
analog , two
The Python library imported to control GPIO pins is
RPI.GPo
RPi.GPIO
RP.GPIo
RPi.GPIN
Why is a WHILE Loop used for LED Blinking?
To repeat HIGH state
To repeat LOW state
To repeat both states
Command to create a new directory:
mkdir
makedir
crdir
newdir
Choose the correct options(s)
cd - change directory
cd - command prompt
ls - list contents
rmdir - remove directory
rmdir - remake directory
sleep() function is used to
to suspend the given task for a particular time
to terminate the compiler
to set the raspberry pi in a low power state
to suspend the currently executing python script for a specified time
Pick a Linux terminal command that does not exist :
nano
clear
sudo
su
suii
What does GPIO.setup( ) do
allocates the pin as input or output
does a setup check on the state of the pin
counts the number of pins
Duration of sleep(2) :
2 seconds
2 milliseconds
2 minutes
2 lightyears
Command to power down the raspberry Pi immediately
sudo poweroff -h now
power down
sudo shutdown
sudo shutdown -h now
What does su in sudo stand for
super-user
sub-query
substitute
sub-user
