PTASAPTASA
Slide 1 Slide 1
Slide 2 Slide 2
Slide 3 Slide 3
Slide 4 Slide 4
<
>

DAE CIT-113 CH-06 MCQs

DAE | CIT-113

INTRODUCTION TO COMPTER PROGRAMMING 

CHAPTER : 06

DIPLOMA OF ASSOCIATE ENGINEERING

EXAM PRAPARATION

COMMON WITH:
COMPUTER INFORMATION TECHNOLOGY

MULTIPLE CHOICE QUESTION

Chapter:06 (Iterative Control Construct : Loops)

Question 1:

The continue statement cannot be used with

Question 2:

Which keyword can be used for coming out of recursion?

Question 3:

Goto can be used to jump from main to within a function?

Question 4:

Switch statement accepts.

Question 5:

Which loop is guaranteed to execute at least one time.

Question 6:

A labeled statement consist of an identifier followed by

Question 7:

do-while loop terminates when conditional expression returns

Question 8:

c = (n) ? a : b; can be rewritten asexp1 ? exp2 : exp3;

Question 9:

Which of the following statement about for loop is true ?

Question 10:

Using goto inside for loop is equivalent to using

Question 11:

What is the final value of x when the code int x; for(x=0; x<10; x++) {} is run?

Question 12:

When does the code block following while(x<100) execute?

Question 13:

Which is not a loop structure?

Question 14:

How many times is a do while loop guaranteed to loop?

Question 15:

In _______, the bodies of the two loops are merged together to form a single loop provided that they do not make any references to each other.

Question 16:

What is the output of this program?
void main()
{
if(!printf(""))
printf("hello");
else
printf("world");
}

Question 17:

The three programming structures are:

Question 18:

Which programming structure executes program statements in order.

Question 19:

If used to specify two different choices with if-else statement.

Question 20:

The operation to compare operands and decide if the relation is true or false are:


NOTE
If you find any mistake in them, do tell in the comment, so that it can be corrected.

If you face any issues feel free to contact me on WhatsApp
03129671316, 03085507292

If you want more improvement
Share feedback in the comment

INSTRUCTOR
MUHAMMAD BIN JAMEEL
BSC ENGG. CIVIL
 

1 Comments

Previous Post Next Post