1 |
Selection statements within selection statements are called. |
- A. if -else
- B. condition
- C. while
- D. nested selection structures
|
2 |
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
|
3 |
A condition can be any ____________ expression: |
- A. arithmetic
- B. relational
- C. logical
- D. arithmetic, relational or logical
|
4 |
How many types of selection structure. |
|
5 |
Which of the following is a decision making statement ? |
- A. if
- B. getch()
- C. getche()
- D. break
|
6 |
A ____ could be any valid expression including arithmetic expressions, relational expressions, logical expressions: |
- A. if
- B. while
- C. compound
- D. condition
|
7 |
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
|
8 |
Which of the following is not a type of control statements in C language ? |
|
9 |
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
|
10 |
Whihc of the following is a decision statement is called. |
- A. Nested if
- B. Simple if
- C. Many if
- D. Multiple if
|