Font size
WorksheetsConditional Control Statements
Total questions: 10
Worksheet time: 3mins
1. The decision control statements are the decision-making statements that decides the order of execution of statements based on the __________.
Functions
Output
Operators
Conditions
2. In the decision-making statements the programmer specify which conditions are
to be _______.
Executed
Evaluated
Applied
Compiled
3. The statement used if to specify a block of code to be executed, if a specified condition is true.
Break
else if
if
else
4. It requires that the programmer specify one or more conditions to be evaluated or tested by the program.
Compiling
Decision making structures
Conditional operators
Conditional variable
5. The following are conditional control statements EXCEPT:
else if
if
else
break
6. Use else to specify a block of code to be executed, if the same condition is false.
else
if
else if
break
7. Used to specify a new condition if the first condition is false.
if
break
else if
else
8. The (a) control statements are the decision making statements that decides the order of execution of statements based on the conditions.
9. Use the if statement to specify a block of code to be executed if a condition is (a) .
10. Use the else statement to specify a block of code to be executed if the condition is (a) .
