Only your first attempt at each question counts toward this score. Reload the page to reset.
This section contains 20 interactive knowledge checks designed to test your understanding of the materials covered in Chapter 1. The questions start with foundational concepts and gradually progress to more advanced scenarios. Take your time to think through each question.
Drag class names from the pool into the slots so each class sits below its parent in the inheritance tree. Abstract classes are shown in italics with an amber accent — slots expecting an abstract class are pre-marked with «abstract». Click Submit when you're done.
Inheritance Tree (base class on top)
«abstract»
«abstract»
·····
«abstract»
·····
Available Classes
Temperature
Motor
Refrigerator
Electricity
Appliance
CoolingAppliance
Oven
HeatingAppliance
Q10
Quiz
Select 0/1
When defining the relationship between a 'Car' and an 'Engine', which of the following is correct?
Drag class names from the pool into the slots so each class sits below its parent in the inheritance tree. Abstract classes are shown in italics with an amber accent — slots expecting an abstract class are pre-marked with «abstract». Click Submit when you're done.
Inheritance Tree (base class on top)
«abstract»
«abstract»
·····
«abstract»
·····
·····
Available Classes
Pixel
TextBox
UIElement
Container
Control
MouseClickEvent
Window
Theme
Button
Q14
Quiz
Select 0/1
Which of the following statements about Abstract Classes is true?
Drag class names from the pool into the slots so each class sits below its parent in the inheritance tree. Abstract classes are shown in italics with an amber accent — slots expecting an abstract class are pre-marked with «abstract». Click Submit when you're done.
Inheritance Tree (base class on top)
«abstract»
«abstract»
·····
«abstract»
·····
·····
Available Classes
ReadableMedia
Duration
PlayableMedia
Volume
Page
Library
AudioTrack
Book
Movie
MediaItem
Q18
Quiz
Select 0/1
If a derived class 'EstateCar' defines a 'draw()' method that replaces the 'draw()' method inherited from the 'Car' class, what OOP feature is being used?
Drag class names from the pool into the slots so each class sits below its parent in the inheritance tree. Abstract classes are shown in italics with an amber accent — slots expecting an abstract class are pre-marked with «abstract». Click Submit when you're done.
Drag class names from the pool into the slots so each class sits below its parent in the inheritance tree, then click Submit.
Inheritance Tree (base class on top)
·····
·····
·····
·····
·····
Available Classes
Font
Document
TextDocument
Report
Invoice
Margin
FileSize
Spreadsheet
Printer
Congratulations on completing the Chapter 1 Knowledge Test! Review any questions you missed to ensure a solid foundation in Object-Oriented Programming principles before moving on to the next chapter.