0% found this document useful (0 votes)
155 views2 pages

IoT Basics: Python, SDN, and APIs

This document discusses an assignment on Internet of Things and Software Defined Networking (SDN). It contains 10 multiple choice questions that cover topics like Python methods for initiating client connections, the Bind() function, libraries for plotting in Python, slicing lists in Python, the decoupling of data and control planes in SDN, APIs used between planes in SDN, when switches send PACKET-IN messages, whether control overhead increases in SDN compared to traditional networks, advantages of SDN-based sensor networks, and what can be managed in SDN-based sensor networks.

Uploaded by

Uma Mahesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
155 views2 pages

IoT Basics: Python, SDN, and APIs

This document discusses an assignment on Internet of Things and Software Defined Networking (SDN). It contains 10 multiple choice questions that cover topics like Python methods for initiating client connections, the Bind() function, libraries for plotting in Python, slicing lists in Python, the decoupling of data and control planes in SDN, APIs used between planes in SDN, when switches send PACKET-IN messages, whether control overhead increases in SDN compared to traditional networks, advantages of SDN-based sensor networks, and what can be managed in SDN-based sensor networks.

Uploaded by

Uma Mahesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Introduction to Internet of Things

Assignment 7

1. A Python method that initiates a request/server connection from the client :


a. Listen()
b. Connect()
c. Bind()
d. Send()

2. Bind() function in Python is used to:


a. Specify the port for service on the specified host
b. Read data from the socket
c. Send data to the socket
d. Initiate the connection

3. Which of the following libraries is generally used for plotting in Python?


a. Pythonplot
b. Matplotlib
c. Plotpython
d. Numpy

4. Give the value of A for the following snippet:


X=[1,2, 3, 4, 5, 6]
A=X[1:3]
print A
a. [1 ,3]
b. [1, 2 ,3]
c. [2, 3]
d. [2, 3, 4]

5. SDN decouples ________________ from the traditional devices:


a. Data Plane and Control Plane
b. Data Plane and Application Plane
c. Control Plane and Application Plane
d. None of the above

6. Application program interface (API) used between data and control planes is known as:
a. Northbound API
b. Eastbound API
c. Southbound API
d. Westbound API

7. When does a switch send PAKCET-IN message to a controller:


a. Flow-rule associated with a received flow does not exist
b. All the time
c. After deleting a flow-rule
d. None of the above

8. In SDN, does the control overhead increase compared to the traditional network:
a. Depends on application and network topology
b. Yes, always
c. Not at all
d. Depends on OpenFlow protocol

9. One of the advantages of SDN-based sensor network is:


a. Real-time programmability
b. No need to replace any node
c. Both a & b
d. None of the above

10. In SDN-based sensor network, one can manage:


a. Sensor nodes
b. Sensing delay
c. Network connectivity
d. All of the above

You might also like