
C++ Quiz

Quiz
•
Education
•
University
•
Hard
Julieta Simonyan
Used 5+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What output is produced by the following segment of code:
for(int i = 0; i < 10; i++)
cout << i << " ";
0 1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
Infinite Loop
0 1 2 3 4 5 6 7 8 9
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code print?
198
Value is 198
Error
Value is 100
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code print?
Hello, Your Name
Greetings: Hello, Your Name
Greetings, Hello
Hello, Enter your name
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following C++ code print?
0 1 2 4
0 1 2 3 4
1 2 4
Compiler Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following C++ code print?
5 3 1
5 4 3 2 1
5 2 -1
5 3 0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following C++ code print?
0 1 2 3 4
1 2 3 4 5
0 1 2 3 4 5
1 2 3 4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following C++ code print?
0 1 3 6
0 1 3 6 10
1 3 6 10
1 3 6 10 15
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Educational Psychology Quizizz

Quiz
•
University
10 questions
Hari 3 - Kuis Coding & Perkenalan AI

Quiz
•
KG - University
15 questions
Section-1

Quiz
•
University
10 questions
Unit 2

Quiz
•
University
10 questions
WEEK 10 - JAVA

Quiz
•
University
11 questions
Python - Class

Quiz
•
12th Grade - University
20 questions
PL SQL

Quiz
•
University - Professi...
20 questions
Python_Test

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade