
C++ Object-Oriented Programming Quiz
Interactive Video
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
Hard
Jennifer Brown
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main focus of this tutorial?
Functions in C++
Pointers in C++
Classes and objects in C++
Data structures in C++
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a class in C++?
To handle exceptions
To execute code sequentially
To define a blueprint for objects
To store data temporarily
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the MMORPG example, what is the type of the user?
Healer
Archer
Warrior
Mage
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you access the username of player one in the example?
player1.username
player1.getUsername()
player1->username
username.player1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a property of the user in the MMORPG example?
Experience Points
Magic Points
Level
Username
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is created every time a new player object is instantiated?
A new function
A new variable
A new class
A new user
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the initial HP of player one in the example?
50
100
150
200
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?
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