All Weeks The Raspberry Pi Platform and Python Programming for the Raspberry Pi Quiz Answers
Table of Contents
The Raspberry Pi Platform and Python Programming for the Raspberry Pi Week 01 Quiz Answers
Q1. Which component is not contained on the Raspberry Pi B+ board?
Q3. Which of the following is not a task of an operating system?
Q4. Which feature of the Raspberry Pi tends to make it seem like it is not an IoT device?
Q5. Once the Raspberry Pi has been configured, what must be contained on the micro SD card?
Q6. Which of the following is not an impact of overclocking?
Q7. raspi-config can only be used during the initial setup.
Q8. The Raspberry Pi can be configured to boot directly to the desktop
- True
The Raspberry Pi Platform and Python Programming for the Raspberry Pi Week 02 Quiz Answers
Q1. What does the ‘sudo’ command do?
Q2. What command shows a list of running processes?
Q3. What command prints out the contents of a directory?
Q4. What command creates a new directory?
Q5. What command should be used before powering off the machine?
Q6. What is the username of the non-root account created when Raspian is installed?
Q7. What command starts the graphic user interface from the shell after booting the Raspberry Pi?
Q8. The Raspberry Pi comes with Linux pre-installed?
- False
The Raspberry Pi Platform and Python Programming for the Raspberry Pi Week 03 Quiz Answers
Q1. Assume that we have typed the following in the Python shell:
x = ‘chemistry’
x[3]
What will be printed on the screen as a result?
Q2. Assume that we have typed the following in the Python shell:
x = ‘chemistry’
‘i’ in x
What will be printed on the screen as a result?
Q3. Assume that we have typed the following in the Python shell:
x = ‘3’
y = ‘4’
x + y * 2
What will be printed on the screen as a result?
Q4. Assume that we have typed the following in the Python shell:
x = [1, 2]
y = [3, 4]
x.append(y)
What will be printed on the screen as a result?
Q5. Assume that the following Python program is executed:
What will be printed on the screen as a result?
Q6. Assume that the following Python program is executed:
What will be printed on the screen as a result?
Q7. Correct indentation is essential for your Python program to work.
Q8. Raspberry Pi can execute Python 3 code, but not Python 2.
- False
The Raspberry Pi Platform and Python Programming for the Raspberry Pi Week 04 Quiz Answers
Q1. How many GPIO pins does the Raspberry Pi B+ have?
Q2. How many GPIO pins are dedicated to the SPI protocol?
Q3. What voltage level is associated with HIGH on the GPIO of the Raspberry Pi?
Q4. What function determines the numbering of the pins used?
Q5. What function determines whether a pin will be used as an input or an output?
Q6. What function is used to set a pin to a value?
Q7. What function is used to read a digital value on a pin?
Q8. What function is used to read an analog value on a pin?
- None of the above
Next Quiz Answers >>
<< Previous Quiz Answers
The Arduino Platform and C Programming
All Quiz Answers of An Introduction to Programming the Internet of Things (IoT) Specialization Course
Course 1: Introduction to the Internet of Things and Embedded Systems
Course 2: The Arduino Platform and C Programming
Course 3: Interfacing with the Arduino
Course 4: The Raspberry Pi Platform and Python Programming for the Raspberry Pi
Course 5: Interfacing with the Raspberry Pi