5. Classes and objects Flashcards

1
Q

What is an object?

A

An entity within the problem domain, which is recognised by the system by storing information about it or by interacting with it or both

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

What is the difference between a class and an object?

A

Class - another term for an object type

Objects - template for producing instances of classes

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

Name 4 methods of finding classes and objects

A
Textual analysis
Identifying uses
Identifying players
Identifying generalisation
Identifying analogies
Identifying re-use
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Draw an example of the UML graphical notation of an object and label each section

A

Object Name (aka Class Name)
Attributes
Operations

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