
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
50 questions
Programming Paradigm using 'C' Quiz 4

Quiz
•
University
50 questions
C program MCQ contest

Quiz
•
University
50 questions
WEBKA

Quiz
•
University
50 questions
html css and javascript

Quiz
•
University
50 questions
Excel - Hàm

Quiz
•
9th Grade - University
50 questions
SKILL QUIZ

Quiz
•
University
57 questions
Dasar-dasar Pemrograman C++

Quiz
•
University
50 questions
Soal_PHP

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University