1. d={1:'item','k':2} data type in python represents:
a. Dictionary
b. Array
c. String
d. List
Ans: a
2. The output of the following code snippet is:
from math import pi
print (pi)
a. 3.14
b. 2.73
c. pi
d. None of these
Ans: a
3. The following python snippet does the following task:
file=open('data.txt','r')
a. Opens a file (data.txt) in write mode.
b. Opens a file (data.txt) in read mode.
c. Opens a file (data.txt) in append mode.
d. None of these
Ans: b
4. The Raspberry Pi3 has how many GPIO pins?
a. 20
b. 30
c. 40
d. 50
Ans: c
5. The following python snippet does the following task:
file=open('data.txt','r+')
a. Opens a file (data.txt) in write mode.
b. Opens a file (data.txt) in read mode.
c. Opens a file (data.txt) in append mode.
d. Both a and b.
Ans:d
6. The raspberry pi zero has the following core specification associated with it?
a. ATMEGA32
b. PIC16
c. ARM-11
d. Quad Cortex A53
Ans: c
7. The command raspistill-o image.jpg on a Raspberry Pi terminal:
a. Captures an image.
b. Stores an image from any camera.
c. Reads an image.
d. Captures and stores an image using the raspberry pi camera.
Ans: d
8. What are the types of GPIO pin modes in Raspberry Pi 2/3?
a. Board
b. BCM
c. Both a and b
d. None of these
Ans: c
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)
a. Prints 1 on the console after 5 seconds.
b. Prints 5 on the console after 5 milliseconds.
c. Prints 1 on the console after 5 seconds.
d. Prints 5 on the console after 1 second.
Ans: c
10. Which one is correct for the nested controlling statement in python?
a. elseif
b. elif
c. ifwhile
d. None
Ans: b
11. Which of the following is mutable object in python?
a. Tuple
b. Bool
c. Int
d. List
Ans: d
12. Internet of Things refers to:
a. Interconnection of devices in a network.
b. Exchange of data between devices in a network.
c. An ecosystem of devices, accessible through internet.
d. All of the above.
Ans: d
13. What is the maximum peripheral current draw allowed in Raspberry Pi 3?
a. 1200mA
b. 700mA
c. 500mA
d. 100mA
Ans: a
14. The Raspberry Pi3 has:
a. 400MHz video core IV
b. 250MHz video core IV
c. 100MHZ video core IV
d. No video core
Ans: a
15. A Raspberry Pi has:
a. An inbuilt OS on the board itself.
b. An OS on a memory card.
c. Both a and b.
d. None of these.
Ans: b
a. Dictionary
b. Array
c. String
d. List
Ans: a
2. The output of the following code snippet is:
from math import pi
print (pi)
a. 3.14
b. 2.73
c. pi
d. None of these
Ans: a
3. The following python snippet does the following task:
file=open('data.txt','r')
a. Opens a file (data.txt) in write mode.
b. Opens a file (data.txt) in read mode.
c. Opens a file (data.txt) in append mode.
d. None of these
Ans: b
4. The Raspberry Pi3 has how many GPIO pins?
a. 20
b. 30
c. 40
d. 50
Ans: c
5. The following python snippet does the following task:
file=open('data.txt','r+')
a. Opens a file (data.txt) in write mode.
b. Opens a file (data.txt) in read mode.
c. Opens a file (data.txt) in append mode.
d. Both a and b.
Ans:d
6. The raspberry pi zero has the following core specification associated with it?
a. ATMEGA32
b. PIC16
c. ARM-11
d. Quad Cortex A53
Ans: c
7. The command raspistill-o image.jpg on a Raspberry Pi terminal:
a. Captures an image.
b. Stores an image from any camera.
c. Reads an image.
d. Captures and stores an image using the raspberry pi camera.
Ans: d
8. What are the types of GPIO pin modes in Raspberry Pi 2/3?
a. Board
b. BCM
c. Both a and b
d. None of these
Ans: c
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)
a. Prints 1 on the console after 5 seconds.
b. Prints 5 on the console after 5 milliseconds.
c. Prints 1 on the console after 5 seconds.
d. Prints 5 on the console after 1 second.
Ans: c
10. Which one is correct for the nested controlling statement in python?
a. elseif
b. elif
c. ifwhile
d. None
Ans: b
11. Which of the following is mutable object in python?
a. Tuple
b. Bool
c. Int
d. List
Ans: d
12. Internet of Things refers to:
a. Interconnection of devices in a network.
b. Exchange of data between devices in a network.
c. An ecosystem of devices, accessible through internet.
d. All of the above.
Ans: d
13. What is the maximum peripheral current draw allowed in Raspberry Pi 3?
a. 1200mA
b. 700mA
c. 500mA
d. 100mA
Ans: a
14. The Raspberry Pi3 has:
a. 400MHz video core IV
b. 250MHz video core IV
c. 100MHZ video core IV
d. No video core
Ans: a
15. A Raspberry Pi has:
a. An inbuilt OS on the board itself.
b. An OS on a memory card.
c. Both a and b.
d. None of these.
Ans: b
Digital electronics assignment 6 please post
ReplyDeletePlease post digital electronics assignment 6 answers
ReplyDeletePost only answer for digital assignment 6
ReplyDeleteplease post week 8 iot assignment asap!
ReplyDeletekindly post week 8 iot assignment
ReplyDeleteweek 8 iot assignment please
ReplyDeletePlease send Assignment 8 answers
ReplyDeleteSolution for Assignment 8 IOT please
ReplyDelete