The Raspberry Pi Platform and Python Programming for the Raspberry Pi Quiz Answers

Coursera was launched in 2012 by Daphne Koller and Andrew Ng with the goal of giving life-changing learning experiences to students all around the world. In the modern day, Coursera is a worldwide online learning platform that provides anybody, anywhere with access to online courses and degrees from top institutions and corporations.

Join Now

The Raspberry Pi Platform and Python Programming for the Raspberry Pi Quiz Answers

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?

  • Analog-to-Digital converter

Q2. An ARM-based processor is

  • A processor which contains a core designed by ARM Ltd.

Q3. Which of the following is not a task of an operating system?

  • Improve performance by increasing clock frequency of the processor

Q4. Which feature of the Raspberry Pi tends to make it seem like it is not an IoT device?

  • It provides a graphic interface using a keyboard, monitor and mouse

Q5. Once the Raspberry Pi has been configured, what must be contained on the micro SD card?

  • The operating system

Q6. Which of the following is not an impact of overclocking?

  • Improved temperature profile

Q7. raspi-config can only be used during the initial setup.

  • False

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?

  • Allows a command to execute with root permission

Q2. What command shows a list of running processes?

  • ps

Q3. What command prints out the contents of a directory?

  • ls

Q4. What command creates a new directory?

  • mkdir

Q5. What command should be used before powering off the machine?

  • shutdown

Q6. What is the username of the non-root account created when Raspian is installed?

  • pi

Q7. What command starts the graphic user interface from the shell after booting the Raspberry Pi?

  • startx

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?

  • m

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?

  • True

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?

  • ‘344’

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?

  • [1, 2, [3, 4]]

Q5. Assume that the following Python program is executed:

What will be printed on the screen as a result?

  • 2

Q6. Assume that the following Python program is executed:

What will be printed on the screen as a result?

  • [4, 5, 5, 6]

Q7. Correct indentation is essential for your Python program to work.

  • True

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?

  • 40

Q2. How many GPIO pins are dedicated to the SPI protocol?

  • 5

Q3. What voltage level is associated with HIGH on the GPIO of the Raspberry Pi?

  • 3.3

Q4. What function determines the numbering of the pins used?

  • GPIO.setmode()

Q5. What function determines whether a pin will be used as an input or an output?

  • GPIO.setup()

Q6. What function is used to set a pin to a value?

  • GPIO.output()

Q7. What function is used to read a digital value on a pin?

  • GPIO.input()

Q8. What function is used to read an analog value on a pin?

  • None of the above

.

Review:

Based on our knowledge, we urge you to enroll in this course so you can pick up new skills from specialists. It will be worthwhile, we trust.

 

Leave a Comment