Flow of Control — Practice Quiz
CBSE · Class 11 · Computer Science
Try a 4-question quiz on Flow of Control for CBSE Class 11 Computer Science: tap an answer to check it and see why. 34 questions in the full chapter test.
Interactive on Super Tutor
Studying Flow of Control? Get the full interactive chapter.
Quizzes, flashcards, AI doubt-solver and a step-by-step study plan — built for practice quiz and more.
Free trial, no card needed.
Quick Quiz: Flow of Control
0/4Tap an answer to check it instantly. No sign-up needed for these 4.
What will be the output of the following code? ```python age = 16 if age >= 18: print('Eligible') else: print('Not eligible') ```
What is the purpose of indentation in Python?
What will be the output? ```python for i in range(3): if i == 1: continue print(i) ```
What happens if the condition in a while loop is initially False?
Sample Questions
Which statements are true about the break statement?
Show answer
It terminates the current loop, Control moves to statement after the loop, It can be used in both for and while loops
Break statement terminates the current loop completely and transfers control to the statement immediately following the loop. It works in both for and while loops.
What will be the output? ```python num = 10 if num > 5: print('A') elif num > 8: print('B') else: print('C') ```
Show answer
A
In if-elif-else, only the first True condition is executed. Since num=10 > 5 is True, 'A' is printed and the elif block is not checked.
How many times will the inner loop execute in total? ```python for i in range(3): for j in range(2): print(i, j) ```
Show answer
6 times
The outer loop runs 3 times (i=0,1,2). For each iteration of outer loop, inner loop runs 2 times (j=0,1). Total: 3 × 2 = 6 times.
Which loop construct is best when you know the exact number of iterations?
Show answer
for loop
For loop is preferred when the number of iterations is known beforehand, as it provides a more compact and readable syntax with built-in counter management.
+30 more questions on Flow of Control (CBSE Class 11 Computer Science)
Practise AllFrequently Asked Questions
What are the important topics in Flow of Control for CBSE Class 11 Computer Science?
How many practice questions are there for Flow of Control?
Sources & Official References
- NCERT Official — ncert.nic.in
- CBSE Academic — cbseacademic.nic.in
- CBSE Official — cbse.gov.in
- National Education Policy 2020 — education.gov.in
Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.
More resources for Flow of Control
Important Questions
Exam-style questions with answers
Revision Notes
Key points for last-minute revision
Formula Sheet
The chapter's formulas in one place
Chapter Summary
Understand the chapter at a glance
Concept Maps
See how topics connect
Study Plan
Step-by-step plan for this chapter
Flashcards
Quick-fire cards for active recall
Syllabus
What topics to cover
NCERT Solutions
Every textbook question solved step by step
For serious students
Get the full Flow of Control chapter — start free.
Quizzes, flashcards, an AI doubt solver and a study plan for CBSE Class 11 Computer Science. Free to start, no card needed.