LOOPS IN C++

LOOPS IN C++

10th Grade - University

10 Qs

quiz-placeholder

Similar activities

Python Programming

Python Programming

University

10 Qs

LA4.C4: Conditions and Loops

LA4.C4: Conditions and Loops

9th Grade - University

14 Qs

C++ For Loop Basic Grade 12

C++ For Loop Basic Grade 12

11th Grade

10 Qs

C++ 2nd Online Quiz

C++ 2nd Online Quiz

University

10 Qs

Kuizi 14 - Web

Kuizi 14 - Web

10th Grade - University

15 Qs

C - Language Quiz

C - Language Quiz

12th Grade

15 Qs

 Arduino Uno R3

Arduino Uno R3

11th Grade

12 Qs

Debugging-Duel-CodeUp'25

Debugging-Duel-CodeUp'25

University

10 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?