1 |
How many types of control statements |
|
2 |
Whihc of the following is a decision statement is called. |
- A. Nested if
- B. Simple if
- C. Many if
- D. Multiple if
|
3 |
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
|
4 |
Which of the following is the condition to check a is a factor of c ? |
- A. a % c == 0
- B. c % a == 0
- C. a*c == 0
- D. a+c == 0
|
5 |
How many types of control statements are available in C language ? |
|
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. a++;
- B. a--;
- C. both (a) and (b)
- D. none
|
8 |
A set of multiple instructions enclosed in braces is called a block or. |
- A. if
- B. if -else
- C. while
- D. compound
|
9 |
_________ 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
|
10 |
If we want to assocate more than one statements to an if statement, then they need to be enclosed inside a. |
|