OOP Using CPP Quiz 1

OOP Using CPP Quiz 1

University

52 Qs

quiz-placeholder

Similar activities

Sec-C Quiz-2

Sec-C Quiz-2

University

50 Qs

Test 2

Test 2

University

49 Qs

Coursera Entrance Exam - II B.Sc IT B

Coursera Entrance Exam - II B.Sc IT B

University

50 Qs

Assessment Quiz on 09-09-2021

Assessment Quiz on 09-09-2021

University

50 Qs

Python Programming Quiz

Python Programming Quiz

11th Grade - University

50 Qs

Python Quiz

Python Quiz

University

50 Qs

HTML

HTML

8th Grade - University

50 Qs

Ujian Tengah Semester TIK-9A

Ujian Tengah Semester TIK-9A

9th Grade - University

55 Qs

OOP Using CPP Quiz 1

OOP Using CPP Quiz 1

Assessment

Quiz

Computers

University

Medium

Created by

Dr Riman Mandal undefined

Used 1+ times

FREE Resource

52 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • Ungraded

What is your University Roll number (240_______)?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • Ungraded

What is Your Name?

Evaluate responses using AI:

OFF

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What output is produced by the following segment of code:


for(int fun = 20; fun > 1; fun -=3)

cout << fun << " ";

20 17 14 11 8 5 2 -1

20 17 14 11 8 5 2

17 14 11 8 5 2 -1

20 17 14 11 8 5

Infinite Loop

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What output is produced by the following segment of code:


int start = 5;

int end = 20;

for(; start <= end; start +=2)

cout << start << " ";

5 7 9 11 13 15 17 19 21

7 9 11 13 15 17 19 20

7 9 11 13 15 17 19 21

5 7 9 11 13 15 17 19

Infinite Loop

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What output is produced by the following segment of code:


for (int dmc = 8; dmc >= 8; dmc-=4)

cout << dmc << " ";

8 4 0

8 4

8

No Output

Infinite Loop

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What output is produced by the following segment of code:


for (int dmc = 8; dmc >= 10; dmc-=4)

cout << * << " ";

* * *

* *

*

No Output

Infinite Loop

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Q. 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

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?