Any2Quiz
CBSE / 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.

Play all 18 questions free

Sample questions

  1. What is a control structure in programming?

    1. A way to manage hardware
    2. A method to build desktop applications
    3. A way to manage the flow of a program
    4. A technique to optimize code
    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?

    1. Sequential execution
    2. Parallel execution
    3. Random execution
    4. Condensed execution
    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?

    1. #
    2. {}
    3. ()
    4. <>
    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?

    1. When there are multiple precise comparisons
    2. When dealing with a single integer
    3. When optimizing for memory
    4. When all decisions can be computed with arithmetic
    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'?

    1. Data handling
    2. Flow control
    3. Loop architecture
    4. Simple block
    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 quizzes

Browse all Programming quizzes