1 |
_________ statement executes the set of statements under if statement if the condition is true and executes the set of statements under else otherwise: |
if else
condition
while
compound
|
2 |
A ____ could be any valid expression including arithmetic expressions, relational expressions, logical expressions: |
if
while
compound
condition
|
3 |
A set of multiple instructions enclosed in braces is called a block or: |
if
compound
while
if else
|
4 |
Which statement is used to execute one set of instructions if a particular condition is true and another set of instructions if the condition is false ? |
if
if else
else
loop
|
5 |
If we want to associate more than one statements to an if statement, then they need to be enclosed inside a: |
()
*
:
{ }
|
6 |
In which statement we specify a condition, and associate a code to it: |
selection
if
go to
loop
|
7 |
How many types of selection structure ? |
1
3
2
4
|
8 |
The statements which help us to decide which statements should be executed next, on the basis of conditions, are called: |
selection statements
|
9 |
In which control all the statements are executed in the given sequence: |
|
10 |
Which of the following is the default control structure in C language ? |
|
11 |
Which of the following is not a type of control statements in C language ? |
|
12 |
How many types of control statements are available in C language ? |
3
1
2
4
|