
OOP Using CPP Quiz 1

Quiz
•
Computers
•
University
•
Medium

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
Similar Resources on Wayground
49 questions
Python Programming Basics Quiz

Quiz
•
University
50 questions
Technical Quiz 2022-23

Quiz
•
University
48 questions
Python Programming

Quiz
•
University
50 questions
FINAL TEST FOR JAVA PROGRAMMING 2

Quiz
•
University
49 questions
TSW II intercorso

Quiz
•
University
50 questions
2 рк -1

Quiz
•
University
50 questions
Quiz PSBO (2024-01)

Quiz
•
University
51 questions
Private TST G10 ICT ch 6 and 21 final trial

Quiz
•
11th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University