wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

IoT and Python Quiz

Total questions: 30

Worksheet time: 15mins

Name
Class
Date
1.

IoT mainly connects which type of entities?

a)

Only computers

b)

Physical objects

c)

Web servers

d)

Only humans

2.

Which protocol is widely used for IoT lightweight messaging?

a)

SMTP

b)

MQTT

c)

FTP

d)

SNMP

3.

The “things” in IoT are typically:

a)

Books

b)

Embedded devices with sensors

c)

Desktops only

d)

Social media applications

4.

Which network type is commonly used in smart homes?

a)

GSM

b)

ZigBee

c)

SONET

d)

DSL

5.

RFID in IoT is mainly used for:

a)

Wireless charging

b)

Object identification

c)

Video streaming

d)

Large data storage

6.

In IoT architecture, edge devices perform:

a)

Cloud computing

b)

Data collection and preliminary processing

c)

Billing operations

d)

Web hosting

7.

The full form of LPWAN is:

a)

Low Power Wide Area Network

b)

Long Performance Wireless Area Network

c)

Limited Public WAN

d)

Local Private WAN

8.

CoAP protocol works over:

a)

TCP

b)

UDP

c)

FTP

d)

HTTP2

9.

Smart watches are an example of:

a)

Industrial IoT

b)

Consumer IoT

c)

Agricultural IoT

d)

Space IoT

10.

Which layer handles device connectivity in IoT architecture?

a)

Application Layer

b)

Perception Layer

c)

Business Layer

d)

Firewall Layer

11.

Python is considered as:

a)

Low-level language

b)

High-level language

c)

Assembly language

d)

Machine language

12.

Raspberry Pi commonly uses:

a)

Windows 10

b)

Linux-based OS

c)

Android OS only

d)

None

13.

Which library is used for GPIO control in Python?

a)

numpy

b)

RPi.GPIO

c)

tkinter

d)

pandas

14.

A Python file extension is:

a)

.pt

b)

.py

c)

.pyt

d)

.exe

15.

Which data type is immutable?

a)

List

b)

Dictionary

c)

Tuple

d)

Set

16.

To install IoT libraries in Python, we use:

a)

pip

b)

exe

c)

apt

d)

notepad

17.

MQTT support in Python is provided by:

a)

paho-mqtt

b)

csv

c)

flask-login

d)

pillow

18.

Which function is used to output prints?

a)

print()

b)

display()

c)

show()

d)

msg()

19.

Python supports:

a)

Object-oriented programming

b)

Procedural programming

c)

Functional programming

d)

All of the above

20.

The operator // performs:

a)

Square root

b)

Floor division

c)

Remainder

d)

Exponential

21.

Hadoop is mainly used for:

a)

Real-time processing

b)

Big Data storage & batch processing

c)

SMS messaging

d)

Email management

22.

HDFS stands for:

a)

Hadoop Distributed File System

b)

High Data File Support

c)

Hard Disk File Storage

d)

None

23.

MapReduce consists of ____ phases.

a)

1

b)

2

c)

4

d)

5

24.

The name node maintains:

a)

Data blocks

b)

Metadata

c)

Network routing

d)

Emails

25.

Data locality means:

a)

Move computation to data

b)

Move data to computation

c)

Move files to client

d)

Backup data

26.

NETCONF is defined under:

a)

RFC 647 for IoT

b)

RFC 6241 for network config

c)

RFC 791 for IP

d)

None

27.

NETCONF uses which transport protocol primarily?

a)

FTP

b)

SSH

c)

SMTP

d)

IMAP

28.

NETCONF data encoding format:

a)

XML

b)

CSV

c)

SQL

d)

Docx

29.

YANG in NETCONF is used for:

a)

Security

b)

Data modeling

c)

Image transfer

d)

Debugging

30.

RESTCONF is:

a)

Replacement of IPv6

b)

REST-based alternative to NETCONF

c)

Wireless protocol

d)

Database driver