LOOPS IN C++

LOOPS IN C++

10th Grade - University

10 Qs

quiz-placeholder

Similar activities

HARDWARE AND SOFTWARE

HARDWARE AND SOFTWARE

2nd - 10th Grade

10 Qs

Q1 M 2 - TOPIC 2 / Check your understanding

Q1 M 2 - TOPIC 2 / Check your understanding

10th Grade

10 Qs

ICT 0513 - Chapter 4 : System Unit

ICT 0513 - Chapter 4 : System Unit

University

15 Qs

GCSE AQA 04 Computer Systems - Languages & Translators

GCSE AQA 04 Computer Systems - Languages & Translators

10th - 11th Grade

12 Qs

Arduino

Arduino

7th - 12th Grade

10 Qs

Tree and Planar Graph

Tree and Planar Graph

University

10 Qs

CodeMonkey for B.Ed IT

CodeMonkey for B.Ed IT

University

10 Qs

Cell Phone Vocabulary

Cell Phone Vocabulary

9th - 12th Grade

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers