What is your University Roll number (240_______)?

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
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 Quizizz
50 questions
C++ 51-100

Quiz
•
University
50 questions
багдарлама 250_300

Quiz
•
University
50 questions
FINAL TEST FOR JAVA PROGRAMMING 2

Quiz
•
University
50 questions
NRIT_Python_Quiz02

Quiz
•
University
50 questions
PBD_Q_2

Quiz
•
University
50 questions
Technical Quiz 2022-23

Quiz
•
University
50 questions
Quiz Trivia

Quiz
•
University
48 questions
Python Programming

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade