1 |
Which Statements is used ot execute not set of instructions, if a particular condition is true and another set of instructions if the condition is false. |
- A. if
- B. else
- C. if else
- D. loop
|
2 |
In whihc statement we -specify a condition, and assoclate a code to it. |
- A. go to
- B. selection
- C. If
- D. loop
|
3 |
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
|
4 |
Selection statements within selection statements are called: |
- A. if else
- B. condition
- C. while
- D. nested selection structures
|
5 |
A condition can be any ____________ expression: |
- A. arithmetic
- B. relational
- C. logical
- D. arithmetic, relational or logical
|
6 |
Whihc of the following is a decision statement is called. |
- A. Nested if
- B. Simple if
- C. Many if
- D. Multiple if
|
7 |
A ____ could be any vilid expresion including arithmetic expression relational expression,s logical expressions. |
- A. If
- B. condition
- C. while
- D. compound
|
8 |
A set of multiple instructions enclosed in braces is called a block or. |
- A. if
- B. if -else
- C. while
- D. compound
|
9 |
Which of the followingt is the default control structrue in C language. |
- A. Sequenctial Control Statements
- B. Selection Control statements
- C. Repetition Control Statements
- D. Error Control Statements
|
10 |
If statement is used within another if statement is called: |
- A. nested if
- B. simple if
- C. many if
- D. multiple if
|