Classes and Objects Flashcards

1
Q

What is an object?

A

An object is any entity with the problem domain, which is recognised by the system by storing information about it and or interacting with it.

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

A class is a term for an object type, a template for producing instances of classes, which are called objects.

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

3 different class stereotypes

A

Entity
Boundary
Control

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

What is an Entity Class?

A

An entity class models the information and associated behaviour of something that is relevant to the problem domain

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

What is a Control Class?

A

A class for co-ordination, sequencing and control of objects. It is recommended that there is a control class for each use case

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

Boundary Class

A

Models the interaction between the actors and the system in the form of the user interface.

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

How is a UML object made up?

A

Object name
Attributes
Operations

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

3 types of links for a class diagram

A

Whole-part
Gen-spec
Association

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

c) How would you check that your class diagram is correct?

A
  1. Check that it copes with all functionality stated in the detailed use case descriptions, both in terms of objects and attributes directly identified and other attributes needed for functions to perform (e.g. status checks, indicators etc)
  2. Check with senior analyst and/or colleague.
  3. Possible check with User but these diagrams are not quite so easy to explain to a User.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly