LOOPS IN C++

LOOPS IN C++

10th Grade - University

10 Qs

quiz-placeholder

Similar activities

CC113B-LoopStatementsQuiz-BSCS1A

CC113B-LoopStatementsQuiz-BSCS1A

University

14 Qs

[CONTROL FLOW STATEMENTS | DIFFICULT]

[CONTROL FLOW STATEMENTS | DIFFICULT]

University

15 Qs

Loops and trace tables

Loops and trace tables

11th Grade

13 Qs

Programming Constructs - Bitesize

Programming Constructs - Bitesize

KG - 11th Grade

10 Qs

C++ misc-1

C++ misc-1

University

15 Qs

Chapter 7: Loops

Chapter 7: Loops

9th - 12th Grade

11 Qs

Programming Constructs

Programming Constructs

12th Grade

10 Qs

Revision for grade12- week 1 &2

Revision for grade12- week 1 &2

12th Grade

15 Qs

LOOPS IN C++

LOOPS IN C++

Assessment

Quiz

Computers

10th Grade - University

Medium

Created by

Hafiz Intsar

Used 169+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

How many loops are there in C++

2

3

4

1

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is currect syntax of for loop?

for(initialization;condition; increment/decrement)

for(increment/decrement; initialization; condition)

for(initialization, condition, increment/decrement

None of These

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Can a for loop contain another for loop?

No

Yes

Compilation Error

Runtime Error

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Each pass through a loop is called a/an

pass through

enumeration

iteration

culmination

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which looping process checks the test condition at the end of the loop?

for

while

do-while

no looping process checks the test condition at the end

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

In a group of nested loops, which loop is executed the most number of times?

the outermost loop

the innermost loop

all loops are executed the same number of times

cannot be determined without knowing the size of the loops

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The statement i++; is equivalent to

i = i + i;

i = i + 1;

i = i - 1;

i --;

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?