1 |
Which of the following is not a type of control statements in C language. |
Sequential Control Statements
Selection control statements
Repetitio contorl statements
Error Control Statements
|
2 |
How many types of control statements |
1
2
3
4
|
3 |
If statement is used within another if statement is called: |
nested if
simple if
many if
multiple if
|
4 |
Which of the following is a decision making statement ? |
if
getch()
getche()
break
|
5 |
Selection statements within selection statements are called: |
if else
condition
while
nested selection structures
|
6 |
_________ 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
|
7 |
A ____ could be any valid expression including arithmetic expressions, relational expressions, logical expressions: |
if
while
compound
condition
|
8 |
A set of multiple instructions enclosed in braces is called a block or: |
if
compound
while
if else
|
9 |
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
|
10 |
If we want to associate more than one statements to an if statement, then they need to be enclosed inside a: |
()
*
:
{ }
|
11 |
In which statement we specify a condition, and associate a code to it: |
selection
if
go to
loop
|
12 |
How many types of selection structure ? |
1
3
2
4
|