0% found this document useful (0 votes)
99 views

CS6203C Object Oriented Programming Prelim Lab Q2

The document summarizes the results of a 10 question multiple choice test on object-oriented programming concepts. The test taker answered 9 out of 10 questions correctly, earning a score of 90% overall. Key concepts covered in the test included inheritance, polymorphism, encapsulation, and the relationships between parent/child classes and objects.

Uploaded by

Mohaliden Hamza
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
99 views

CS6203C Object Oriented Programming Prelim Lab Q2

The document summarizes the results of a 10 question multiple choice test on object-oriented programming concepts. The test taker answered 9 out of 10 questions correctly, earning a score of 90% overall. Key concepts covered in the test included inheritance, polymorphism, encapsulation, and the relationships between parent/child classes and objects.

Uploaded by

Mohaliden Hamza
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Marks 9.00/10.

00
Grade 90.00 out of 100.00
Question 1
Correct
Mark 1.00 out of 1.00

Flag question

Question text
[1] is the process by which one class gains the characteristics and capabilities of another
class.
Inheritance
Answer: 

Question 2
Correct
Mark 1.00 out of 1.00

Flag question

Question text
A method's ability to perform various actions depending on the object it is interacting with
is known as [1].
Polymorphism
Answer: 

Question 3
Correct
Mark 1.00 out of 1.00

Flag question

Question text
The term "[1]" refers to a class whose features and capabilities are utilized by another class.
Parent Class
Answer: 

Question 4
Incorrect
Mark 0.00 out of 1.00

Flag question

Question text
The behavior of objects of a particular kind is defined by [1]. It displays a list of all the
objects' properties.
object-oriented programming
Answer: 

Question 5
Correct
Mark 1.00 out of 1.00

Flag question

Question text
For any attributes and internal methods that shouldn't be invoked from other classes, the [1]
modifier should always be used as the default.
Private
Answer: 

Question 6
Correct
Mark 1.00 out of 1.00

Flag question

Question text
One OOP feature called [1] lets us carry out a single action in a variety of ways.
Polymorphism
Answer: 

Question 7
Correct
Mark 1.00 out of 1.00

Flag question

Question text
[1] is another name for encapsulation.
Data hiding
Answer: 

Question 8
Correct
Mark 1.00 out of 1.00

Flag question

Question text
In Java or any Object-Oriented Language, an [1] is the most fundamental entity. Due to the
possibility that each of them could have unique behavior, identity, and data, it reflects real-
life entities.
Object
Answer: 
Question 9
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Binding object state and behavior together is the definition of [1].
Encapsulation
Answer: 

Question 10
Correct
Mark 1.00 out of 1.00

Flag question

Question text
The class that expands the features of another class is known as a [1].
Child Class
Answer: 

You might also like