Interfacing with the Raspberry Pi Coursera Quiz Answers

All Weeks Interfacing with the Raspberry Pi Coursera Quiz Answers

The Raspberry Pi uses a variety of input/output devices based on protocols such as HDMI, USB, and Ethernet to communicate with the outside world. In this class, you will learn how to use these protocols with other external devices (sensors, motors, GPS, orientation, LCD screens, etc.) to get your IoT device to interact with the real world.

Most physical devices use analog signals; however computer hardware is digital so in this class, you will learn how these signals are converted back-and-forth and how this must be considered as you program your device. The basic design of a sensor-actuator system will also be covered. You will also learn how to build more sophisticated hardware systems using Raspberry Pi expansion boards to create fun and exciting IoT devices. Please note that this course does not include discussion forums.

Enroll on Coursera

Interfacing with the Raspberry Pi Coursera Quiz Answers

Interfacing with the Raspberry Pi Week 01 Quiz Answers


Q1. What is DHCP used for?

  • It is a network protocol used to assign IP addresses.

Q2. What is an SSH server?

  • A program which responds to incoming ssh requests

Q3. When an ssh client is invoked at the command line with the “ssh” command, what other argument must be provided on the command line?

  • A domain name or IP address to connect to

Q4. What command will reveal the IP address of your Raspberry Pi?

  • ifconfig

Q5. What is a fair definition of the term “protocol”?

  • A set of rules for communication

Q6. What does an IP address uniquely identify?

  • A host communicating on the Internet

Q7. How big is a port TCP/UDP number?

  • 16 bits

Q8. The nslookup command will show the IP address corresponding to a given domain name.

  • True

Interfacing with the Raspberry Pi Week 02 Quiz Answers

Q1. What is the difference between clients and servers on the Internet?

  • Clients initiate requests for service

Q2. What Python function is used to perform a DNS lookup?

  • gethostbyname()

Q3. What Python function is used by the client to establish a connection between sockets?

  • connect()

Q4. The recv() function performs a non-blocking wait, by default.

  • False

Q5. When is the code inside an except clause executed?

  • When code inside the associated try clause causes an appropriate exception

Q6. Binding a socket on the server-side requires what information?

  • The port number for communication

Q7. What is a “live” server?

  • A server that serves many requests over a long time

Q8. Sockets can be used to communicate between two Raspberry Pis.

  • True

Interfacing with the Raspberry Pi Week 03 Quiz Answers

Q1. What is a fair definition of an API?

  • A protocol for communicating between programs

Q2. What is a good reason to use an SDK rather than directly using an API?

  • An SDK is usually easier to use than an API

Q3. What is Pip?

  • A tool to install Python packages

Q4. In the Twython library, what function sends a tweet?

  • update_status()

Q5. In the Twython library, what function is used to detect tweets in a stream that contain a given string?

  • stream.statuses.filter()

Q6. What is the name of the callback function that is invoked when a tweet that contains a selected string is found in a stream?

  • on_success()

Q7. The TwythonStreamer class defines the callback function which is invoked when a tweet containing a given string is found in a stream.

  • True

Q8. An SDK is never absolutely necessary because the Socket library can always be used to perform network communication.

  • True

Interfacing with the Raspberry Pi Week 04 Quiz Answers

Q1. What is the name of the Python package used to control the Raspberry Pi camera module?

  • picamera

Q2. What function in the camera library is used to take a picture?

  • capture()

Q3. What is a “duty cycle”?

  • The fraction of time a square wave is high

Q4. Why is pulse width modulation useful?

  • It can be used to mimic an analog signal

Q5. How many input wires does a servo have?

  • 3

Q6. Why is it common to use an external power supply to drive a servo?

  • A servo needs more current than a microcontroller can provide

Q7. The CSI camera interface of the Raspberry Pi needs to be activated before using the camera module.

  • True

Q8. The speed of a servo motor is easily controlled.

  • False

<< Previous Quiz Answers

The Raspberry Pi Platform and Python Programming for the Raspberry Pi

Interfacing with the Raspberry Pi Coursera Course Review:

In our experience, we suggest you enroll in Interfacing with the Raspberry Pi Course and gain some new skills from Professionals completely free and we assure you will be worth it.

I hope this Interfacing with the Raspberry Pi course is available on Coursera for free, if you are stuck anywhere between quiz or graded assessment quiz, just visit Networking Funda to get Interfacing with the Raspberry Pi Quiz Answers.

Conclusion:

I hope this Interfacing with the Raspberry Pi Quiz Answers would be useful for you to learn something new from this Course. If it helped you then don’t forget to bookmark our site for more Coursera Quiz Answers.

This course is intended for audiences of all experiences who are interested in learning about Data Science in a business context; there are no prerequisite courses.

Keep Learning!

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

Leave a Reply

error: Content is protected !!