Coursera Answers

Introduction to Internet of Things Week 6 Quiz Answer | NEPTEL

Introduction to Internet of Things Week 6 Quiz Answer | NEPTEL

Introduction to Internet of Things 

Week 6 Quiz Answer | NEPTEL 

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


Unit 8 – Week 6 Quiz Answer


Assignment 6

Question 1)
d= {1:’item’,’K’:2} data type in python represents:
  • Dictionary 
  • Array 
  • String 
  • List
Question 2)
The output of the following code snippet is: from math import pi print (pi)
  • 3.14 
  • 2.73 
  • pi 
  • None of these
Question 3)
The following python snippet does the following task: file=open(‘data.txt’, ‘)
  • Opens a file (data.txt) in read mode 
  • Opens a file (data.txt) in write mode 
  • Opens a file (data.txt) in append mode 
  • None of these
Question 4)
The Raspberry Pi3 has how many GPIO pins?
  • 20 
  • 30 
  • 40 
  • 50
Question 5)
The following python snippet does the following task: file=open(‘data.txt”, “T+’)
  • Opens a file (data.txt) in read mode
  • Opens a file (data.txt) in write mode 
  • Opens a file (data.txt) in append mode 
  • Both a and b
Question 6)
The raspberry pi zero has the following core specification associated with it?
  • PIC16 
  • ARM-11
  • ATMEGA32  
  • Quad Cortex A53
Question 7)
The command raspistill -o image.jpg on a Raspberry Pi terminal:
  • Captures an image 
  • Reads an image
  • Stores an image from any camera 
  • Captures and stores an image using the raspberry pi camera
Question 8)
What are the types of GPIO pin modes in Raspberry pi 2/3?
  • BCM.
  • Board 
  • Both a and b. 
  • None of these
Question 9) 
What is the functionality of the following python code?
import time
i = 0; 
def function_a(k):
i+=k 
time.sleep(5) 
print i

function_a(1)
  • Prints 1 on the console after 5 seconds 
  • Prints 5 on the console after 1 second.
  • Prints 1 on the console after 5 seconds 
  • Prints 5 on the console after 5 milliseconds 
Question 10)
Which one is correct for the nested controlling statement in python?
  • elseif 
  • elif 
  • ifwhile 
  • none
Question 11)
Which of the following is mutable object in python?
  • Bool
  • Int
  • List
  • Tuple
Question 12)
Internet of Things refers to:
  • Interconnection of devices in a network
  • Exchange of data between devices in a network 
  • An ecosystem of devices, accessible through internet 
  • All of the above
Question 13)
What is the maximum peripheral current draw allowed in Raspberry pi 3?
  • 500mA
  • 100mA
  • 1200mA
  • 700mA
Question 14)
The raspberry pi 3 has :
  • 100 MHz video core IV
  • 400MHz video core IV 
  • 250 MHz video core IV 
  • No video core
Question 15)
A raspberry pi has:
  • An OS on a memory card.
  • An inbuilt OS on the board itself.
  • Both a and b 
  • None of these