Sunday, 10 March 2019

INTRODUCTION TO INTERNET OF THINGS: Assignment 7



1. Protocol used for connection less socket programming:
 a. TCP
 b. UDP
 c. Both
 d. None
Ans : b

2. Which one is an SDN controller:
 a. POX
 b. OpenDayLight
 c. ONOS
 d. All of the above
Ans: d

3. Give the output of the following snippet:
                        Name= “Split-this-string”
                        Name.split(“-”)
 a. [“Split”, “this”, “string”]
 b. Split, this, string
 c. [“Split-“, “this-“, “string”]
 d. Split this string
Ans: a

4. Which of the following is not a function in matplotlib library of Python:
 a. display()
 b. show()
 c. subplot()
 d. title()
Ans: a

5. Application program interface (API) used between application and control planes is known as:
 a. Northbound API
 b. Eastbound API
 c. Southbound API
 d. Westbound API
Ans: a
6. The bind() function in Python socket programming 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
Ans: a
7. Opening a file in append mode in Python:
 a. Overrides the existing data in the file
 b. Adds the new data to the end of the existing file
 c. Adds the new data at the beginning of the existing file
 d. Cannot write data to a file in append mode
Ans: b
8. A typical socket program on raspberry pi using python:
 a. Creates a two-way communication between two nodes in a network
 b. Server performs the task/service requested by the client
 c. Both a and b
 d. None of these
Ans: c

9. In Python based socket programming, which of these is/are represent a socket family?
 a. AF_UNIX
 b. AF_INET
 c. Both a and b
 d. None of these
Ans: c

10. In Python based socket programming, which of these is/are represent a socket type?
 a. AF_UNIX
 b. AF_INET
 c. SOCK_STREAM
 d. SOCK_DATA
Ans: c

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. A-B-C-D
 b. A-C-D-B
 c. C-B-D-A
 d. None of the sequences are true
Ans: a

12. The ion() function in matplotlib plotting:
 a. Adds lines to the plot
 b. makes subplots in the plot area
 c. provides title to the plot
 d. turns on interactive plot mode
Ans: d

13. The following are the limitations of our current traditional networks:
 a. Vendor-specific architecture of switches limits dynamic configuration according to application-specific requirements.
 b. Switch configuration required according to the installed operating system (OS).
 c. Centralized control.
 d. All of the above
Ans: d
14. The basic SDN concept involves:
 a. Separate control logic from hardware switches
 b. Define the control logic in a centralized manner
 c. Control the entire network including individual switches
 d. All of the above
Ans: d

15. Control message from a switch to controller in SDN is termed as:
 a. Flow-rule message
 b. PACKET-IN message
 c. Control message
 d. Data message
Ans: b

20 comments:

  1. where is the solution of assignment number 6?

    ReplyDelete
    Replies
    1. Answers published, forgot in overlook. Sorry for delay. Hope you visit again. Thank you.

      Delete
  2. Sir pls send solution for assignment 6

    ReplyDelete
    Replies
    1. Answers published, forgot in overlook. Sorry for delay. Hope you visit again. Thank you.

      Delete
  3. Replies
    1. Answers published, forgot in overlook. Sorry for delay. Hope you visit again. Thank you.

      Delete
  4. Assignment 6 plz

    ReplyDelete
    Replies
    1. Answers published, forgot in overlook. Sorry for delay. Hope you visit again. Thank you.

      Delete
  5. please help us for preparing Iot Nptel exams- give some dumps question

    ReplyDelete
  6. Ans of Question 1 should be b (only UDP).

    ReplyDelete
  7. SEND SOLUTION OF WEEK 8 ASSIGNMENT ON THE TOPIC 'INTRODUCTION TO INTERNET OF THINGS'

    ReplyDelete
  8. Thank you for sending solution for Assignment 7 Sir. Kindly send the solution for Assignment 8 Plz....

    ReplyDelete
  9. Kindly send Assignment 8 solution for IOT sir. If you are having dump questions for IOT kindly share for preparing NPTEL exams.

    ReplyDelete
  10. sir antenna assign for 7 solution?

    ReplyDelete
  11. IoT assignment 8 answers plz

    ReplyDelete
  12. Here for how to connect Epson wireless printer to Wifi? Solution for wireless printer on your WLAN network call Epson support number +1-800-436-0509 toll free, Epson Wireless Printer Setup

    How to connect Epson wireless printer to Wifi

    ReplyDelete
  13. wow great post thank you for sharing this post I am very happy to be here and read this information is make my day
    rarbg mirror proxy
    extratorrent mirror proxy
    limetorrents mirror proxy
    torrent vpn free

    ReplyDelete