Introduction to Internet of Things Week 6 Quiz Answer
In this article i am gone to share NPTEL Course Introduction to Internet of Thingsย Unit 8 – Week 6 Assignment Quiz Answer with you..
Introduction to Internet of Things Week 6 Quiz Answer
Also visit: Google Cloud Computing Foundations Week 5 Quiz Answer
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