Search Header Logo

C++ Quiz 8

Authored by cybernaut c++team

Professional Development

Professional Development

Used 3+ times

C++ Quiz 8
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which loop is faster in c++?

for

while

dowhile

all work at same speed

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

loops in c++ language are implemented using 

while

for

do while

all of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

where we need to execute the body of the loop before testing the condition, we should use

for

while

do while

nested for loop

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which of the following can replace a simple if-else construct

Ternary operator

while loop

do while loop

for loop

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what is the way to suddenly come out or quit any loop in c++?

continue

break

leave

quit

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

the switch statement is also called as

conditional statement

looping statement

jump statement

multiway branching statement

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which are the following is an entry control loop?

while,for

for,do while

do while,while

for

Access all questions and much more by creating a free account

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

Already have an account?

Discover more resources for Professional Development