OO Sys Flashcards
(24 cards)
What is a Class?
A blueprint of which an object is created.
What are Objects?
Instantiations of a class.
Define Attributes in the context of a class.
Information that describes the class - fields.
What does State describe?
The values and relationships at a point in time.
What are Methods in a class?
The behaviour of a class.
What are Messages in object-oriented programming?
Information sent to an object to trigger a method (procedure call).
What is Encapsulation?
Combination of process and data.
Define Information Hiding.
Functionality that is hidden from the user.
What does Inheritance allow in OO systems?
Subclasses can inherit data and methods from a superclass.
What are Superclasses?
General classes created from which subclasses are derived.
What is Polymorphism?
The same message can have different meanings.
Define Dynamic Binding.
The type of object is not determined until runtime.
What contrasts with Dynamic Binding?
Static Binding, where the object is constructed at compile time.
What is Abstraction in OO systems?
Something non-concrete that can create an interface or an abstract class.
Can you create an instance of an interface directly?
No, you can only extend from/implement it.
What is the purpose of an Abstract Class?
Acts as an object which can be modified from, can have its own implementations.
What is a Use Case in OO Systems Analysis?
Defines the behaviour of a system focusing on one business process.
What does Architecture Centric refer to?
Functional, Static, and Dynamic views of a system.
What does Functional view focus on?
Users perspective.
What does Static view focus on?
Attributes, methods, classes & relationships.
What does Dynamic view focus on?
Messages between classes and resulting behaviours.
What does Iterative and Incremental mean in OOAD?
Undergoes continuous testing and refinement.
What is Test Driven Development?
A method where tests are created before code implementation.
List one benefit of OOAD.
- Breaks complex systems into smaller manageable modules
- Allows individual work on those modules.