
Chapter 15 Quiz
Authored by Albert Gorup
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A constructor can be redefined.
True
False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the following class definition, what is the name of the subclass?
class Rose: public Flower { ... };
Rose
Flower
Rose Flower
None of them.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When there are several classes that have many common data attributes/fields, it is better to write a(n) ________ to hold all the general data.
superclass
subclass
object
method
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To redefine a function, the function must be defined in the derived class using the same signature and return type as in its base class.
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The final keyword can be used to prevent a function to be overridden or to declare a constant.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct syntax for defining a class named Table, which inherits from the class named Furniture?
class Table(Furniture);
class Furniture: public Table { ...};
class Table(Furniture) { ...};
class Table: public Furniture { ...};
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?
Similar Resources on Wayground
10 questions
2025 python class first quiz
Quiz
•
9th Grade - University
10 questions
Let's Play Together
Quiz
•
University - Professi...
10 questions
WORD ĐỀ 6
Quiz
•
University
10 questions
AIML
Quiz
•
University
10 questions
Machine Learning (Introduction)
Quiz
•
University
11 questions
Determining System Requirements
Quiz
•
University
10 questions
Planning and Implementation of Information Security
Quiz
•
University
10 questions
INTO Artificial Intelligence
Quiz
•
University - Professi...
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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