Control flow: conditionals
Computer Science · Programming fundamentals
Loading practice question…
About this practice set
Control flow: conditionals is a Computer Science quiz (Programming fundamentals) with 5 multiple-choice questions. Pick an answer and read the explanation that follows.
What you will be asked
- Conditionals let programs:
- The if statement runs code when its condition is:
- The else clause runs when the if condition is:
- Nested conditionals are:
- A switch statement is useful for: