C++ quiz 6

C++ quiz 6

Professional Development

10 Qs

quiz-placeholder

Similar activities

imagePRESS V900 - part 2

imagePRESS V900 - part 2

Professional Development

13 Qs

MICROPROCESSOR QUIZ I

MICROPROCESSOR QUIZ I

Professional Development

15 Qs

Artefactos de Scrum

Artefactos de Scrum

Professional Development

13 Qs

ISO Awareness

ISO Awareness

Professional Development

10 Qs

Product Workshop - Day 1

Product Workshop - Day 1

Professional Development

13 Qs

JTI Blockchain Bootcamp Session 5

JTI Blockchain Bootcamp Session 5

Professional Development

9 Qs

Leading SAFe - Ch 3

Leading SAFe - Ch 3

Professional Development

6 Qs

POPM_Chapter_4

POPM_Chapter_4

Professional Development

6 Qs

C++ quiz 6

C++ quiz 6

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

cybernaut c++team

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many Types of loops are there?

1

4

3

2

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

odd one out

while

dowhile

for

Switch

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the correct Syntax .

for(initialization,condition,increment/decrement)

for(initialization,condition,increment/decrement);

for(initialization;condition;increment/decrement)

for(initialization;condition;increment/decrement);

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for(int i=0;i<5;i++)

{

cout<<"hello";

}

how many times does the loop runs.

4

5

6

0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for(int i=1;i<5;i++)

{

if(i==3)

{

break;

}

cout<<i<<" ";

}

what is the output of the program?

1 2

1 2 3

1 2 3 4

1 2 3 4 5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what is syntax of continue statement?

continue

continue;

cont;

cont

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the operation for break statement?

It skips the specific condition.

It terminates the loop when the specific condition is reached

It terminate the whole loop

No output

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?