Recall & Review
beginner
What is Raspberry Pi?
Raspberry Pi is a small, affordable computer that you can use to learn programming and build projects.
Click to reveal answer
beginner
How do you run a Python program on Raspberry Pi?
You can run a Python program by opening the terminal and typing
python3 filename.py.Click to reveal answer
intermediate
What is GPIO on Raspberry Pi?
GPIO stands for General Purpose Input Output. It lets you connect and control electronic parts like LEDs and sensors using Python.
Click to reveal answer
intermediate
Which Python library is commonly used to control GPIO pins on Raspberry Pi?
The
RPi.GPIO library is commonly used to control GPIO pins with Python on Raspberry Pi.Click to reveal answer
beginner
How can you install a Python library on Raspberry Pi?
You can install a Python library using the terminal command
pip3 install library_name.Click to reveal answer
What command runs a Python 3 script named
blink.py on Raspberry Pi?✗ Incorrect
The correct command is
python3 blink.py to run a Python 3 script.What does GPIO stand for?
✗ Incorrect
GPIO means General Purpose Input Output, used for connecting hardware parts.
Which Python library is used to control Raspberry Pi GPIO pins?
✗ Incorrect
RPi.GPIO is the common library for GPIO control, though gpiozero is also popular.How do you install a Python package on Raspberry Pi?
✗ Incorrect
Use
pip3 install package_name to install Python packages.What is the main use of Raspberry Pi?
✗ Incorrect
Raspberry Pi is mainly used to learn programming and create projects.
Explain how you would run a Python program on Raspberry Pi and what you need to do first.
Think about the steps from opening the terminal to running the script.
You got /4 concepts.
Describe what GPIO pins are and how Python can interact with them on Raspberry Pi.
Imagine controlling lights or sensors with code.
You got /4 concepts.