Any2Quiz
Quizzes / CBSE / Class 10 / ICT / Programming

Control Structures Quiz - CBSE Class 10 ICT

Free practice quiz: Control Structures (CBSE Class 10 ICT). 18 multiple-choice questions with answers and explanations. Play online, no sign-up needed.

This CBSE Class 10 ICT practice quiz has 18 multiple-choice questions on Control Structures, and 18 of them come with an explanation. Try the 5 sample questions below (tap an option to check yourself), then play the full quiz online. No sign-up needed.

Start quiz: 18 questions, free

Sample questions

  1. What is a control structure in programming?

    Show answer

    Answer: C. A way to manage the flow of a program

    Control structures are used to dictate the order of execution of the statements in a program.

  2. What is the default flow of control in a program?

    Show answer

    Answer: A. Sequential execution

    Programs execute in a sequential order unless control structures dictate otherwise.

  3. Which symbol marks the beginning of a block in most syntax?

    Show answer

    Answer: B. {}

    In many programming languages, curly braces '{}' are used to define the start and end of a block of code.

  4. When should 'if-else' be preferred over 'switch' statement?

    Show answer

    Answer: A. When there are multiple precise comparisons

    An 'if-else' chain is more suitable for precise or logical conditions, unlike 'switch', which is better for predefined constant values.

  5. Which of the following can be used as a synonym for 'control structure'?

    Show answer

    Answer: B. Flow control

    Control structures are frequently referred to as flow control; they determine the path that execution will follow.

Take the full quiz

More questions in this quiz

Answers and explanations are in the full quiz.

  1. Which of the following is a control structure?
  2. What is the primary purpose of an 'if' statement?
  3. What role does a 'switch' statement play?
  4. Which of the following is not a control structure?
  5. How does a 'for' loop differ from a 'while' loop?
  6. What does a 'break' statement do in a loop?
  7. What is a common use of the 'continue' statement?
  8. Which statement checks an expression against predefined constants?
  9. Why is a break statement used in switch cases?
  10. What is the main purpose of using 'else' in an 'if' construct?
  11. Why is recursion considered a form of control structure?
  12. Which loop is best suited for iterating a known number of times?
  13. What control structure allows branching in decision trees?

More quizzes

Browse all Programming quizzes

More to play

Daily ChallengeA new quiz every day. Keep your streak.HangmanGuess the word, letter by letter.Story QuestLearn through short interactive stories.All quizzesCBSE, ICSE, competitive exams and more.