Coursera Answers

Introduction to Internet of Things Week 7 Quiz Answer | NEPTEL

Introduction to Internet of Things Week 7 Quiz Answer  NEPTEL

Introduction to Internet of Things 

Week 7 Quiz Answer | NEPTEL 

In this article i am gone to share NEPTEL Course Introduction to Internet of Things Unit 9 – Week 7 Assignment Quiz Answer with you..


Unit 9 – Week 7 Quiz Answer


Assignment 7

Question 1)
Protocol used for connection less socket programming:
  • UDP
  • TCP
  • Both
  • None
Question 2)
Which one is an SDN controller:
  • POX 
  • ONOS 
  • OpenDayLight
  • All of the above
Question 3)
Give the output of the following snippet:
Name= “Split-this-string” Name.split(“-“)
  • [“Split”, “this”, “string”] 
  • Split, this, string 
  • [“Split-“, “this-“, “string”] 
  • Split this string
Question 4)
Which of the following is not a function in matplotlib library of Python:
  • title()
  • display() 
  • show() 
  • subplot() 
Question 5)
Application program interface (API) used between application and control planes is known as:
  • Eastbound API 
  • Southbound API 
  • Northbound API 
  • Westbound API

Question 6)
The bind() function in Python socket programming is used to:
  • Send data to the socket 
  • Initiate the connection
  • Read data from the socket
  • Specify the port for service on the specified host 
Question 7)
Opening a file in append mode in Python:
  • Overrides the existing data in the file
  • Cannot write data to a file in append mode
  • Adds the new data to the end of the existing file
  • Adds the new data at the beginning of the existing file 
Question 8)
A typical socket program on raspberry pi using python:
  • Server performs the task/service requested by the client
  • Creates a two-way communication between two nodes in a network 
  • Both a and b
  • None of these
Question 9)
In Python based socket programming, which of these is/are represent a socket family?
  • AF_UNIX
  • AF_INET
  • Both a and b
  • None of these
Question 10)
n Python based socket programming, which of these is/are represent a socket type?
  • AF_INET
  • AF_UNIX
  • SOCK_STREAM 
  • SOCK_DATA
Question 11)
Arrange the following events sequentially (starting from the first step to the last) for sending data from client to server using sockets and saving it?

A. Create a client and server 

B. Establish connection between the two 

C. Send data from the client to the server 

D. Save the data in a file

  • A-B-C-D
  • A-C-D-B 
  • C-B-D-A
  • None of the sequences are true
Question 12)
The ion() function in matplotlib plotting:
  • Adds lines to the plot
  • provides title to the plot
  • makes subplots in the plot area
  • turns on interactive plot mode
Question 13)
The following are the limitations of our current traditional networks:
  • Centralized control.
  • Switch configuration required according to the installed operating system (OS).
  • Vendor-specific architecture of switches limits dynamic configuration according to application-specific requirements.
  • All of the above
Question 14)
The basic SDN concept involves:
  • Separate control logic from hardware switches 
  • Define the control logic in a centralized manner 
  • Control the entire network including individual switches 
  • All of the above
Question 15)
Control message from a switch to controller in SDN is termed as:
  • Control message
  • Data message
  • Flow-rule message
  • PACKET-IN message