LOOPS IN C++

LOOPS IN C++

10th Grade - University

10 Qs

quiz-placeholder

Similar activities

Express Course 6th

Express Course 6th

5th - 12th Grade

13 Qs

Control Statements - Java

Control Statements - Java

University

15 Qs

Seatwork 2

Seatwork 2

University

10 Qs

Operators - Arithmetic, Relational, Logical

Operators - Arithmetic, Relational, Logical

University

10 Qs

Programming - Iteration, Basic Programming Constructs & Loop

Programming - Iteration, Basic Programming Constructs & Loop

2nd - 12th Grade

10 Qs

FOR Loops Python

FOR Loops Python

9th - 12th Grade

12 Qs

C# Loops (All)

C# Loops (All)

9th - 12th Grade

15 Qs

C++ programing Quiz

C++ programing Quiz

12th Grade - 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?