OO Sys Flashcards

(24 cards)

1
Q

What is a Class?

A

A blueprint of which an object is created.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are Objects?

A

Instantiations of a class.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define Attributes in the context of a class.

A

Information that describes the class - fields.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does State describe?

A

The values and relationships at a point in time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are Methods in a class?

A

The behaviour of a class.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are Messages in object-oriented programming?

A

Information sent to an object to trigger a method (procedure call).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Encapsulation?

A

Combination of process and data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Define Information Hiding.

A

Functionality that is hidden from the user.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does Inheritance allow in OO systems?

A

Subclasses can inherit data and methods from a superclass.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are Superclasses?

A

General classes created from which subclasses are derived.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Polymorphism?

A

The same message can have different meanings.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Define Dynamic Binding.

A

The type of object is not determined until runtime.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What contrasts with Dynamic Binding?

A

Static Binding, where the object is constructed at compile time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is Abstraction in OO systems?

A

Something non-concrete that can create an interface or an abstract class.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Can you create an instance of an interface directly?

A

No, you can only extend from/implement it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the purpose of an Abstract Class?

A

Acts as an object which can be modified from, can have its own implementations.

17
Q

What is a Use Case in OO Systems Analysis?

A

Defines the behaviour of a system focusing on one business process.

18
Q

What does Architecture Centric refer to?

A

Functional, Static, and Dynamic views of a system.

19
Q

What does Functional view focus on?

A

Users perspective.

20
Q

What does Static view focus on?

A

Attributes, methods, classes & relationships.

21
Q

What does Dynamic view focus on?

A

Messages between classes and resulting behaviours.

22
Q

What does Iterative and Incremental mean in OOAD?

A

Undergoes continuous testing and refinement.

23
Q

What is Test Driven Development?

A

A method where tests are created before code implementation.

24
Q

List one benefit of OOAD.

A
  • Breaks complex systems into smaller manageable modules
  • Allows individual work on those modules.