Skip to main content
Chapter 6 of 11
Practice Quiz

Flow of Control

CBSE · Class 11 · Computer Science

Practice quiz for Flow of Control — CBSE Class 11 Computer Science. MCQs and questions with answers to test your preparation.

34 questions72 flashcards5 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.

1,000+ Class 11 students started this chapter today

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 available

Practice All

Frequently Asked Questions

What are the important topics in Flow of Control for CBSE Class 11 Computer Science?
Flow of Control covers several key topics that are frequently asked in CBSE Class 11 board exams. Focus on the core concepts listed on this page and practise related questions to build confidence.
How to score full marks in Flow of Control — CBSE Class 11 Computer Science?
Understand the core concepts first, then work through the 34 practice questions available for this chapter. Revise formulas and definitions regularly, and use flashcards for quick recall before the exam.

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 — for free.

Quizzes, flashcards, AI doubt-solver and a step-by-step study plan for CBSE Class 11 Computer Science.