New: Complete Beginner's Guide to Coding is now available in Premium
Updated: Indian Govt Exam roadmaps now include salary breakdowns & timelines
Tip: Use the Career Hub to explore all career paths in one place

NIELIT O Level Practice Quiz — 50 MCQs

Test your O Level preparation with these 50 multiple-choice questions covering all 4 modules. Click any question to reveal the answer. Aim for 80%+ before your exam.

Test your NIELIT O Level preparation with these multiple-choice questions. Each question has 4 options — click to reveal the correct answer with explanation. These questions are based on the R5 syllabus pattern and cover topics that appear most frequently in exams. If you score below 60%, revisit our preparation strategy before your exam.

How to Use This Quiz

Try to answer each question before clicking to reveal the answer. Keep a score — write down your answers on paper first, then check. Aim for 80%+ (40/50) before your exam. If you get a question wrong, note the topic and revise it from the syllabus. For more practice, download our sample papers.

M1-R5: IT Tools

Q1 Which of the following is volatile memory?
A) ROM
B) RAM ✅
C) Hard Disk
D) SSD
💡 Explanation: RAM loses data when power is off (volatile). ROM, HDD, SSD retain data.
Q2 What is the shortcut for Paste in MS Word?
A) Ctrl+X
B) Ctrl+V ✅
C) Ctrl+C
D) Ctrl+P
💡 Explanation: Ctrl+C = Copy, Ctrl+X = Cut, Ctrl+V = Paste, Ctrl+P = Print.
Q3 Which Excel function counts cells with numbers?
A) COUNTA()
B) COUNT() ✅
C) SUM()
D) LEN()
💡 Explanation: COUNT() counts numeric cells. COUNTA() counts non-empty cells. SUM() adds values.
Q4 What does HTTP stand for?
A) HyperText Transfer Protocol ✅
B) High Text Transfer Protocol
C) HyperText Transmission Protocol
D) Home Text Transfer Protocol
💡 Explanation: HTTP = HyperText Transfer Protocol. HTTPS adds Security (SSL/TLS encryption).
Q5 Which topology connects all devices to a central hub?
A) Bus
B) Ring
C) Star ✅
D) Mesh
💡 Explanation: Star topology: all devices connect to a central hub/switch. Most common in offices.
Q6 What is the full form of URL?
A) Uniform Resource Locator ✅
B) Universal Resource Link
C) Uniform Reference Locator
D) Universal Resource Locator
💡 Explanation: URL = Uniform Resource Locator. It's the address of a web page (e.g., https://google.com).
Q7 Which protocol is used for sending emails?
A) POP3
B) IMAP
C) SMTP ✅
D) FTP
💡 Explanation: SMTP (Simple Mail Transfer Protocol) sends emails. POP3/IMAP receive emails.
Q8 What is the default subnet mask for Class C IP?
A) 255.0.0.0
B) 255.255.0.0
C) 255.255.255.0 ✅
D) 255.255.255.255
💡 Explanation: Class A: 255.0.0.0, Class B: 255.255.0.0, Class C: 255.255.255.0.

M2-R5: Web Design

Q9 Which HTML tag creates a hyperlink?
💡 Explanation: text creates a clickable hyperlink. is for CSS files.
Q10 Which CSS property changes text color?
A) font-color
B) text-color
C) color ✅
D) foreground
💡 Explanation: color: red; changes text color. background-color changes background.
Q11 What does CSS stand for?
A) Creative Style Sheets
B) Cascading Style Sheets ✅
C) Computer Style Sheets
D) Colorful Style Sheets
💡 Explanation: CSS = Cascading Style Sheets. "Cascading" means styles can override each other.
Q12 Which JavaScript method displays an alert box?
A) msg()
B) alert() ✅
C) prompt()
D) confirm()
💡 Explanation: alert() shows a message. prompt() asks for input. confirm() asks yes/no.
Q13 Which HTML5 tag is used for navigation links?
A)
B)
C)
D)
💡 Explanation:
Q14 What is the correct CSS syntax for making text bold?
A) font-weight: bold ✅
B) text-style: bold
C) font-style: bold
D) text-weight: bold
💡 Explanation: font-weight: bold (or 700). font-style is for italic.

M3-R5: Python

Q15 What is the output of print(type(5.0))?
A)
B)
C)
D)
💡 Explanation: 5.0 has a decimal point, so Python treats it as float, not int.
Q16 Which keyword is used to define a function in Python?
A) function
B) func
C) def ✅
D) define
💡 Explanation: def function_name(): is the syntax. Python uses "def" (short for define).
Q17 What does len([1,2,3,4,5]) return?
A) 4
B) 5 ✅
C) 6
D) Error
💡 Explanation: len() returns the number of elements. [1,2,3,4,5] has 5 elements.
Q18 Which method adds an element to the end of a list?
A) add()
B) insert()
C) append() ✅
D) push()
💡 Explanation: append() adds to end. insert(index, value) adds at specific position.
Q19 What is the output of "Hello"[1]?
A) H
B) e ✅
C) l
D) He
💡 Explanation: String indexing starts at 0. [0]=H, [1]=e, [2]=l, [3]=l, [4]=o.
Q20 Which loop is best for iterating over a list?
A) while
B) for ✅
C) do-while
D) repeat
💡 Explanation: for item in list: is the Pythonic way. while works but for is cleaner for sequences.
Q21 What does the "pass" keyword do?
A) Exits the loop
B) Skips iteration
C) Does nothing (placeholder) ✅
D) Passes a value
💡 Explanation: pass is a null operation — placeholder when syntax requires a statement but you have no code yet.
Q22 How do you open a file for reading in Python?
A) open('file.txt', 'w')
B) open('file.txt', 'r') ✅
C) open('file.txt', 'a')
D) read('file.txt')
💡 Explanation: 'r' = read, 'w' = write (overwrites), 'a' = append. Always use with statement.

🎯 Score Check

If you got 40+/50 correct — you're ready for the exam! Below 30? Revise the syllabus and try again.

More Resources

Previous Papers How to Crack Full Syllabus Sample Papers