1 |
A ____ could be any vilid expresion including arithmetic expression relational expression,s logical expressions. |
- A. If
- B. condition
- C. while
- D. compound
|
2 |
_______ 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
|
3 |
A condition can be any ____________ expression: |
- A. arithmetic
- B. relational
- C. logical
- D. arithmetic, relational or logical
|
4 |
In If statement, what happens if condition is false ? |
- A. program crashes
- B. index out of bound error
- C. further code executes
- D. compiler asks to change condition
|
5 |
A set of multiple instructions enclosed in braces is called a _______: |
- A. box
- B. block
- C. list
- D. job
|
6 |
The statements which help us to decide whihc statements should be executed next, on the basis of conditions, are called. |
- A. Error Control Statements
- B. Selection statements
- C. Sequential Control Statements
- D. Repetition Control Statements
|
7 |
A set of multiple instructions enclosed in braces is called a block or: |
- A. if
- B. compound
- C. while
- D. if else
|
8 |
A ____ could be any valid expression including arithmetic expressions, relational expressions, logical expressions: |
- A. if
- B. while
- C. compound
- D. condition
|
9 |
Selection statements within selection statements are called: |
- A. if else
- B. condition
- C. while
- D. nested selection structures
|
10 |
An if statement inside another if statement is called _______ structure: |
- A. nested
- B. boxed
- C. repeated
- D. decomposed
|