
OOP Using CPP Quiz 1
Authored by Dr Riman Mandal undefined
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
50 questions
VIRUS AND ANTIVIRUS
Quiz
•
10th Grade - University
50 questions
RIA Revision for Class Test_Set 2
Quiz
•
University
48 questions
Audit Sistem Informasi Quiz UTS Bag_1
Quiz
•
University
50 questions
Blockchain Quiz
Quiz
•
University
50 questions
MCTCC0113
Quiz
•
University
50 questions
UJIAN MID SEMESTER 1 XII RPL PEMROGRAMAN WEB DAN PERANGKAT BERGE
Quiz
•
University
50 questions
Android Development Quiz
Quiz
•
University
50 questions
ICT 201-250
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade