0% found this document useful (0 votes)
61 views2 pages

IoT Assignment Answers

Uploaded by

workwithraashi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views2 pages

IoT Assignment Answers

Uploaded by

workwithraashi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

IoT Assignment Answers

Short Questions
Define the Internet of Things (IoT) in simple terms.
• IoT is a network of physical objects (things) connected to the internet.
• These devices can collect, share, and process data.
• Example: Smartwatch sending health data to your phone.
What is the role of sensors in IoT? Provide one example.
• Sensors collect real-world data (temperature, motion, light, etc.).
• They convert physical signals into digital data for IoT devices.
• Example: A temperature sensor in a smart thermostat.
Differentiate between Microcontroller Unit (MCU) and Microprocessor Unit (MPU).
• MCU: Small chip with CPU, memory, and input/output on a single board. Used for simple,
specific tasks (e.g., washing machines).
• MPU: More powerful, separate CPU and memory. Used for complex tasks and OS (e.g.,
laptops, smartphones).

What is the purpose of the Network Layer in IoT architecture?


• Provides communication between devices and servers.
• Handles data transmission using IP, TCP/UDP.
• Ensures secure, reliable data delivery over the internet.
What is wireless communication? Give one example.
• Communication without physical wires using radio waves.
• Example: Wi-Fi connecting a laptop to the internet.
Compare Bluetooth and Wi-Fi based on range.
• Bluetooth: Short range (10–100 meters).
• Wi-Fi: Longer range (up to 100–300 meters).
What is wired communication? Give one advantage.
• Communication through cables like Ethernet or USB.
• Advantage: More reliable and faster with less interference.
Expand MQTT and state its communication model.
• MQTT → Message Queuing Telemetry Transport.
• Works on Publish-Subscribe model: Publisher sends data, Subscriber receives data, Broker
manages the communication.

Mention one application each of Bluetooth and ZigBee.


• Bluetooth: Wireless headphones.
• ZigBee: Smart home lighting systems.
What is the key function of an IoT Gateway?
• Connects IoT devices to the internet.
• Translates different communication protocols.
• Provides data filtering, security, and device management.

Long Questions
Explain the IoT architecture with its four layers.
• Perception Layer (Sensing): Devices like sensors, RFID, and cameras, collects real-world data.
• Network Layer (Transmission): Transfers data through Wi-Fi, Bluetooth, ZigBee, 4G/5G and
ensures secure communication.
• Middleware Layer (Processing): Stores and processes collected data using cloud computing
and databases.
• Application Layer (Services): Provides services to users, e.g., Smart homes, healthcare,
transport.

Draw and explain the packet structure of MQTT.


• Fixed Header: Control information (message type, flags).
• Variable Header: Topic name, packet ID.
• Payload: Actual data being sent.
• Example: A sensor publishing temperature readings uses this structure to send data to the
broker.

Explain the packet structure of CoAP with a neat diagram.


• Header: 4 bytes (version, message type, token length, code, message ID).
• Token: Matches requests with responses.
• Options: Extra information (URI, content format).
• Payload: Application data (e.g., sensor values).
• Designed for low-power devices in IoT, uses UDP instead of TCP.
Describe the working and structure of IoT protocols (XMPP and OSGi).
• XMPP: XML-based protocol for messaging, used in IoT for real-time communication. Example:
Chat applications, alerts.
• OSGi: Java-based framework for modular applications, allows bundles to be
installed/updated/removed without restart.
• Important in IoT gateways for managing services.
Explain how wired communication works with reference to Ethernet.
• Ethernet uses cables (Cat5, Cat6) for data transfer.
• Devices connect through switches and routers.
• Works using packets containing source, destination, and data.
• Advantages: High speed (up to 10 Gbps), secure, and stable.
Describe the OSGi framework and its role in IoT gateways.
• OSGi Framework: Platform for modular Java applications.
• Divides system into bundles (independent modules).
• Bundles can run, update, or stop independently.
• Role in IoT Gateways: Manages communication between IoT devices and cloud.
• Provides flexibility (install new services without reboot).
• Ensures smooth integration of multiple IoT protocols.

You might also like