Important Notice:
|| CCC Result Nov 2025 ||
|| CCC Marksheet Aug 2025 ||
|| O Level Jul 2026 Reg. Form Last Date: 30/04/2026 ||
|| CCC Mar 2026 Exam Postponed ||
|| CCC/ O Level Exam Full Form ||
|| CCC Result Nov 2025 ||
|| CCC Marksheet Aug 2025 ||
|| O Level Jul 2026 Reg. Form Last Date: 30/04/2026 ||
|| CCC Mar 2026 Exam Postponed ||
|| CCC/ O Level Exam Full Form ||
O Level
Notes
Follow us:
OLevelNotes
Home
O Level Notes
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
CCC
CCC Chapter Wise Notes
CCC Chapter Wise MCQ
CCC Modal Paper
CCC Previous Paper
CCC Assignment
CCC Online Test/Real Portal
Chapter Wise MCQ
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
Model Paper
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
O Level Real Test Portal
Old Paper
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
Practical Paper
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
Assignment
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
Contact Us
ADCA Course
Introduction To Computer
Introduction To OS
MS Office
Tally Prime
Graphic Design
Web Design
Programming Language
Learn Typing
Typing Tutor
Typing Test
KCIT Student
Student Login
KCIT Student
M3-R5.1 — Conditional & Iterative Statements MCQ
23 Questions • M3-R5.1
20:00
← Back
1
Which keyword starts a conditional block in Python?
A
when
B
if
C
condition
D
check
2
Correct syntax for if-else in Python?
A
if x > 0: { } else: { }
B
if (x > 0) else { }
C
if x > 0: ... else: ...
D
if x > 0 then else end
3
elif in Python is equivalent to?
A
end if
B
else if
C
exit loop
D
end loop
4
range(5) generates?
A
1,2,3,4,5
B
0,1,2,3,4,5
C
0,1,2,3,4
D
1,2,3,4
5
for i in range(1, 6): iterates?
A
1 time
B
5 times (i=1 to 5)
C
6 times
D
0 to 5
6
while loop runs as long as?
A
Condition is False
B
Condition is True
C
Loop counter is 0
D
The program is running
7
break statement in a loop?
A
Skips current iteration
B
Exits the loop immediately
C
Restarts the loop
D
Pauses for 1 second
8
continue statement in a loop?
A
Exits loop
B
Skips rest of current iteration and goes next
C
Breaks from function
D
Does nothing
9
pass statement in Python?
A
Exits program
B
Does nothing (placeholder)
C
Passes value to next line
D
Skips function
10
A for loop in Python iterates over?
A
Only numbers
B
Any iterable (list, string, range, etc.)
C
Only strings
D
Only dictionaries
11
if statement executes code when condition is?
A
False
B
True
C
None
D
Always
12
elif in Python is short for?
A
else finally
B
else if
C
end if
D
else loop
13
else block executes when?
A
if condition is True
B
All if/elif conditions are False
C
Always
D
Never
14
for loop in Python iterates over?
A
Nothing
B
A sequence (list, string, range)
C
Only numbers
D
Only strings
15
range(2, 8) generates?
A
2 to 8
B
2 to 7
C
3 to 8
D
2 to 6
16
break statement?
A
Skips iteration
B
Exits the loop entirely
C
Continues loop
D
Pauses loop
17
continue statement?
A
Exits loop
B
Skips current iteration, moves to next
C
Breaks code
D
Stops program
18
pass statement does?
A
Exits loop
B
Nothing — placeholder for empty block
C
Prints output
D
Returns value
19
Nested loop is?
A
Loop inside another loop
B
Single loop
C
No loop
D
Infinite loop
20
Infinite loop occurs when?
A
Condition always True and no break
B
Condition is False
C
Using for loop
D
Using if statement
21
range(1, 10, 2) generates?
A
1,2,3...10
B
1,3,5,7,9
C
2,4,6,8
D
1,4,7,10
22
for i in "Hello": prints?
A
Hello once
B
Each character H,e,l,l,o one by one
C
Nothing
D
Error
23
Indentation in Python loops is?
A
Optional
B
Mandatory
C
Only for readability
D
Not needed
📋 Question Navigator
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Answered
Not Answered
ℹ️ Quiz Info
Total Questions:
23
Time Limit:
20 min
Subject:
M3-R5.1
Passing:
60%
Attempt all questions before submitting. You can review your answers using the navigator above.
Answered:
0
/ 23
Submit Quiz