Faculty of Computers and Information
Mansoura - Universtiy
Questions for Chapter3 DR / Mohamed Mahfouz
prepared by
Eng :- Ahmed Eldeep
. An action or occurrence such as click
. A package of one or more components together
. A set of statement that performs specific task
. A reference type variable
Rate this question:
Steering wheel of the car
Car
Color of the car
Music system of the car
Rate this question:
Car and seat covers
Car and music system
Car and color
Car and engine
Rate this question:
True
False
Rate this question:
An abstract representation of something with certain properties .
. A concrete representation of something with certain properties .
. An abstract representation of something with certain properties and abilities.
A concrete representation of something with certain properties and abilities.
Rate this question:
Coupling objects together more tightly
. Enabling a number of different operations to share the same name
Making objects more dependent on one another
Removing the barriers imposed by encapsulation.
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
Assignment can be done as many times as desired whereas initialization can be done only once.
Assignment can be done only once whereas initialization can be done as many times as desired
. Both are same
None of the above
Rate this question:
Classes defined in other classes
Classes defined in methods
Both A & B
Only A
Rate this question:
Class defined inside a method without a name
It is instantiated and declared in the same place and cannot have explicit constructors
Both A & B
Only A
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
It permits code reusability. Reusability saves time in program development.
It encourages the reuse of proven and debugged high-quality software, thus reducing problem after a system becomes functional
Both A & B
Only A
Rate this question:
True
False
Rate this question:
. A void area in memory is returned so that you can populate it.
No data type is returned
Void is not a valid data type
None of the above
Rate this question:
An Object is an instance of a class
Objects can access both instance and static data
All classes extend the Object class
Objects do not permit encapsulation
Rate this question:
Only those defined in the same class.
Only static methods in the same class.
Only instance methods in the same class.
Only classes in the same package.
Rate this question:
An object instance that has only static methods.
An object instance that has only primitive attributes.
An object instance that contains other objects.
An object that has only primitive attributes and instances methods.
Rate this question:
Method Overloading
Method Invocating
Method Overriding
Method Labeling
Rate this question:
Class
Inheritance
Polymorphism
Aggregation
Rate this question:
Class
Interface
Object
Exception
Rate this question:
Makes programs more reliable.
Simulates real life.
Uses a lot of intimidating vocabulary, which is not as bad as it sounds.
Is all of the above.
Rate this question:
Encapsulation
Inheritance
Polymorphism
All of the above
Rate this question:
True
False
Rate this question:
Quiz Review Timeline (Updated): Mar 20, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.