MCQ
Which statement is used when there are many alternative actions to be taken depending upon the value of a variable or expression?
  • Switch
  • B
    For
  • C
    If
  • D
    While

Answer

Correct option: A.
Switch
Switch

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free