M1-R5.1 — Information Technology Tools & Network Basics (PR1)
Practical: MS Word · MS Excel · MS PowerPoint · Internet Basics · Viva | Duration: 3 hrs
VIVA Q&A — All Sessions
1
What is a computer? What are its main components?
▼
ANSWER
A computer is an electronic device that accepts data (input), processes it according to instructions (program), and produces meaningful results (output).
Main components: CPU (Central Processing Unit), Input devices (keyboard, mouse), Output devices (monitor, printer), Memory (RAM, ROM), and Storage (HDD/SSD).
Main components: CPU (Central Processing Unit), Input devices (keyboard, mouse), Output devices (monitor, printer), Memory (RAM, ROM), and Storage (HDD/SSD).
2
Differentiate between Hardware and Software. Give examples.
▼
ANSWER
Hardware: Physical components you can touch — CPU, RAM, keyboard, monitor, printer.
Software: Set of instructions/programs running on hardware — Windows OS, MS Word, Python.
Software: Set of instructions/programs running on hardware — Windows OS, MS Word, Python.
3
Differentiate between System Software and Application Software.
▼
ANSWER
System Software: Manages and controls hardware; acts as interface between user and hardware. Examples: Windows, Linux, BIOS, Device Drivers.
Application Software: Designed for specific end-user tasks. Examples: MS Word, MS Excel, VLC Player, Chrome browser.
Application Software: Designed for specific end-user tasks. Examples: MS Word, MS Excel, VLC Player, Chrome browser.
4
What is RAM and ROM? How are they different?
▼
ANSWER
RAM (Random Access Memory): Volatile memory — data is lost when power is off. Used to temporarily store programs currently in use.
ROM (Read Only Memory): Non-volatile — data persists without power. Stores BIOS/firmware.
RAM is read-write; ROM is primarily read-only.
ROM (Read Only Memory): Non-volatile — data persists without power. Stores BIOS/firmware.
RAM is read-write; ROM is primarily read-only.
5
What is an Operating System? Name any four.
▼
ANSWER
An Operating System (OS) is system software that manages hardware resources, provides an interface for users, and supports application programs.
Examples: Windows 11, Ubuntu Linux, macOS, Android.
Examples: Windows 11, Ubuntu Linux, macOS, Android.
6
What is VLOOKUP in Excel? Write its syntax and give an example.
▼
ANSWER
VLOOKUP searches for a value in the first column of a table and returns a value in the same row from a specified column.
Syntax:
Syntax:
=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
Example:
=VLOOKUP(A2, B2:D10, 3, FALSE) — looks for value in A2 within B2:D10 and returns the value from the 3rd column of that range.7
What is an IP Address? What are the types of IP addresses?
▼
ANSWER
An IP (Internet Protocol) Address is a unique numerical label assigned to each device on a network to identify it.
Types by version: IPv4 (32-bit, e.g. 192.168.1.1) and IPv6 (128-bit).
Types by assignment: Static IP (fixed, assigned manually) and Dynamic IP (assigned automatically by DHCP).
Types by scope: Public IP (globally unique) and Private IP (used within local network).
Types by version: IPv4 (32-bit, e.g. 192.168.1.1) and IPv6 (128-bit).
Types by assignment: Static IP (fixed, assigned manually) and Dynamic IP (assigned automatically by DHCP).
Types by scope: Public IP (globally unique) and Private IP (used within local network).
8
What are network topologies? Explain any two.
▼
ANSWER
Network topology is the arrangement/layout of computers and devices in a network.
Bus Topology: All devices connected to a single central cable (bus). Simple but a break in the bus disrupts the whole network.
Star Topology: All devices connect to a central hub/switch. Most common; if one node fails, others are unaffected; hub failure brings down all.
Bus Topology: All devices connected to a single central cable (bus). Simple but a break in the bus disrupts the whole network.
Star Topology: All devices connect to a central hub/switch. Most common; if one node fails, others are unaffected; hub failure brings down all.
9
What is the difference between LAN, MAN, and WAN?
▼
ANSWER
LAN (Local Area Network): Small geographic area — office, school. High speed, low cost.
MAN (Metropolitan Area Network): Covers a city or campus. Larger than LAN.
WAN (Wide Area Network): Large geographic area — countries, continents. The Internet is the largest WAN.
MAN (Metropolitan Area Network): Covers a city or campus. Larger than LAN.
WAN (Wide Area Network): Large geographic area — countries, continents. The Internet is the largest WAN.
10
What is the Internet? What is a Browser? Name any three browsers.
▼
ANSWER
The Internet is a global network of interconnected computers that communicate using standard protocols (TCP/IP).
A Browser is software used to access and navigate websites on the Internet.
Examples: Google Chrome, Mozilla Firefox, Microsoft Edge.
A Browser is software used to access and navigate websites on the Internet.
Examples: Google Chrome, Mozilla Firefox, Microsoft Edge.
11
What is a firewall? What is its purpose?
▼
ANSWER
A firewall is a network security system (hardware or software) that monitors and controls incoming and outgoing network traffic based on predefined security rules. It creates a barrier between a trusted internal network and untrusted external networks (like the Internet) to prevent unauthorized access.
MS WORD PRACTICAL TASKS
12
Type the given paragraph about NIELIT and: (a) Split into 2 columns (b) Add Header "National Institute of Electronics and Information Technology" (c) Place NIELIT logo on the right side of Header.
▼
STEPS
1. Type the paragraph in MS Word.
2. Select all text → Layout tab → Columns → Two.
3. Insert tab → Header → Edit Header. Type the heading text, then use right-align for logo placement.
4. In the header, place cursor on the right → Insert → Pictures → select NIELIT logo image.
5. Close header & footer.
2. Select all text → Layout tab → Columns → Two.
3. Insert tab → Header → Edit Header. Type the heading text, then use right-align for logo placement.
4. In the header, place cursor on the right → Insert → Pictures → select NIELIT logo image.
5. Close header & footer.
💡 Exam Tip: Make sure to also add a Page Number via Insert → Page Number if asked.
13
Create a resume/biodata with personal details, educational qualifications (as a table), and skills section. Apply appropriate styles and formatting.
▼
STEPS
1. Name in Heading 1 style, centered, bold.
2. Contact details below name.
3. Use Insert → Table for educational qualifications (columns: Exam, Board/Uni, Year, % Marks).
4. Skills as a bulleted list.
5. Apply consistent font (Calibri 11pt body, 14pt headings).
6. Add border to table: right-click table → Table Properties → Borders.
2. Contact details below name.
3. Use Insert → Table for educational qualifications (columns: Exam, Board/Uni, Year, % Marks).
4. Skills as a bulleted list.
5. Apply consistent font (Calibri 11pt body, 14pt headings).
6. Add border to table: right-click table → Table Properties → Borders.
14
Create a mail merge letter addressed to multiple recipients from a data source (Excel file).
▼
STEPS
1. Mailings tab → Start Mail Merge → Letters.
2. Select Recipients → Use an Existing List → browse to Excel file.
3. Type the letter body; insert merge fields using Insert Merge Field.
4. Preview Results to verify.
5. Finish & Merge → Print Documents or Edit Individual Documents.
2. Select Recipients → Use an Existing List → browse to Excel file.
3. Type the letter body; insert merge fields using Insert Merge Field.
4. Preview Results to verify.
5. Finish & Merge → Print Documents or Edit Individual Documents.
MS EXCEL PRACTICAL TASKS
15
Create a student marks sheet with SUM, AVERAGE, MAX, MIN formulas. Add conditional formatting to highlight fails (<35).
▼
STEPS
1. Enter student names in Col A, subjects in Row 1.
2. Total:
3. For conditional formatting: Select marks range → Home → Conditional Formatting → Highlight Cells Rules → Less Than → 35 → Red Fill.
2. Total:
=SUM(B2:F2) | Average: =AVERAGE(B2:F2) | Max: =MAX(B2:B20) | Min: =MIN(B2:B20)3. For conditional formatting: Select marks range → Home → Conditional Formatting → Highlight Cells Rules → Less Than → 35 → Red Fill.
=IF(G2>=35,"PASS","FAIL")
16
Create a Bar Chart and Pie Chart from given sales data in Excel.
▼
STEPS
1. Select the data range (labels + values).
2. Insert tab → Charts group.
3. For Bar: Insert Column or Bar Chart → Clustered Bar.
4. For Pie: Insert Pie or Doughnut Chart → 2-D Pie.
5. Add Chart Title, Data Labels via Chart Design → Add Chart Element.
2. Insert tab → Charts group.
3. For Bar: Insert Column or Bar Chart → Clustered Bar.
4. For Pie: Insert Pie or Doughnut Chart → 2-D Pie.
5. Add Chart Title, Data Labels via Chart Design → Add Chart Element.
M2-R5.1 — Web Designing & Publishing (PR2)
Practical: HTML · CSS · JavaScript · AngularJS | Duration: 3 hrs
HTML TASKS
1
Write HTML code to demonstrate the use of Anchor Tag: (a) Link opening in new window (b) Same-window link (c) In-page reference (d) Link to image (e) Image as hyperlink.
▼
ANSWER
<!-- a. New Window --> <a href="https://nielit.gov.in" target="_blank">NIELIT (New Window)</a> <!-- b. Same Window --> <a href="https://nielit.gov.in">NIELIT (Same Window)</a> <!-- c. In-page reference --> <a href="#section1">Go to Section 1</a> <h2 id="section1">Section 1</h2> <!-- d. Link to image --> <a href="logo.png">View Logo Image</a> <!-- e. Image as hyperlink --> <a href="page2.html"> <img src="logo.png" alt="Go to Page 2" width="100"> </a>
2
Create an HTML page "About My City" with: city name in large blue text, landmark names each in different color/style, one blinking landmark (college name), scrolling marquee message.
▼
ANSWER
<!DOCTYPE html>
<html>
<head>
<title>About My City</title>
<style>
.blink { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
</style>
</head>
<body>
<h1 style="color:blue;font-size:36px;">Hinjilicut</h1>
<p style="color:red;font-style:italic;">Rushikulya River</p>
<p style="color:green;font-weight:bold;">Town Park</p>
<p style="color:purple;font-family:Georgia;">Local Market</p>
<p class="blink" style="color:orange;">
Science College (Autonomous), Hinjilicut
</p>
<marquee behavior="scroll" direction="left">
Welcome to Beautiful Hinjilicut – Gateway of Ganjam!
</marquee>
</body>
</html>
3
Create an HTML table with student records (Name, Roll No, Marks) with border, cell padding, and background color for the header row.
▼
ANSWER
<table border="1" cellpadding="8" cellspacing="0"
style="border-collapse:collapse; width:60%;">
<tr style="background-color:#003366; color:white;">
<th>Roll No</th>
<th>Name</th>
<th>Marks</th>
</tr>
<tr>
<td>101</td><td>Ravi Kumar</td><td>78</td>
</tr>
<tr>
<td>102</td><td>Priya Das</td><td>85</td>
</tr>
</table>
4
Create an HTML Registration Form with fields: Name, Email, Password, Gender (radio), Course (dropdown), and Submit button.
▼
ANSWER
<form action="#" method="post">
Name: <input type="text" name="name" required><br><br>
Email: <input type="email" name="email"><br><br>
Password: <input type="password" name="pwd"><br><br>
Gender:
<input type="radio" name="gender" value="M"> Male
<input type="radio" name="gender" value="F"> Female<br><br>
Course:
<select name="course">
<option>O Level</option>
<option>A Level</option>
<option>CCC</option>
</select><br><br>
<input type="submit" value="Register">
</form>
CSS TASKS
5
Use CSS shorthand background property to set a background image "xyz.png", display it once (no-repeat), positioned at top right corner.
▼
ANSWER
body {
background: url("xyz.png") no-repeat top right;
/* OR using all shorthand values: */
background: #ffffff url("xyz.png") no-repeat top right;
}
💡 Shorthand order: color | image | repeat | position
6
Create an external CSS stylesheet to style a webpage with different font families, colors, and hover effects on links.
▼
style.css
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
color: #333;
}
h1 { font-family: Georgia, serif; color: #003366; }
a { color: #e67e22; text-decoration: none; }
a:hover { color: #c0392b; text-decoration: underline; }
p { font-size: 15px; line-height: 1.7; }
HTML Link
<link rel="stylesheet" href="style.css">
JAVASCRIPT TASKS
7
Write a JavaScript program to generate a series of prime numbers up to N.
▼
ANSWER
<script>
function isPrime(n) {
if (n < 2) return false;
for (let i = 2; i <= Math.sqrt(n); i++) {
if (n % i === 0) return false;
}
return true;
}
let n = parseInt(prompt("Enter N:"));
let primes = [];
for (let i = 2; i <= n; i++) {
if (isPrime(i)) primes.push(i);
}
document.write("Primes up to " + n + ": " + primes.join(", "));
</script>
8
Write a JavaScript program to display the current day and time in this format: "Today is: Tuesday. Current time is: 10 PM : 30 : 38"
▼
ANSWER
<script>
let days = ["Sunday","Monday","Tuesday","Wednesday",
"Thursday","Friday","Saturday"];
let d = new Date();
let day = days[d.getDay()];
let hr = d.getHours();
let ampm = hr >= 12 ? "PM" : "AM";
hr = hr % 12 || 12;
let min = d.getMinutes().toString().padStart(2,"0");
let sec = d.getSeconds().toString().padStart(2,"0");
document.write("Today is: " + day + "<br>");
document.write("Current time is: " + hr + " " + ampm +
" : " + min + " : " + sec);
</script>
9
Write JavaScript program for sum and multiplication of two numbers (user input).
▼
ANSWER
<script>
let a = parseFloat(prompt("Enter first number:"));
let b = parseFloat(prompt("Enter second number:"));
alert("Sum: " + (a + b) + "\nProduct: " + (a * b));
</script>
10
Write JavaScript to demonstrate redirect, popup (alert/confirm), and print functionality.
▼
ANSWER
<button onclick="window.location.href='https://nielit.gov.in'">
Redirect to NIELIT
</button>
<button onclick="alert('Welcome to O Level Exam!')">
Alert Popup
</button>
<button onclick="
if(confirm('Do you want to print?')) window.print();
">Print Page</button>
11
Create a basic AngularJS "Hello World" application that displays text in both text format and a textbox.
▼
ANSWER
<!DOCTYPE html>
<html ng-app="">
<head>
<script src=
"https://ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular.min.js">
</script>
</head>
<body>
<h2>{{ "AngularJS" }}</h2>
<input type="text" ng-model="msg" placeholder="Type here">
<p>You typed: {{ msg }}</p>
</body>
</html>
12
Create an HTML page "Event Registration" referencing Bootstrap, jQuery, and Angular libraries with a basic registration form.
▼
ANSWER
<!DOCTYPE html>
<html ng-app="">
<head>
<title>Event Registration</title>
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src=
"https://ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular.min.js">
</script>
</head>
<body class="container mt-4">
<h2>Event Registration</h2>
<input class="form-control mb-2" ng-model="name"
placeholder="Your Name">
<input class="form-control mb-2" type="email"
placeholder="Email">
<button class="btn btn-primary">Register</button>
<p class="mt-3">Hello, {{ name }}!</p>
</body>
</html>
M3-R5.1 — Programming & Problem Solving Through Python (PR3)
Practical: Python programs + flowcharts + NumPy | Duration: 3 hrs | 2–3 tasks per exam
LOOPS & BASICS
1
Write a Python program to reverse the digits of an integer number using a while loop.
▼
ANSWER
num = int(input("Enter an integer: "))
rev = 0
original = num
while num != 0:
digit = num % 10
rev = rev * 10 + digit
num //= 10
print("Reversed number:", rev)
💡 If input=1234, output=4321
2
Write a Python program to reverse a list. Input: [10,11,12,13,14,15] Output: [15,14,13,12,11,10]
▼
ANSWER — Method 1 (slicing)
lst = [10, 11, 12, 13, 14, 15]
print("Reversed:", lst[::-1])
ANSWER — Method 2 (built-in)
lst = [10, 11, 12, 13, 14, 15]
lst.reverse()
print("Reversed:", lst)
ANSWER — Method 3 (while loop)
lst = [10, 11, 12, 13, 14, 15]
rev = []
i = len(lst) - 1
while i >= 0:
rev.append(lst[i])
i -= 1
print("Reversed:", rev)
3
Write a Python program to print all Armstrong numbers in a given range. (e.g. 370 = 3³ + 7³ + 0³)
▼
ANSWER
def is_armstrong(num):
digits = str(num)
n = len(digits)
total = sum(int(d) ** n for d in digits)
return total == num
lower = int(input("Enter lower range: "))
upper = int(input("Enter upper range: "))
print("Armstrong numbers between", lower, "and", upper, ":")
for num in range(lower, upper + 1):
if is_armstrong(num):
print(num)
💡 Armstrong in 1–500: 1, 2, 3, 4, 5, 6, 7, 8, 9, 153, 370, 371, 407
4
Write a Python program to check whether a number is Prime or Not.
▼
ANSWER
num = int(input("Enter a number: "))
if num < 2:
print("Not Prime")
else:
is_prime = True
for i in range(2, int(num**0.5) + 1):
if num % i == 0:
is_prime = False
break
print("Prime" if is_prime else "Not Prime")
5
Write a Python program to print the Fibonacci series up to N terms.
▼
ANSWER
n = int(input("Enter number of terms: "))
a, b = 0, 1
print("Fibonacci Series:")
for i in range(n):
print(a, end=" ")
a, b = b, a + b
6
Write a function to find the sum of n terms of the series: x + x³/3! + x⁵/5! + ... (used in sin(x) approximation)
▼
ANSWER
import math
def series_sum(x, n):
result = 0
for i in range(n):
power = 2 * i + 1
result += (x ** power) / math.factorial(power)
return result
x = float(input("Enter x: "))
n = int(input("Enter number of terms: "))
print("Sum of", n, "terms:", round(series_sum(x, n), 6))
💡 This is the Taylor series expansion for sin(x) when x is in radians.
FUNCTIONS, STRINGS & LISTS
7
Write a Python program to find the factorial of a number using recursion.
▼
ANSWER
def factorial(n):
if n == 0 or n == 1:
return 1
return n * factorial(n - 1)
num = int(input("Enter a number: "))
print("Factorial of", num, "=", factorial(num))
8
Write a Python program to count vowels, consonants, digits, and spaces in a given string.
▼
ANSWER
s = input("Enter a string: ").lower()
vowels = consonants = digits = spaces = 0
for ch in s:
if ch in "aeiou":
vowels += 1
elif ch.isalpha():
consonants += 1
elif ch.isdigit():
digits += 1
elif ch == " ":
spaces += 1
print(f"Vowels:{vowels} Consonants:{consonants} Digits:{digits} Spaces:{spaces}")
9
Write a Python program to sort a list of numbers in ascending and descending order.
▼
ANSWER
lst = list(map(int, input("Enter numbers separated by space: ").split()))
print("Ascending:", sorted(lst))
print("Descending:", sorted(lst, reverse=True))
FILE HANDLING
10
Write a Python program to create a file, write text to it, then read and display its contents.
▼
ANSWER
# Write to file
with open("sample.txt", "w") as f:
f.write("NIELIT O Level Python Practical\n")
f.write("File Handling Example\n")
print("File written successfully.")
# Read from file
with open("sample.txt", "r") as f:
content = f.read()
print("File Content:\n", content)
11
Write a Python program to count the number of lines, words, and characters in a text file.
▼
ANSWER
filename = input("Enter filename: ")
try:
with open(filename, "r") as f:
lines = f.readlines()
line_count = len(lines)
word_count = sum(len(l.split()) for l in lines)
char_count = sum(len(l) for l in lines)
print(f"Lines: {line_count}, Words: {word_count}, Characters: {char_count}")
except FileNotFoundError:
print("File not found!")
OOP & NUMPY
12
Demonstrate inheritance in Python with an example. (Parent: Animal, Child: Dog)
▼
ANSWER
class Animal:
def __init__(self, name):
self.name = name
def speak(self):
return "Some sound"
def display(self):
print("Animal name:", self.name)
class Dog(Animal):
def speak(self): # Method overriding
return "Woof! Woof!"
class Cat(Animal):
def speak(self):
return "Meow!"
d = Dog("Tommy")
c = Cat("Kitty")
d.display() # Inherited from Animal
print(d.speak()) # Overridden in Dog
print(c.speak()) # Overridden in Cat
13
Write a Python program using NumPy to create arrays, perform slicing, reshape, and basic operations.
▼
ANSWER
import numpy as np
# Create array
arr = np.array([10, 20, 30, 40, 50])
print("Array:", arr)
print("Shape:", arr.shape)
# Slicing
print("Slice [1:4]:", arr[1:4])
# 2D array and reshape
arr2 = np.arange(1, 13).reshape(3, 4)
print("Reshaped 3x4 array:\n", arr2)
# Basic operations
print("Sum:", np.sum(arr))
print("Mean:", np.mean(arr))
print("Max:", np.max(arr))
M4-R5.1 — Internet of Things & Its Applications (PR4)
Practical: Arduino programming · Sensors · LED · Automation | Duration: 3 hrs
LED & BASIC ARDUINO
1
Write an Arduino program to blink the onboard LED (pin 13) with a delay of 2 seconds.
▼
ANSWER
void setup() {
pinMode(13, OUTPUT); // LED_BUILTIN = pin 13
}
void loop() {
digitalWrite(13, HIGH); // Turn ON
delay(2000); // Wait 2 seconds
digitalWrite(13, LOW); // Turn OFF
delay(2000); // Wait 2 seconds
}
💡 You can also write: pinMode(LED_BUILTIN, OUTPUT); digitalWrite(LED_BUILTIN, HIGH);
2
Write a program to interface LEDs connected at pins 10, 11, 12, 13 and run an ON/OFF pattern (running light effect).
▼
ANSWER
int leds[] = {10, 11, 12, 13};
void setup() {
for (int i = 0; i < 4; i++) {
pinMode(leds[i], OUTPUT);
}
}
void loop() {
// Running light forward
for (int i = 0; i < 4; i++) {
digitalWrite(leds[i], HIGH);
delay(300);
digitalWrite(leds[i], LOW);
}
// Running light backward
for (int i = 2; i >= 1; i--) {
digitalWrite(leds[i], HIGH);
delay(300);
digitalWrite(leds[i], LOW);
}
}
3
Write a program to blink all LEDs at pins 10, 11, 12, 13 simultaneously with 500ms delay.
▼
ANSWER
int leds[] = {10, 11, 12, 13};
void setup() {
for (int i = 0; i < 4; i++)
pinMode(leds[i], OUTPUT);
}
void loop() {
for (int i = 0; i < 4; i++)
digitalWrite(leds[i], HIGH); // All ON
delay(500);
for (int i = 0; i < 4; i++)
digitalWrite(leds[i], LOW); // All OFF
delay(500);
}
SENSOR INTERFACING
4
Write an Arduino program to interface DHT11 Temperature & Humidity sensor and display readings on Serial Monitor.
▼
ANSWER
#include <DHT.h>
#define DHTPIN 2 // DHT11 data pin
#define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE);
void setup() {
Serial.begin(9600);
dht.begin();
Serial.println("DHT11 Sensor Test");
}
void loop() {
float temp = dht.readTemperature();
float hum = dht.readHumidity();
if (isnan(temp) || isnan(hum)) {
Serial.println("Sensor read error!");
} else {
Serial.print("Temperature: "); Serial.print(temp); Serial.println(" °C");
Serial.print("Humidity: "); Serial.print(hum); Serial.println(" %");
}
delay(2000);
}
💡 Install DHT library: Arduino IDE → Sketch → Include Library → Manage Libraries → search "DHT sensor library"
5
Write a program to interface an LDR (Light Dependent Resistor) and turn on an LED when light is low (dark).
▼
ANSWER
int ldrPin = A0; // LDR connected to analog pin A0
int ledPin = 13; // LED
int threshold = 500;
void setup() {
pinMode(ledPin, OUTPUT);
Serial.begin(9600);
}
void loop() {
int ldrValue = analogRead(ldrPin);
Serial.print("LDR Value: ");
Serial.println(ldrValue);
if (ldrValue < threshold) {
digitalWrite(ledPin, HIGH); // Dark: LED ON
Serial.println("Status: DARK - LED ON");
} else {
digitalWrite(ledPin, LOW); // Light: LED OFF
Serial.println("Status: BRIGHT - LED OFF");
}
delay(500);
}
💡 LDR gives LOW analog value in bright light and HIGH value in darkness. Threshold may vary — adjust accordingly.
6
Write a program for temperature-based fan control: if temperature > 30°C, turn on fan (LED/motor), else turn off.
▼
ANSWER
#include <DHT.h>
#define DHTPIN 2
#define DHTTYPE DHT11
int fanPin = 8;
DHT dht(DHTPIN, DHTTYPE);
void setup() {
Serial.begin(9600);
dht.begin();
pinMode(fanPin, OUTPUT);
}
void loop() {
float temp = dht.readTemperature();
Serial.print("Temp: "); Serial.print(temp); Serial.println("°C");
if (temp > 30.0) {
digitalWrite(fanPin, HIGH);
Serial.println("Fan: ON");
} else {
digitalWrite(fanPin, LOW);
Serial.println("Fan: OFF");
}
delay(2000);
}
VIVA Q&A — IoT Concepts
7
What is IoT? Give its main components and applications.
▼
ANSWER
IoT (Internet of Things) refers to a network of physical devices embedded with sensors, software, and connectivity that enables them to collect and exchange data over the Internet.
Components: Sensors/Actuators, Connectivity (Wi-Fi/Bluetooth/Zigbee), Data Processing (cloud/edge), User Interface (app/dashboard).
Applications: Smart Home (automated lights, AC control), Healthcare (wearables), Agriculture (soil sensors), Smart Cities (traffic management).
Components: Sensors/Actuators, Connectivity (Wi-Fi/Bluetooth/Zigbee), Data Processing (cloud/edge), User Interface (app/dashboard).
Applications: Smart Home (automated lights, AC control), Healthcare (wearables), Agriculture (soil sensors), Smart Cities (traffic management).
8
What is Arduino? What is the difference between Arduino UNO and NodeMCU?
▼
ANSWER
Arduino is an open-source electronics platform with a microcontroller and development environment used for building interactive electronic projects.
Arduino UNO: Based on ATmega328P; no built-in Wi-Fi/Bluetooth; 14 digital I/O pins; used for basic IoT and electronics projects.
NodeMCU: Based on ESP8266 chip; has built-in Wi-Fi; cheaper; used when internet connectivity is needed directly from the device.
Arduino UNO: Based on ATmega328P; no built-in Wi-Fi/Bluetooth; 14 digital I/O pins; used for basic IoT and electronics projects.
NodeMCU: Based on ESP8266 chip; has built-in Wi-Fi; cheaper; used when internet connectivity is needed directly from the device.
9
What is MQTT protocol? Why is it used in IoT?
▼
ANSWER
MQTT (Message Queuing Telemetry Transport) is a lightweight publish-subscribe network protocol designed for IoT devices. It operates on TCP/IP.
Why IoT: Very low bandwidth usage, works well on unreliable networks, supports thousands of connected devices, uses minimal power — ideal for sensors and embedded devices.
Why IoT: Very low bandwidth usage, works well on unreliable networks, supports thousands of connected devices, uses minimal power — ideal for sensors and embedded devices.
10
What are actuators? Give three examples used in IoT systems.
▼
ANSWER
An actuator is a component that converts an electrical signal (from a controller/microcontroller) into physical action.
Examples:
1. DC Motor — rotates to drive fans, conveyor belts.
2. Servo Motor — rotates to a specific angle; used in robotic arms, door locks.
3. Relay — electrically switches high-power devices (AC fans, lights) using a low-power signal from Arduino.
Examples:
1. DC Motor — rotates to drive fans, conveyor belts.
2. Servo Motor — rotates to a specific angle; used in robotic arms, door locks.
3. Relay — electrically switches high-power devices (AC fans, lights) using a low-power signal from Arduino.
📊 Exam Pattern — O Level Practical (R5.1)
Structure, marking, and time for all 4 modules
OVERALL STRUCTURE
| Module | Code | Practical Code | Duration | Tasks | Marks |
|---|---|---|---|---|---|
| IT Tools & Network Basics | M1-R5.1 | PR1 | 3 hrs | MS Office + Viva | 100 |
| Web Designing & Publishing | M2-R5.1 | PR2 | 3 hrs | HTML+CSS+JS tasks | 100 |
| Python Programming | M3-R5.1 | PR3 | 3 hrs | 2–3 Python programs | 100 |
| Internet of Things | M4-R5.1 | PR4 | 3 hrs | Arduino programs | 100 |
PASSING CRITERIA
| Component | Minimum Required |
|---|---|
| Theory (each module) | 33% (33/100) |
| Practical (each module) | 33% (33/100) |
| Aggregate (Theory + Practical) | 50% |
SESSIONS COVERED (Last 6 Years)
| Session | When Held |
|---|---|
| January 2021 | Mar–Apr 2021 |
| July 2021 | Sep–Oct 2021 |
| January 2022 | Mar–Apr 2022 |
| July 2022 | Sep–Oct 2022 |
| January 2023 | Mar–Apr 2023 |
| July 2023 | Sep–Oct 2023 |
| January 2024 | Mar–Apr 2024 |
| July 2024 | Sep–Oct 2024 |
| January 2025 | Mar–Apr 2025 |
| July 2025 | Sep–Oct 2025 |
| January 2026 | Mar–Apr 2026 |
MOST REPEATED TOPICS (High Priority)
| Module | Most Repeated Practical Topics |
|---|---|
| M1 | VLOOKUP, Mail Merge, Charts in Excel, Two-column Word document, IP addressing viva, Network topologies |
| M2 | Anchor tags, Registration Form, JavaScript date/time display, Prime numbers JS, CSS background shorthand |
| M3 | Armstrong numbers, Reverse list, Fibonacci, Factorial recursion, File handling, NumPy arrays |
| M4 | LED blink (2 sec), Running LED pattern, DHT11 sensor, LDR-based control, Temperature fan control |
OFFICIAL RESOURCES
📌 Official Previous Papers: student.nielit.gov.in → Login → My Courses → Study Material → Previous Papers
📌 NIELIT Website: nielit.gov.in
📌 Practical Papers + Solutions: olevelstudy.com
📌 M4 IoT Session-wise Papers: olevelexam.com
📌 NIELIT Website: nielit.gov.in
📌 Practical Papers + Solutions: olevelstudy.com
📌 M4 IoT Session-wise Papers: olevelexam.com