1 |
A set of multiple instructions enclosed in braces is called a block or: |
- A. if
- B. compound
- C. while
- D. if else
|
2 |
_________ statement executes the set of statements under if statement if the condition is true and executes the set of statements under else otherwise: |
- A. if else
- B. condition
- C. while
- D. compound
|
3 |
In which statement we specify a condition, and associate a code to it: |
- A. selection
- B. if
- C. go to
- D. loop
|
4 |
Which of the following is a decision making statement ? |
- A. if
- B. getch()
- C. getche()
- D. break
|
5 |
Whihc of the following is a decision statement is called. |
- A. Nested if
- B. Simple if
- C. Many if
- D. Multiple if
|
6 |
A ____ could be any valid expression including arithmetic expressions, relational expressions, logical expressions: |
- A. if
- B. while
- C. compound
- D. condition
|
7 |
_______ statement excutes the set of statements under if statements if the condition is true and execute the set of statemetns under else other wise, |
- A. if - else
- B. condition
- C. while
- D. compound
|
8 |
How many types of selection structure. |
|
9 |
A set of multiple instructions enclosed in braces is called a block or. |
- A. if
- B. if -else
- C. while
- D. compound
|
10 |
The statements which help us to decide which statements should be executed next, on the basis of conditions, are called: |
- A.
- B. selection statements
- C.
- D.
|