
CHAPTER 19 - C++
Presentation
•
Instructional Technology
•
8th Grade
•
Easy
Klea h
Used 8+ times
FREE Resource
25 Slides • 26 Questions
1
2
3
4
Multiple Choice
Which game is not coded in C++?
GTA5
PubG
5
6
Multiple Choice
Which of the following is NOT commonly created using C++?
Operating Systems
Video Games
Smart Contracts
Databases
7
8
9
Multiple Choice
C++ is __________ sensitive.
keyword
case
time
syntax
10
Multiple Choice
What is mandatory in every C++ program?
Class definition
Skeleton program
Public inheritance
Static methods
11
Multiple Choice
In C++, every statement must end with a __________.
12
13
Multiple Choice
In C++, the operator << is known as:
14
15
Multiple Choice
Which code will output "HelloWorld" without a space between words?
cout << "Hello" << "World";
cout << "Hello" << endl << "World";
cout << "Hello " << "World";
cout << "Hello" << endl; cout << "World";
16
Multiple Choice
What is the effect of inserting << endl in C++ output?
It adds a tab space
It deletes previous output
It moves to the next line
It prints a special symbol
17
18
Multiple Choice
Which is an example of a single-line comment in C++?
19
Multiple Choice
Block comments in C++ are enclosed by:
20
21
Fill in the Blanks
Fill in the blank:
In C++, you must
22
23
Multiple Choice
Which of the following is a valid C++ variable declaration?
integer myVariable;
charactor myVariable;
int myVariable
24
25
Multiple Choice
Which variable name is invalid in C++?
distance_covered
26
27
Multiple Choice
Which is a correctly written constant in C++?
28
Multiple Choice
Which keyword is used to define a constant in C++?
class
Constant
29
30
31
Multiple Choice
Which command is used for standard input in C++?
32
33
Multiple Choice
Which function is used to read an entire line, including spaces?
readLine(cin, var)
getLine(cin, var)
input(cin, var)
scanLine(cin, var)
34
Task: Write a program that asks the user for their name, age and grade, then prints a greeting.
Requirements:
✅ Use cout to ask for the user's name, age, and grade
✅ Use cin to receive input from the user
✅ Display a message to welcome them to Computer Lab.
✅ Add at least one single-line comment explaining a line of code
✅ Add one multi-line comment describing what the program does at the beginning
✅ Share the link of your program via Quickschools
35
36
Multiple Choice
Which operator is used for multiplication in C++?
x
**
mult
37
38
Multiple Choice
C++ does NOT have an exponent (power) operator
True, you cannot do exponent calculations in C++
False, C++ uses the ^ operator for exponentiation.
I have no idea what exponent is
True, but it provides a method from Math library
39
40
Multiple Choice
Which relational operator means "not equal to" in C++?
!=
!==
><
=!
41
Multiple Choice
Which relational operator checks for greater than or equal to?
=>
>=
=>=
>==
=<=
42
43
Multiple Choice
In C++, which operator represents logical AND?
44
Multiple Choice
Which symbol is used for logical OR in C++?
OR
45
46
Multiple Choice
Which is a correct if statement syntax in C++?
if (condition) {
// code to execute
}
47
48
Multiple Choice
Which keyword must immediately follow if, if you ned to add 2 other conditions?
elif
else if
else
49
Multiple Choice
In C++, else without an if block is:
50
51
Show answer
Auto Play
Slide 1 / 51
SLIDE
Similar Resources on Wayground
47 questions
Chemical reactions and equations
Presentation
•
8th Grade
50 questions
Water Properties Review
Presentation
•
8th Grade
45 questions
Sectionalism - causes of the Civil War
Presentation
•
8th Grade
47 questions
ÔN HỌC KỲ 2 LỚP 8 2020 - 2021
Presentation
•
8th Grade
48 questions
L5 Los viajes y vacaciones
Presentation
•
9th Grade
46 questions
Homeostasis & Feedback
Presentation
•
9th Grade
43 questions
NUMBER OF SOLUTIONS FOR EQUATIONS LESSON
Presentation
•
8th Grade
51 questions
Evolution Unit Overview
Presentation
•
8th Grade
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade
Discover more resources for Instructional Technology
10 questions
Columbus Day and Indigenous People's Day
Interactive video
•
5th - 8th Grade
20 questions
Rational and Irrational Numbers
Quiz
•
8th Grade
20 questions
Newton's Laws of Motion
Quiz
•
8th Grade
20 questions
REGULAR Present tense verbs
Quiz
•
8th - 9th Grade
20 questions
Add and Subtract Integers
Quiz
•
6th - 8th Grade
28 questions
SMS Staff by the Numbers
Quiz
•
6th - 8th Grade
20 questions
Slope from a Graph
Quiz
•
8th Grade
25 questions
Making Inferences
Quiz
•
6th - 8th Grade