LOOPS IN C++

LOOPS IN C++

10th Grade - University

10 Qs

quiz-placeholder

Similar activities

Looping in C Programming

Looping in C Programming

University

9 Qs

Decision and Repetition Blocks Quiz

Decision and Repetition Blocks Quiz

University

15 Qs

Python For Loop Quiz

Python For Loop Quiz

11th Grade

7 Qs

Scratch Lesson 1

Scratch Lesson 1

6th - 10th Grade

11 Qs

Loops and trace tables

Loops and trace tables

11th Grade

13 Qs

Untitledquiz

Untitledquiz

1st Grade - University

10 Qs

AP CSP Loops Practice

AP CSP Loops Practice

9th - 12th Grade

12 Qs

Lesson 6: Loops with Rey and BB-8

Lesson 6: Loops with Rey and BB-8

8th Grade - University

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