Empowering Students with AI-Powered Assessments & Intelligent Learning
Chapter Exam

Chapter 10: Flow of Control — Online MCQ Test

COMPUTER SCIENCE · CLASS 11th · Tamil Nadu State Board

Practice Chapter 10: Flow of Control with a free chapter-wise online MCQ test for Tamil Nadu State Board CLASS 11th COMPUTER SCIENCE. This chapter covers: Exploring control structures this chapter details decision-making statements and looping constructs in C++. Students master if-else switch statements for while and do-while loops t.... AI-generated questions from basic to board-exam level, with instant results and explanations.

10
Questions
20m
Time Limit
3
Attempts Left
  • 10 random questions from this chapter (mixed difficulty)
  • Questions you've seen before won't repeat until the pool resets
  • You have 20 minutes — exam auto-submits when time is up
  • Maximum 3 attempts per chapter
  • Results and explanations shown immediately after submission
Login to Start This Exam →

New here? Register free — includes 3 free chapter exams.

Chapter 10: Flow of Control — Important Questions & Answers (FAQ)

Frequently asked questions from Tamil Nadu State Board CLASS 11th COMPUTER SCIENCE — Chapter 10: Flow of Control, with answers and explanations. These are sample questions; the exam has its own separate question set.

Which statement is known as a selection statement in C++?
  • A. if ✓
  • B. for
  • C. while
  • D. do-while
Answer: A. if
The 'if' statement is a decision-making or selection statement, whereas the others are iteration statements.
Which of the following is an entry-controlled loop?
  • A. do-while
  • B. while ✓
  • C. switch
  • D. if-else
Answer: B. while
In a while loop, the condition is checked at the beginning before executing the loop body.
How many times does the body of a 'do-while' loop execute at minimum?
  • A. Zero
  • B. One ✓
  • C. Infinite
  • D. Depends on the condition
Answer: B. One
Since the condition is checked after the body, the body of a do-while loop executes at least once regardless of the condition.
Consider: if(x=10) cout << "Hi"; What happens if x was initially 5?
  • A. Compilation error
  • B. Nothing happens
  • C. Hi is printed ✓
  • D. Program crashes
Answer: C. Hi is printed
The expression x=10 is an assignment returning 10, which evaluates to 'true' in C++, so 'Hi' is printed.
Which of these expressions is invalid as a switch case label?
  • A. 10
  • B. 'A'
  • C. x + 2 (where x is a constant)
  • D. 5.5 ✓
Answer: D. 5.5
Switch case labels must be constant integral types (int, char, enum). Floating-point values are not allowed.

Choose Your Plan & Start Practising

All plans cover every subject and chapter of your registered grade.

Free
₹0
3 exams · 1 year
Start Free →
Active
₹350
12 exams · 1 year
Get Active →
Pro
₹899
Unlimited exams · 1 year
Get Pro →
NEET
₹999
Unlimited exams · 1 year
Get NEET →

Compare all plans in detail →