Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.
Internet of Things important questions with answers
Each answer starts with the short answer. Then come the points to write, a diagram and an exam tip. The questions under each topic are copied from the RGPV papers.
Q1. CoAP protocol: operations, message types, request-response model, use on constrained networks
Asked 6 times in 2022, 2023, 2024, 2025, 2026 · Unit 4
From the papers
“How COAP can be used between devices on the same constrained network?” (May 2022, Dec 2024, May 2024, Jun 2025)
“Describe CoAP message types and explain the CoAP request-response model with suitable examples.” (May 2026)
“Explain the following: CoAP Request-Response model” (Jun 2025)
“Write about the basic operations available in CoAP protocol.” (May 2023)
The short answer
CoAP (Constrained Application Protocol) is a light web transfer protocol for small devices on low power, lossy networks. It works like a small HTTP over UDP: a client sends GET, POST, PUT or DELETE to a resource on a device and gets a response code back.
Write these points
Why CoAP was made
HTTP runs over TCP and has long text headers. A sensor with 10 KB of RAM and a coin battery cannot afford that.
CoAP has a fixed 4 byte header and runs over UDP (port 5683, or 5684 with DTLS security).
It keeps the REST style of the web, so a CoAP device can be reached through an HTTP proxy.
Basic operations (methods)
Method
What it does
Example
GET
Reads a resource
GET /temp
POST
Creates or processes data
POST /log
PUT
Updates a resource
PUT /led with "on"
DELETE
Removes a resource
DELETE /rule/3
The four message types
CON (confirmable): must be acknowledged. If no ACK comes, the sender sends it again after a timeout that doubles each time.
NON (non-confirmable): no ACK. Used for repeated readings where one lost value does not matter.
ACK (acknowledgement): confirms a CON message. It can carry the reply itself.
RST (reset): says that a message arrived but could not be handled.
Request and response model
Each message has a Message ID (to match ACKs and drop duplicates) and a token (to match a reply to its request).
Piggybacked response: the server puts the reply inside the ACK of a CON request.
Separate response: if the server needs time, it sends an empty ACK first. Later it sends the reply as a new CON message.
Response codes look like HTTP ones: 2.05 Content, 2.04 Changed, 4.04 Not Found.
Use between devices on the same constrained network
Every device can be both a client and a server, so two nodes talk directly without a central broker.
UDP has no connection setup, so a short exchange costs only two small packets.
Multicast discovery: a node can ask all nodes for /.well-known/core to learn what resources they have.
The observe option lets a node subscribe to a resource and get a message each time it changes, so it does not poll.
CoAP fits under 6LoWPAN frames on IEEE 802.15.4 radios, which is why it suits these networks.
One CoAP exchange.
The phone app sends: CON, GET /temp, Message ID 0x7d34, token 0x71.
The node reads its sensor and sends: ACK, 2.05 Content, Message ID 0x7d34, token 0x71, payload "22.5 C".
The same Message ID ties the ACK to the request. The token ties the reply to the request.
If the ACK is lost, the app sends the same CON again with the same Message ID. The node sees the duplicate and repeats its reply.
Real-life example
Think of a school bell system. The principal's office asks the bell in block B, "What time is set?" and the bell answers at once in the same short call. For the 10 o'clock bell the office says "Ring now" and does not wait for any reply. The first call is a CON request with a piggybacked reply. The second is a NON message.
Figure: CoAP request and response, CON with a piggybacked ACK and a NON exchange
Same or opposite: CoAP and HTTP
Point
CoAP
HTTP
Same or opposite
Transport
UDP
TCP
Opposite
Header
4 byte binary
Long text
Opposite
Style
REST, methods GET, PUT, POST, DELETE
REST, same methods
Same
Made for
Small devices, lossy links
Computers, web servers
Opposite
Server push
Observe option
Not built in
Opposite
Exam tip. Start with the full form and "REST over UDP". Draw the CON, ACK sequence with a Message ID on both arrows. For the constrained network question, write the three reasons: no connection setup, small header and direct device to device talk with observe.
Q2. RFID: principles, features, working and applications
Asked 6 times in 2022, 2023, 2024, 2025, 2026 · Unit 3
From the papers
“Analyze RFID features, working principles and applications with suitable examples.” (May 2026)
“Explain the concepts and terminology of RFID application.” (May 2024)
“How RFID and the Internet of Things implemented smart things?” (Dec 2024)
“Explain principles of RFID. How are RFID and the Internet of Things linked?” (May 2022)
The short answer
RFID (Radio Frequency Identification) identifies an object by reading a small tag on it with radio waves. The tag answers the reader with its unique ID, with no line of sight or touch needed.
Write these points
Parts of an RFID system
Tag (transponder): a microchip that stores the ID, joined to a coil or antenna.
Reader (interrogator): sends radio waves through its antenna and receives the tag's reply.
Middleware and host: filters repeated reads and passes events to a database or cloud app.
Working principle
The reader sends a radio signal.
A passive tag takes energy from this signal through its coil (inductive coupling at LF and HF, backscatter at UHF).
The powered chip sends back its ID by changing the signal it reflects.
The reader decodes the ID and the middleware sends it to the application.
Types and features
Type
Power
Range
Example
Passive
From the reader
Few cm to few m
Library book, FASTag
Semi-passive
Battery for chip only
Tens of metres
Cold chain sensor tag
Active
Own battery, own transmitter
Up to about 100 m
Container tracking
Frequency bands: LF 125 to 134 kHz (about 10 cm, animal tags). HF 13.56 MHz (up to about 1 m, smart cards, NFC). UHF 860 to 960 MHz (several metres, supply chain).
No line of sight is needed. Many tags can be read at once (anti-collision).
Tags can be read only, write once or read and write.
Tags work through dust, paint and packing, unlike barcodes.
How RFID and IoT are linked
RFID gives every object an identity. IoT needs exactly that: a "thing" must be known before its data means anything.
A reader joined to the Internet turns a plain object into a smart thing that reports where it is.
1. The car reaches the toll lane. The reader above the lane sends a UHF signal.
2. The passive tag on the windscreen wakes up on this energy and replies with its tag ID.
3. The middleware looks up the ID and finds the linked bank account.
4. The toll is deducted, the barrier opens and an SMS goes to the owner. No cash, no stopping.
Real-life example
In a college library, each book has a thin sticker inside the cover. At the counter the librarian places a pile of five books on a pad and all five are issued in one go. At the gate, a book taken out without issue makes the gate beep. The sticker is the tag, the pad and gate are readers and the library software is the host.
Figure: an RFID system from tag to cloud
Same or opposite: RFID and barcode
Point
RFID
Barcode
Same or opposite
Line of sight
Not needed
Needed
Opposite
Reads at once
Many tags
One code
Opposite
Data
Can be rewritten
Fixed when printed
Opposite
Purpose
Identify an object
Identify an object
Same
Cost per label
Higher
Very low
Opposite
Exam tip. Draw the tag, reader, middleware and cloud with the two arrows between tag and reader. Always add the passive, semi-passive and active table. Close with the IoT link line: RFID gives each thing an identity.
Q3. Sensors: types, features, comparison and sensor node components
Asked 5 times in 2022, 2023, 2024, 2025, 2026 · Unit 2
From the papers
“Explain the basic components of a sensor node and differentiate between sensor node and actuator node.” (May 2026)
“Explain the following: Sensor features” (Jun 2025)
“Compare the common commercially available sensors used for IoT-based sensing applications.” (May 2024)
“What are the different types of Sensors used in IoT Network?” (May 2023)
The short answer
A sensor is a device that detects a physical quantity such as heat, light, motion or gas and turns it into an electrical signal. Sensors are the inputs of every IoT system.
Write these points
Building blocks of IoT
Sensors and actuators, a processing unit (microcontroller or board), connectivity (Wi-Fi, ZigBee, cellular), a gateway, the cloud and the user application.
Features of a good sensor
It is sensitive to the quantity it measures.
It is not sensitive to other quantities (a temperature sensor should not react to light).
It does not change the quantity it measures.
Resolution: the smallest change it can detect.
Also: range, accuracy, response time, power use and size.
Classes of sensors
Class
Meaning
Example
Analog
Continuous voltage output
LM35 temperature, LDR
Digital
Gives 0 and 1 or a digital value
DHT11, PIR output
Scalar
Measures size only
Temperature, pressure
Vector
Measures size and direction
Accelerometer, gyroscope
Common sensors used in IoT (comparison)
Sensor
Measures
Output
Use
LM35
Temperature
Analog, 10 mV per C
Room monitoring
DHT11
Temperature, humidity
Digital
Weather station
HC-SR04
Distance (ultrasonic)
Digital pulse
Parking, water level
PIR
Human motion (infrared)
Digital
Security, lights
MQ-2
Smoke and LPG
Analog
Gas leak alarm
Components of a sensor node
Sensing unit: the sensor and an ADC that turns its voltage into numbers.
Processing unit: a microcontroller with memory that runs the program.
Transceiver: a radio that sends and receives data.
Power unit: usually a battery, sometimes with a solar cell.
A sensor node reads the world and sends data. An actuator node receives commands and acts on the world through a motor, relay or valve.
Resolution of an LM35 on a 10 bit ADC.
A 10 bit ADC with a 5 V reference splits 5 V into 2^10 = 1024 steps.
One step = 5 / 1024 = 0.00488 V = 4.88 mV.
The LM35 gives 10 mV for each degree, so one step = 4.88 / 10 = 0.488 C.
So the system cannot see a change smaller than about half a degree.
Real-life example
In a mobile phone, the screen turns off when you hold it to your ear. A proximity sensor sees your face. The light sensor dims the screen in a dark room. The accelerometer turns the picture when you rotate the phone. Each sensor turns one physical change into a signal the phone's processor can use.
Figure: the four units of a sensor node
Same or opposite: sensor node and actuator node
Point
Sensor node
Actuator node
Same or opposite
Job
Reads the environment
Changes the environment
Opposite
Data direction
Sends data out
Receives commands
Opposite
Has processor and radio
Yes
Yes
Same
Example
Soil moisture node
Water pump node
Opposite
Exam tip. Draw the four unit block diagram of a sensor node. For the comparison question, a table with five sensors scores better than paragraphs. Write the class table (analog, digital, scalar, vector) because it is asked as a short note too.
“Which kinds of vulnerability have been observed in IoT. Which attacks can exploit the vulnerabilities in Application/Service layer?” (May 2022, May 2024)
“Explain attacks in IoT systems and examine the role of security monitoring and threat prevention mechanisms in IoT environments.” (May 2026)
“Discuss the security in IoT. Explain various attacks on IoT systems.” (Dec 2024)
“Explain different types of attacks in IoT systems.” (May 2023)
The short answer
An IoT attack is any action that misuses a weakness in an IoT device, network or application to steal data, take control or stop the service. IoT devices are easy targets because they are many, cheap, always on and often left with default settings.
Write these points
Vulnerabilities seen in IoT
Weak, guessable or default passwords that are never changed.
No firmware updates, or updates that are not signed.
Data sent without encryption.
Insecure web, cloud or mobile interfaces.
Open ports and services that are not needed.
Poor physical security: a device can be opened and read.
Attacks by layer
Layer
Attacks
Physical (device)
Node tampering, node capture, fake node, side channel
Network
Eavesdropping, DoS and DDoS, man in the middle, Sybil, sinkhole, replay
Application and service
Malware, code injection, data theft, access control attacks, phishing
Attacks that use application and service layer weaknesses
Malicious code injection: bad input makes a device run the attacker's code.
Data theft and sniffing: an insecure API leaks user data.
Access control attack: a weak login lets an outsider operate the device.
Reprogramming attack: fake firmware is pushed to the device.
Botnet: devices are taken over and used together to flood a target.
Security monitoring and threat prevention
Change default passwords, use strong keys and two factor login on apps.
Encrypt traffic with TLS or DTLS and sign every firmware update.
Keep IoT devices on a separate network segment.
Use an intrusion detection system to watch for unusual traffic.
Log events and patch devices on time.
A botnet attack, before and after.
Before: many home cameras are online with the default login admin/admin.
The attacker's program scans the Internet and logs in to each camera with that password.
Each camera now runs the attacker's code and waits for orders.
On one command, lakhs of cameras send traffic to one website at the same time. The site goes down (DDoS). The Mirai botnet of 2016 worked this way.
After the fix: unique passwords per device and closed remote login ports stop the takeover at the first step.
Real-life example
A housing society has a guard at the gate, but the back gate has a lock that opens with the code 0000. A thief does not break the main gate. He walks in through the back. IoT attackers do the same: they skip the strong cloud server and enter through a cheap camera with a default password.
Figure: IoT attacks by layer
Same or opposite: active and passive attacks
Point
Active attack
Passive attack
Same or opposite
What the attacker does
Changes or blocks data
Only listens
Opposite
Example
DoS, injection
Eavesdropping, traffic analysis
Opposite
Easy to detect
Yes, mostly
No
Opposite
Target
IoT data and service
IoT data and service
Same
Exam tip. Write a layer table of attacks first. It answers the question in five lines. Then explain three attacks fully. For the vulnerability part, list default passwords and no updates first because examiners look for them.
Q5. Security in IoT: need, security models, privacy issues and concerns
Asked 5 times in 2022, 2023, 2024, 2025 · Unit 5
From the papers
“Why security required in IoT? Explain in detail various security model in IoT?” (May 2024, Jun 2025)
“Discuss the security in IoT. Explain various attacks on IoT systems.” (Dec 2024)
“Discuss security and privacy issues in IoT-systems.” (May 2023)
“Explain various security concerns related to IoT. Discuss in detail.” (May 2022)
The short answer
IoT security is the protection of IoT devices, networks and data from unauthorised access, change and loss. It is needed because IoT devices control real things: a door lock, an insulin pump or a factory valve.
Write these points
Why security is required in IoT
Devices hold personal data: videos, location, health readings.
Devices control the physical world, so an attack can cause harm, not just data loss.
Billions of devices with small memory cannot run heavy security software.
Devices stay in the field for years without updates.
One weak device can open the whole home or factory network.
Security goals (CIA and more)
Goal
Meaning
Tool
Confidentiality
Only allowed people read the data
Encryption (AES, TLS)
Integrity
Data is not changed on the way
Hash, MAC, digital signature
Availability
Service works when needed
Redundancy, DoS filters
Authentication
Each device and user is who it claims
Certificates, keys, passwords
Security models in IoT
Layered security model: each layer gets its own protection. Device layer: secure boot and tamper proofing. Network layer: encryption and firewalls. Cloud and application layer: access control and audit logs.
Security by design: security is planned from the first design step, not added later.
Zero trust: no device is trusted only because it is inside the network. Every request is checked.
Lightweight security: small ciphers and short keys (for example, elliptic curve keys) for small devices.
Privacy issues and concerns
Smart meters, watches and cameras show when you are home, what you do and where you go.
Data is often shared with third parties without clear consent.
Fixes: collect only needed data, anonymise it, store it encrypted and let users delete it.
Encryption in a smart lock, before and after.
Before: the phone sends the plain text command "OPEN" over Bluetooth. A nearby attacker records it and plays it back later. The door opens (replay attack).
After: each command is encrypted and carries a counter number. The lock rejects any command with an old counter, so the replayed copy fails.
Real-life example
A bank locker has three protections. A guard checks you at the entrance (authentication). The strong room hides what is inside (confidentiality). A register records every visit (integrity and audit). An IoT system needs the same three layers for each device, network and cloud server.
Figure: securing a device from start to end of life
Same or opposite: security and privacy
Point
Security
Privacy
Same or opposite
Protects
The system and data
The person's information
Opposite
Main threat
Hackers, malware
Misuse, over sharing
Opposite
Tools
Encryption, access control
Consent, anonymising
Opposite
Needs encryption
Yes
Yes
Same
Exam tip. Start with three reasons why IoT needs security. Then draw the CIA table and one security model. If privacy is asked, add the smart meter example. Many students skip the "why" part and lose its marks.
Q6. Actuators: types, comparison and selection characteristics
Asked 4 times in 2024, 2025, 2026 · Unit 2
From the papers
“Explain four common characteristics actuators used for selection.” (May 2024, Jun 2025)
“Explain the basic components of a sensor node and differentiate between sensor node and actuator node.” (May 2026)
“Explain the following: Pneumatic” (Jun 2025)
“Compare mechanical, soft and shape memory polymer based actuators.” (May 2024)
The short answer
An actuator is a device that turns an energy input (electric, fluid or heat) into motion or action on the physical world. Actuators are the outputs that let an IoT system act on what its sensors report.
Write these points
Role of actuators in IoT
They close the loop: sense, decide, act. A smart irrigation system reads soil moisture and then opens a valve.
Compressed air pushes a piston inside a cylinder to give straight line or rotary motion.
Clean, cheap and fast, but less precise than electric ones because air compresses.
Mechanical, soft and shape memory polymer actuators compared
Point
Mechanical
Soft
Shape memory polymer
Material
Metal parts, gears
Rubber, silicone
Polymer that remembers a shape
Moves by
Turning one motion into another
Bending under air or charge
Heat brings back the set shape
Force
High
Low
Low to medium
Safe near people
Less
Very
Fairly
Four characteristics used to select an actuator
Weight: a heavy actuator adds load, so lighter is better for drones and robots.
Power rating: the power it needs and the power it can deliver.
Torque to weight ratio: torque divided by weight. Higher means more strength for less mass.
Stiffness and compliance: stiff actuators hold position under load; compliant ones give way, which is safer near people.
Choosing a motor by torque to weight ratio.
Motor A gives 2.0 N m and weighs 0.5 kg. Ratio = 2.0 / 0.5 = 4.0 N m per kg.
Motor B gives 3.0 N m and weighs 1.0 kg. Ratio = 3.0 / 1.0 = 3.0 N m per kg.
For a drone arm, where weight matters most, choose motor A (higher ratio).
Real-life example
Think of a metro train door. A sensor sees that the train has stopped at the platform. The controller decides the doors may open. A pneumatic actuator pushes the doors apart with air pressure. Without the actuator, the system would know the train has stopped but could do nothing about it.
Figure: types of actuators
Same or opposite: sensor and actuator
Point
Sensor
Actuator
Same or opposite
Converts
Physical quantity to signal
Signal to physical action
Opposite
Place in loop
Input
Output
Opposite
Joined to a microcontroller
Yes
Yes
Same
Example
Temperature sensor
Fan motor
Opposite
Exam tip. Draw the type table with one example each. For the selection question, write exactly four characteristics with their names in bold: weight, power rating, torque to weight ratio, stiffness and compliance. A small numerical on the ratio impresses the examiner.
Q7. Cloud for IoT: service models, storage models, communication APIs and integration
Asked 4 times in 2023, 2024, 2025, 2026 · Unit 5
From the papers
“Can you give an example of a particularly difficult cloud IoT integration you have worked on and how you overcame it?” (Jun 2025)
“How cloud useful for IoT? Explain cloud communication APIs.” (Dec 2024)
“Describe different Cloud Service Models.” (May 2023)
“Short note (any two): Cloud Storage Models, Vulnerability Analysis and Smart Home Applications” (May 2026)
The short answer
Cloud for IoT means using cloud servers to store, process and share the data that IoT devices produce and to control the devices from anywhere. Small devices cannot keep years of data or run heavy analytics, so the cloud does it for them.
Write these points
Why cloud is useful for IoT
Storage that grows with the number of devices.
Processing and analytics without buying servers.
Access from anywhere through apps and dashboards.
Device management: registration, updates and monitoring of thousands of devices.
Pay as you use.
Cloud service models
Model
Provider gives
You manage
IoT example
IaaS
Servers, storage, network
OS and apps
VM running your MQTT broker
PaaS
Platform and tools
Your app and data
AWS IoT Core, Azure IoT Hub
SaaS
Ready application
Only use it
Ready smart home dashboard
Cloud storage models
Object storage: files and readings stored as objects with an ID (Amazon S3). Cheap and large.
Databases: relational for device records, NoSQL and time series databases for sensor readings.
Block and file storage: disks attached to virtual machines.
Hot data (recent) is kept on fast storage; cold data (old) is moved to cheap archive storage.
Communication APIs
REST based API: the device or app sends HTTP requests (GET, POST) to URLs. Stateless request and response. Simple, but each request opens a new exchange.
WebSocket based API: one connection stays open in both directions. The cloud can push a command to the device at once. Good for live dashboards.
Many platforms also accept MQTT for device to cloud messages.
Integration steps and common difficulties
Steps: connect devices through a gateway, authenticate each device, send data with MQTT or HTTP, store it, process it, show it.
Difficulties: patchy network (keep data on the gateway and resend), different data formats (convert at the gateway), security keys on thousands of devices (use per device certificates).
How much cloud storage a sensor network needs.
1,000 sensors each send one reading of 100 bytes every minute.
Readings per day = 1,000 x 60 x 24 = 1,440,000.
Data per day = 1,440,000 x 100 bytes = 144,000,000 bytes = 144 MB.
Data per year = 144 MB x 365 = about 52.6 GB. This is why old data is moved to archive storage.
Real-life example
A dairy cooperative fits each milk tank with a temperature sensor. The readings go to a cloud dashboard. The manager in the city office sees all 200 villages on one screen. When a tank gets warm, an SMS goes to the village operator. The tanks are the devices, the dashboard is SaaS and the platform storing readings is the cloud.
Figure: data path from an IoT device to the cloud
Same or opposite: REST and WebSocket APIs
Point
REST API
WebSocket API
Same or opposite
Connection
New exchange per request
One open connection
Opposite
Direction
Client asks, server answers
Both sides send any time
Opposite
Runs over
TCP (HTTP)
TCP
Same
Best for
Occasional reads, settings
Live data, instant commands
Opposite
Exam tip. Write the three service models in a table with one IoT example each. Then name the two communication APIs: REST and WebSocket. For the "difficult integration" question, write it as a case: the problem, what you did and the result.
An IoT reference architecture is a general blueprint that shows the layers, parts and data flow that every IoT system has. Designers use it as a template, so different IoT systems can be built and joined in the same way.
Write these points
Layered view of IoT architecture
Perception (device) layer: sensors, actuators and RFID tags that touch the physical world.
Network layer: carries data through gateways and networks such as Wi-Fi, ZigBee and 4G.
Processing (middleware) layer: stores and analyses data and manages devices, mostly in the cloud.
Application layer: gives the user a service such as smart home or smart farming.
Business layer: decides business models and uses the results for decisions.
IoT-A reference model (the formal reference architecture)
Domain model: the main ideas: a user, a physical entity (a room), its virtual entity (the room's record), devices and services.
Information model: how data about a virtual entity is structured. Each virtual entity has attributes; each attribute has values and metadata (unit, time, accuracy).
Functional model: groups of functions: device, communication, IoT service, virtual entity, process management, management and security.
Communication model: how parts talk across different networks.
Information model of a smart room.
Virtual entity: Room 204.
Attribute: temperature. Value: 27.5. Metadata: unit C, time 10:05, accuracy 0.5 C.
Attribute: occupancy. Value: true. Metadata: from PIR sensor, time 10:05.
An app asks for "temperature of Room 204" without knowing which sensor gives it.
Conceptual framework and characteristics
Conceptual framework: physical object + controller and sensors + Internet connectivity + data analytics = smart service.
Characteristics: unique identity, connectivity, sensing, intelligence (decisions from data), large scale, heterogeneity (many kinds of devices), self configuration and security.
Significance: a common architecture lets parts from many vendors work together and lets systems grow from ten devices to a million.
Real-life example
A new city metro follows a standard plan. Tracks and trains are at the bottom, signalling is in the middle, the control centre is above it and ticket apps sit on top. Every Indian metro uses this same plan with local changes. The IoT reference architecture is that plan for IoT systems: devices, network, processing, application and business.
Figure: the five layer IoT reference architecture
Same or opposite: three layer and five layer architecture
Point
Three layer
Five layer
Same or opposite
Layers
Perception, network, application
Adds processing and business
Opposite
Detail
Basic view
Fuller view
Opposite
Starts with devices
Yes
Yes
Same
Use
Short answers, simple systems
Real projects
Opposite
Exam tip. Draw the five layer stack with examples beside each layer. If "information model" is asked, write the virtual entity, attribute, value and metadata chain with a small room example.
Q9. AMQP: features, components, message attributes and frames
Asked 4 times in 2022, 2024, 2025, 2026 · Unit 4
From the papers
“What are the features and components of AMQP in IoT? How many frame types are there in AMQP?” (Jun 2025)
“What is AMQP? Explain its message attributes and payload.” (Dec 2024)
“What is the use of application layer protocols? Differentiate between AMQP and MQTT. Does MQTT use WebSockets?” (May 2022)
“Short note (any two): XMPP, AMQP Features and IoT Challenges” (May 2026)
The short answer
AMQP (Advanced Message Queuing Protocol) is an open standard application layer protocol for reliable message passing between applications through a broker. It runs over TCP (port 5672) and is used where messages must not be lost, such as billing and banking.
Write these points
Use of application layer protocols in IoT
They decide how devices, gateways and the cloud format and exchange messages. Examples: MQTT, CoAP, AMQP, XMPP, HTTP.
Features of AMQP
Message orientation: data is sent as messages with headers and a body.
Queuing: messages wait in a queue until the consumer is ready.
Routing: the broker decides which queue gets each message.
Reliability: acknowledgements and persistent messages, so nothing is lost on a crash.
Security: SASL authentication and TLS encryption.
Interoperability: an open standard (ISO/IEC 19464), so clients and brokers from different vendors work together.
Components
Producer (publisher): the app that sends messages.
Exchange: receives messages and routes them. Types: direct (exact key), fanout (all queues), topic (pattern) and headers.
Binding: the rule that joins an exchange to a queue.
Queue: stores messages until they are used.
Consumer: the app that takes messages from a queue.
Message attributes and payload
Header part: delivery details such as durable, priority and time to live.
Application properties: your own key and value pairs.
Payload (body): the actual data, which AMQP treats as plain bytes.
Frame types
AMQP 1.0 has nine frame bodies (performatives): open, begin, attach, flow, transfer, disposition, detach, end and close.
open and close handle the connection, begin and end a session, attach and detach a link. transfer carries the message, flow controls the rate and disposition reports the delivery state.
Direct exchange routing.
A smart meter app publishes two messages: one with routing key "bill", one with key "alert".
The exchange has two bindings: key bill to queue billing, key alert to queue alerts.
Message 1 goes only to billing. Message 2 goes only to alerts.
If the alerts consumer is down, its message stays in the queue until it comes back.
Real-life example
A post office is a good picture of AMQP. You drop a letter (message) at the counter (exchange). The sorting clerk reads the PIN code (routing key) and puts it in the bag for that area (queue). The postman (consumer) picks up the bag when he is free. Letters wait safely in the bag even if the postman is late.
Figure: AMQP routing from producer to consumers through a direct exchange
Same or opposite: AMQP and MQTT
Point
AMQP
MQTT
Same or opposite
Main design
Queues and routing
Simple publish and subscribe
Opposite
Weight
Heavier
Very light
Opposite
Transport
TCP
TCP
Same
Best for
Servers, business messages
Small devices, sensors
Opposite
WebSockets
Can run over them
Can run over them
Same
Exam tip. Draw producer, exchange, queues and consumer inside a broker box. Write "nine frame types" and list them, because the count itself is asked. If MQTT is also asked, add the comparison table.
“Construct the Design of Smart home with Raspberry Pi and other hardware devices with neat sketch.” (Jun 2025)
“Explain the following (any two): Smart Home” (Dec 2024)
“Explain the applications of IoT in home automation systems.” (May 2022)
“Short note (any two): Cloud Storage Models, Vulnerability Analysis and Smart Home Applications” (May 2026)
The short answer
A smart home uses sensors, actuators, a controller and the Internet to watch and control home devices such as lights, fans and locks. It is the most common IoT case study.
Write these points
Applications of IoT in home automation
Lighting: lights switch on when someone enters and off when the room is empty.
Climate: fan or AC runs by room temperature.
Security: door sensors, cameras and alerts on the phone.
Safety: gas leak and smoke alarms.
Energy: smart plugs show power use and switch off idle devices.
Appliances: water pump, geyser and washing machine on timers or voice.
Design of a smart home with Raspberry Pi
Controller: a Raspberry Pi running Python, joined to Wi-Fi.
Sensors (inputs on GPIO): PIR motion, DHT11 temperature and humidity, MQ-2 gas (through an ADC), magnetic door switch.
Actuators (outputs): relay module for lights and fan, buzzer, Pi camera.
Communication: the Pi publishes readings to a cloud MQTT broker and subscribes to commands.
User side: a phone app or web dashboard shows the readings and sends commands.
How it works
Sensors are read every few seconds. Rules on the Pi act at once, even without Internet.
Readings go to the cloud for history and remote access.
The user can override any rule from the app.
Rules run by the Pi.
Rule 1: if temperature > 30 C and PIR shows a person, switch the fan relay on.
Rule 2: if MQ-2 reading > set limit, sound the buzzer and send "Gas leak" to the phone.
Rule 3: if the door opens between 11 pm and 6 am, take a photo and send it to the owner.
Input: temperature 32 C, person present. Output: fan on, event logged in the cloud.
Real-life example
Many Indian homes already have a simple version: a water tank float switch that stops the motor when the tank is full. A smart home does the same for every device: a sensor notices, a controller decides and a switch acts. The phone lets you see it all from your office.
Figure: smart home design with a Raspberry Pi
Same or opposite: manual home and smart home
Point
Manual home
Smart home
Same or opposite
Control
Switch on the wall
Rules, phone, voice
Opposite
Remote access
No
Yes
Opposite
Uses electric devices
Yes
Yes
Same
Energy saving
Depends on the user
Automatic
Opposite
Exam tip. This question says "with neat sketch". Draw the Pi in the centre, sensors on the left, actuators on the right and Wi-Fi and cloud above. Label every block with a real part name such as PIR or DHT11.
“Differentiate between Arduino and Raspberry Pi on the basis of architecture, processing capability and IoT applications.” (May 2026)
“Construct the Design of Smart home with Raspberry Pi and other hardware devices with neat sketch.” (Jun 2025)
“Explain the following (any two): Raspberry Pi” (Dec 2024)
“How Raspberry pi (3) is different from desktop computer. Write use of SPI, I2C interfaces and GPIO pins of Raspberry pi (3).” (May 2022)
The short answer
Raspberry Pi is a credit card sized single board computer that runs a full Linux operating system. Arduino is a microcontroller board that runs one program in a loop with no operating system.
Write these points
Raspberry Pi 3 at a glance
Broadcom BCM2837 system on chip: 64 bit quad core ARM Cortex-A53 at 1.2 GHz, 1 GB RAM.
Built in Wi-Fi and Bluetooth, Ethernet, four USB ports, HDMI.
Storage on a microSD card, which also holds the OS (Raspberry Pi OS).
40 GPIO pins working at 3.3 V.
How a Raspberry Pi differs from a desktop computer
Point
Raspberry Pi
Desktop
Size and power
Card size, about 5 W
Large, 100 W or more
Processor
ARM system on chip
x86 CPU on a motherboard
Storage
microSD card
Hard disk or SSD
Hardware pins
GPIO, SPI, I2C, UART
None for sensors
Cost
A few thousand rupees
Much higher
GPIO, SPI and I2C on the Raspberry Pi
GPIO: pins set as input or output. Read a button, switch an LED or a relay. Logic is 3.3 V, so 5 V signals can damage the Pi.
SPI: fast full duplex bus with four lines: MOSI, MISO, SCLK and chip select. Used for ADCs (MCP3008), displays and SD modules.
I2C: two wire bus (SDA data, SCL clock). Each device has an address, so many sensors share two pins. Used for BMP180, OLED displays, RTC.
Arduino and Raspberry Pi compared
Basis
Arduino Uno
Raspberry Pi 3
Architecture
ATmega328P microcontroller, 8 bit
ARM Cortex-A53, 64 bit
Speed and memory
16 MHz, 2 KB RAM, 32 KB flash
1.2 GHz, 1 GB RAM
OS
None
Linux
Analog input
6 pins with ADC
None, needs an external ADC
IoT use
Reading sensors in real time
Gateway, camera, web server
Addresses on the I2C bus.
A standard I2C address has 7 bits, so 2^7 = 128 addresses are possible.
A few are reserved, so up to about 112 devices can share the same two wires.
Example: a BMP180 pressure sensor at address 0x77 and an OLED at 0x3C work on the same SDA and SCL pins.
Real-life example
Arduino is like a ceiling fan regulator: it does one job, starts instantly and never crashes. Raspberry Pi is like a small mobile phone: it can run many apps, connect to Wi-Fi and show video, but it needs to boot an operating system first. A smart farm often uses both: Arduinos in the field and a Pi as the gateway.
Figure: Raspberry Pi interfaces and their uses
Same or opposite: Arduino and Raspberry Pi
Point
Arduino
Raspberry Pi
Same or opposite
Type
Microcontroller board
Single board computer
Opposite
Operating system
None
Linux
Opposite
Has GPIO pins
Yes
Yes
Same
Power need
Very low
Higher
Opposite
Exam tip. For the Pi 3 question, the desktop comparison table and the three interfaces (GPIO, SPI, I2C) are the full answer. Write the wire names of SPI and I2C. For Arduino against Pi, compare on exactly the bases the question names.
Q12. IEEE 802.15.4 protocol and its relation to IoT
Asked 4 times in 2022, 2024, 2025, 2026 · Unit 3
From the papers
“What is IEEE 802.15.4 protocol? How is it related to IoT?” (May 2022, May 2024, Jun 2025)
“Critically examine the advantages and limitations of ZigBee, 6LoWPAN and IEEE 802.15.4 communication technologies.” (May 2026)
The short answer
IEEE 802.15.4 is a standard for low rate wireless personal area networks (LR-WPAN). It defines only the physical (PHY) layer and the MAC layer for low cost, low power radios.
Write these points
Main features
Low data rate: 250 kbps at 2.4 GHz, 40 kbps at 915 MHz and 20 kbps at 868 MHz.
Short range: about 10 to 100 m.
Very low power: battery nodes can last months or years.
Small frames: at most 127 bytes.
MAC uses CSMA/CA to share the channel and has optional acknowledgements.
16 bit short addresses or 64 bit long addresses.
Device types and topologies
FFD (full function device): can be a PAN coordinator or a router.
RFD (reduced function device): a simple end node that talks only to an FFD.
Star: all nodes talk to one PAN coordinator.
Peer to peer (mesh): FFDs talk to each other and relay messages, so the range grows.
Beacon mode: the coordinator sends beacons and nodes sleep between them to save power.
How it is related to IoT
It is the radio layer of many IoT networks: ZigBee (smart lights, meters), 6LoWPAN (IPv6 for small nodes), Thread, WirelessHART.
It lets battery sensors join a network cheaply, which is the base of IoT.
ZigBee, 6LoWPAN and 802.15.4: advantages and limits
Technology
Advantage
Limitation
IEEE 802.15.4
Low power, cheap radio
Only PHY and MAC, low data rate
ZigBee
Ready mesh networking and app profiles
Needs a gateway to reach the Internet
6LoWPAN
Gives each node an IPv6 address
Header compression adds complexity
Time to send one full frame.
Largest frame = 127 bytes = 127 x 8 = 1,016 bits.
Data rate at 2.4 GHz = 250 kbps = 250,000 bits per second.
Time = 1,016 / 250,000 = 0.004064 s = about 4.06 ms.
The radio is on for only a few milliseconds, then the node sleeps. That is how batteries last for years.
Real-life example
802.15.4 is like the road. ZigBee and 6LoWPAN are the buses that run on it. The road decides the width and speed limit (PHY and MAC). The bus company decides routes and stops (network and application). Many companies can run different buses on the same road.
Figure: IEEE 802.15.4 star and peer to peer topologies
Exam tip. Write "PHY and MAC layer standard for LR-WPAN" in the first line. Give the three data rates and the 127 byte frame. Draw the star and mesh topologies, then say ZigBee and 6LoWPAN use it. That covers the IoT relation part.
Q13. Wireless Sensor Networks and their applications
Asked 4 times in 2023, 2024, 2026 · Unit 3
From the papers
“Explain Wireless Sensor Networks and its applications.” (May 2023, Dec 2024)
“Examine the role of NFC, Bluetooth and Wireless Sensor Networks in short range IoT communication systems.” (May 2026)
“What is relation between WSN and IoT? Explain with example.” (May 2024)
The short answer
A wireless sensor network (WSN) is a group of small, battery powered sensor nodes spread over an area. They sense the environment and send their readings by radio, often hop by hop, to a central node called the sink or base station.
Write these points
Parts of a WSN
Sensor nodes: sense, process and send data.
Sink (base station): collects data from all nodes.
Gateway: connects the WSN to the Internet.
User or cloud application: stores and shows the data.
Features
Many nodes, cheap and small.
Limited battery, memory and range.
Self organising: nodes find neighbours and routes on their own.
Multi hop: far nodes send through nearer nodes.
Applications
Environment: forest fire detection, air quality, flood warning.
Agriculture: soil moisture and crop health in smart farms.
Structural health: cracks and vibration in bridges and dams.
Health care: body sensors for patients.
Military: border watch and troop tracking.
Industry: machine temperature and vibration.
Relation between WSN and IoT
A WSN senses and collects data in one area. IoT connects such networks to the Internet and the cloud, where data is analysed and devices are controlled.
So a WSN is one part of IoT: the sensing edge. The gateway turns a closed WSN into an IoT system.
Short range technologies used
Technology
Range
Use
NFC
About 4 cm
Tap to pay, pairing
Bluetooth Low Energy
About 10 to 50 m
Wearables, beacons
ZigBee (802.15.4)
10 to 100 m, mesh
WSN, smart lights
How long a node battery lasts.
Two AA cells give 2,500 mAh. The node draws 0.25 mA on average (it sleeps most of the time).
Life = 2,500 / 0.25 = 10,000 hours.
10,000 / 24 = about 417 days, more than a year.
If the radio stayed on all the time (about 20 mA), life would be 2,500 / 20 = 125 hours, about 5 days. Sleeping is what makes a WSN work.
Real-life example
Picture a large tea estate in Assam. Small sensors placed across the slopes measure soil moisture. Each sensor passes its reading to the next one until it reaches a hut at the edge (sink). From there a 4G modem (gateway) sends it to the manager's phone. The manager waters only the dry patches.
Figure: a wireless sensor network joined to the Internet
Same or opposite: WSN and IoT
Point
WSN
IoT
Same or opposite
Scope
Sensing in one area
Global network of things
Opposite
Internet
Not needed
Needed
Opposite
Uses sensors
Yes
Yes
Same
Controls devices
Rarely
Yes, with actuators
Opposite
Exam tip. Draw the sensor field with arrows to the sink, then the gateway, Internet and user. Write at least five applications as a numbered list. For the IoT relation part, write "WSN is the sensing edge of IoT".
“Analyze IoT vs M2M and IoT vs Web of Things (WoT) with suitable examples and applications.” (May 2026)
“Define M2M. Explain reasons of shifting from M2M to IoT.” (Dec 2024)
“Explain M2M service layer standardization.” (May 2023)
“Explain M2M communication and bring out differences between IoT and M2M. How data analytics approaches different in M2M and IoT.” (May 2022)
The short answer
M2M (Machine to Machine) communication is direct data exchange between devices without a person, usually over a cellular or wired link. IoT grows this idea: it joins many kinds of devices over IP to the Internet and the cloud, where data is analysed and shared with apps.
Write these points
M2M communication
Point to point: a device sends data to one server or one other device.
Often uses cellular SIMs, PLC or proprietary links.
Examples: ATM to bank server, smart meter to the electricity board, vending machine stock reports.
IoT against M2M
Basis
M2M
IoT
Communication
Point to point
Many to many over IP
Protocols
Often proprietary, non IP
IP based: MQTT, CoAP, HTTP
Data
Stored locally or on one server
Stored and analysed in the cloud
Scale
Limited devices
Billions of devices
Apps
One fixed purpose
Many apps share data
Data analytics in M2M and IoT
M2M: simple rules on data from one system, often in real time ("if the stock is low, send an order").
IoT: big data and machine learning on data from many sources in the cloud ("predict which machine will fail next week").
Reasons for the shift from M2M to IoT
Cheap sensors and boards.
IPv6 gives an address to every device.
Cloud computing gives cheap storage and processing.
Need to share data across apps, not keep it in silos.
Analytics turns data into new services and revenue.
M2M service layer standardization
Different vendors made M2M systems that could not talk to each other. Standard bodies defined a common service layer to fix this.
ETSI M2M defined a service capability layer between the network and the applications, with functions such as registration, security, data storage and device management.
oneM2M (2012) is a global partnership of standards bodies, including ETSI. It defines a common service layer that any vertical (energy, health, transport) can use.
IoT against Web of Things (WoT)
IoT is about connecting things to the network. WoT is about using web standards (HTTP, REST, URIs, JSON) on top of IoT so that every thing works like a web page.
Example: in IoT a bulb may speak only ZigBee. In WoT the same bulb has a URL such as /bulb/1, so any browser app can GET or PUT it.
One meter in M2M and in IoT.
M2M: a smart meter sends its monthly reading by SMS to the electricity board server. Output: one bill.
IoT: the same meter sends readings every 15 minutes to the cloud. The board sees city wide demand, the user's app shows hourly use and the AC turns off at peak price. Output: many services from the same data.
Real-life example
An ATM that tells the bank it is out of cash is M2M: one machine, one server, one job. A smart city where traffic lights, buses and parking sensors share data on one platform so that an app can plan your trip is IoT.
Figure: from M2M to IoT
Same or opposite: M2M and IoT
Point
M2M
IoT
Same or opposite
Network
Mostly cellular, point to point
IP, Internet
Opposite
No human needed
Yes
Yes
Same
Integration
Vertical silos
Horizontal, shared data
Opposite
Analytics
Simple rules
Cloud, big data
Opposite
Exam tip. Always give the comparison as a table of five rows. Write the reasons for the shift as a numbered list. For the service layer question, name ETSI and oneM2M.
“Explain with example MQTT Protocol. What is role of MQTT protocol in IoT?” (May 2023, May 2024)
“Define MQTT and Explain the role of publish-subscribe communication mechanisms in MQTT based IoT systems.” (May 2026)
“What is the use of application layer protocols? Differentiate between AMQP and MQTT. Does MQTT use WebSockets?” (May 2022)
The short answer
MQTT (Message Queuing Telemetry Transport) is a light publish and subscribe messaging protocol for small devices and slow networks. Devices publish messages on topics to a broker, which passes each one to every client subscribed to that topic.
Write these points
Parts
Publisher: a client that sends a message on a topic.
Subscriber: a client that asks for messages on a topic.
Broker: the server that receives every message and passes it on (for example Mosquitto, HiveMQ).
Topic: a text path with levels separated by /, such as home/kitchen/temp.
Main methods (packets)
CONNECT and DISCONNECT, PUBLISH, SUBSCRIBE and UNSUBSCRIBE, PINGREQ to keep the link alive.
Quality of service levels
QoS
Meaning
Use
0
At most once, no ACK
Frequent temperature readings
1
At least once, may repeat
Alerts
2
Exactly once, four step handshake
Billing, commands
Other features
Runs over TCP: port 1883, or 8883 with TLS.
Header as small as 2 bytes.
Retained message: the broker keeps the last value and gives it to new subscribers at once.
Last will: the broker tells others if a device drops off without warning.
WebSockets: MQTT does not need them, but it can run over WebSockets so that a browser app can use it.
Role of publish and subscribe in IoT
Devices never need each other's address; they know only the broker and the topic.
One reading can reach many apps. New apps can join without changing the device.
Devices stay simple and can sleep, which saves battery.
Topic wildcards.
Topics in use: home/kitchen/temp, home/bedroom/temp, home/kitchen/gas.
Subscribe to home/+/temp: get both temp topics. + matches one level.
Subscribe to home/kitchen/#: get kitchen temp and kitchen gas. # matches all lower levels.
Subscribe to home/#: get all three.
Real-life example
A college WhatsApp group works like MQTT. The class representative posts "Lab moved to Room 12" once. Everyone who joined the group gets it. The representative does not need anyone's number and new students only join the group. The group is the topic, the server is the broker and the students are subscribers.
Figure: MQTT publish and subscribe through a broker
Same or opposite: MQTT and CoAP
Point
MQTT
CoAP
Same or opposite
Model
Publish and subscribe
Request and response
Opposite
Transport
TCP
UDP
Opposite
Needs a broker
Yes
No
Opposite
Made for small devices
Yes
Yes
Same
Exam tip. Draw publishers, the broker and subscribers with a topic name on the arrows. Write the three QoS levels in a table. If WebSockets is asked, the answer is: not by default, but MQTT can run over WebSockets.
RGPV teaches Internet of Things to 3 branches under one syllabus. Each branch prints its own code on the paper, but the units are the same. So one page and one PDF serve all of them.
We counted every question in the Internet of Things papers on this site by topic, from 2022 to 2026. A topic that keeps coming back is a topic RGPV likes, so it sits higher in the table. One branch alone has only a few papers. Counting them together gives a surer list.
Internet of Things important questions by branch
CS-801Internet of Things important questions for CSE, Semester 8
CS-801 follows the same RGPV syllabus as the other codes on this page. The 15 topics and answers above are the CS-801 important questions too.
Internet of Things (CS-801) is about everyday objects that sense their surroundings and talk over the internet. It is a Semester 8 subject of RGPV B.Tech CSE with five units: the IoT framework, sensors and actuators, networking, messaging protocols and platforms. If you have an Arduino or Raspberry Pi, try one small project, because it makes every unit clearer.
Internet of Things unit-wise brief
Unit 1: IoT definition and architecture
This unit defines IoT and its characteristics, then covers its architecture, ecosystem components, enablers, applications, M2M communication, IoT against M2M and the Web of Things, reference architecture, and network parts such as the node, gateway and proxy. It ends with a review of microcontrollers. Learn the layers of the reference architecture.
Unit 2: Sensors and actuators
Here you learn what a sensor is, its parts and challenges, features such as resolution, its classes (analog, digital, scalar and vector), and errors such as bias, drift, hysteresis and quantisation error. Actuators follow: hydraulic, pneumatic, electrical, thermal or magnetic, mechanical and soft. Make a table of sensor errors with examples.
Unit 3: Basics of IoT networking
This unit covers the functional components of IoT, service oriented architecture, challenges, and the networking technologies: 6LoWPAN, IEEE 802.15.4, ZigBee, RFID, NFC, Bluetooth and wireless sensor networks. Compare these technologies by range and use.
Unit 4: IoT messaging protocols
The unit covers the application protocols MQTT (methods, components, topics and SMQTT), CoAP (message types and request-response model), XMPP and AMQP (features and frame types). Compare MQTT and CoAP in a table.
Unit 5: IoT platforms and applications
The last unit covers platforms such as Arduino and Raspberry Pi, data analytics and cloud for IoT, cloud storage models, attacks and vulnerability analysis in IoT, and case studies such as smart home and smart farming. Prepare one case study from sensor to cloud.
Units follow the RGPV scheme and syllabus, B.Tech Computer Science and Engineering, Semester 8 (AICTE flexible curriculum, w.e.f. Jan 2021). For the full topic list of each unit, open the Internet of Things notes.
What are the most important topics in Internet of Things?
By how often they were asked in the papers on this site: CoAP protocol: operations, message types, request-response model, use on constrained networks (6 times); RFID: principles, features, working and applications (6 times); Sensors: types, features, comparison and sensor node components (5 times); Attacks and vulnerabilities in IoT systems (5 times); Security in IoT: need, security models, privacy issues and concerns (5 times).
How were these Internet of Things important questions chosen?
Each topic was counted from the questions in the past papers listed on this site (2022-2026). Repeated is the number of times the topic came. The counts come from keyword matching and the answers are not teacher-reviewed, so use them together with your syllabus.
Is there a PDF of Internet of Things important questions with answers?
Yes. The Paperwala Imp Question & Answer PDF for Internet of Things is free to download from this page.
The 15 most repeated topics of Internet of Things (CS-801) for RGPV B.Tech CSE semester 8, counted from the previous year papers on this site. The same syllabus is taught under 3 codes: CS-801, IT-703-B, AL-803-A. Internet of Things is also searched for as CS-803-C, AI-803-C and CD-803-C.