A statement or set of statement that is executed when a particular
condition is true is called……
a) conditional statement
b) logical statement
c) relational statement
d) Boolean statement
A statement that uses relational operators to compare two values……
a) conditional statement
b) logical statement
c) relational expression
d) Boolean statement
How many types of conditional/selection statement?
a) one
b) two
c) three
d) four
Explanation: if statement, if-else statement, nested if statement, switch statement
The simplest form of selection structure is.
a) if statement
b) if-else statement
c) nested if
d) switch statement
When did statements after if statement is executed?
a) condition is true
b) condition is false
c) both a & b
d) none of these
Which of the following is syntax of if statement?
a) if{condition} statement
b) if(condition) statement
c) if” condition” statement
d) all of these