Skip to main content
Chapter 6 of 11
Practice Quiz

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.

34 questions72 flashcards5 formulas & key relations5 concepts

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/4

Tap an answer to check it instantly. No sign-up needed for these 4.

1

What will be the output of the following code? ```python age = 16 if age >= 18: print('Eligible') else: print('Not eligible') ```

2

What is the purpose of indentation in Python?

3

What will be the output? ```python for i in range(3): if i == 1: continue print(i) ```

4

What happens if the condition in a while loop is initially False?

34 Questions·
multiple choicemultiple correctnumerical

Sample Questions

1multiple correct

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.

2multiple choice

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.

3multiple choice

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.

4multiple choice

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 All

Frequently Asked Questions

What are the important topics in Flow of Control for CBSE Class 11 Computer Science?
Key topics in Flow of Control include Flow of Control and Sequence Execution, Selection Statements, Indentation in Python, Repetition and Loops. Study these first, then practise questions on each for Class 11 exams.
How many practice questions are there for Flow of Control?
There are 34 questions on Flow of Control. Try the 4-question sample quiz on this page first; each answer shows an explanation when you tap it.

Sources & Official References

Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.

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.