UPDATED Exam Questions and CORRECT
Answers
Three Fundamental Features of OOP - CORRECT ANSWER - Encapsulation
Inheritance
Polymorphism
Encapsulation - CORRECT ANSWER - An object-oriented technique in which the internal
details of an object are "hidden" in order to simplify their use and reuse.
Inheritance - CORRECT ANSWER - A relationship between two classes in which one
class ( the subclass) inherits all of the properties and capabilities of another ( the superclass)
Polymorphism - CORRECT ANSWER - Declaring a variable to have one type while it
refers to an object of a subclass of that type.
Object-Oriented Analysis - CORRECT ANSWER - A means of determining what aspects
of a given problem can be viewed as objects in an eventual object-oriented design.
Object-Oriented Design - CORRECT ANSWER - A software design method that models
the characteristics of abstract or real objects using classes and objects.
Object-Oriented Programming - CORRECT ANSWER - A programming technique that
features objects, classes, encapsulation, interfaces, polymorphism, and inheritance.
Cohesion - CORRECT ANSWER - Degree to which responsibilities of a given component
are a meaningful unit
, Cohesion vs Coupling - CORRECT ANSWER - Greater cohesion reflects better design.
Less coupling reflects better design.
Coupling - CORRECT ANSWER - Degree to which one component must directly access
the data of another component.
Roles - CORRECT ANSWER - Sets of Responsibilities
Roles vs. Objects - CORRECT ANSWER - They are the same when a given role is always
played by the same object type.
Software Components - CORRECT ANSWER - Reuse of code (e.g. Visual Basic,
JavaBean)
Frameworks - CORRECT ANSWER - Reuse of "plug-in" code (e.g. Java Swing)
Design Paterns - CORRECT ANSWER - Reuse of Design
Agile Software Development - CORRECT ANSWER - A philosophy of software
development that embraces flexibility and agility. The design "evolves".
3 Means of Object-Object Access - CORRECT ANSWER - - Parameter Passing
- Object declared in method
- Object is a member of another object through composition [subtype]
Is-a Relationship - CORRECT ANSWER - Describes an inheritance relationship between
two classes
Has-a Relationship - CORRECT ANSWER - The relationship demonstrated by a class that
contains another class.