Week 5 Flashcards

1
Q

Why should requirements be analysed?

A

Use cases give little information about structure of software.

Some parts may already exist as standard components

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

What does requirements analysis aim to identify?

A

Structure that can meet the requirements

Common elements that are only needed once

Pre-existing elements that can be reused

Interaction between requirements

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

What does an analysis model do?

A

Confirm what the client wants the system to do

Be understandable and correctly detailed

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

What is the main technique to analyse requirements?

A

Class diagram

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

What two ways can a class diagram be produced?

A

Directly based on knowledge of application domain

By producing separate class diagram for each use case, and then combining them (analysis class model)

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

What is realization?

A

Going from use case to working software implementation (and all the steps between)

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

What is the communication diagram approach?

A

Analyse one use case at a time

Identify likely classes involved

Draw communication diagram that fulfils the needs of the use case

Translate into use case class diagram

Repeat for all use cases

Assemble all the diagrams into a single analysis class diagram

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

What does robustness analysis aim to do?

A

Produce a set of classes robust enough to meet the requirements of a use case

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

What assumptions does robustness analysis make?

A

A class or classes are needed to handle user interface

Logic of the use case is abstracted away from entity classes

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

What are entity classes?

A

Classes that store persistent data

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

What do boundary objects model?

A

Interaction between system and actors

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

What do control objects do?

A

Co-ordinate and control other objects

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

Boundary and Control classes are likely to be

a) unique to one application
b) reusable in multiple applications

A

a) unique to one application

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

What are the three steps in realization of class diagrams?

A

1) Define entity objects
2) Add control objects
3) Add boundary objects

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

What are 8 reasonability checks for candidate classes?

A

Is it beyond the scope of the system?

Does it refer to the system as a whole?

Does it duplicate another class?

Is it too vague?

Is it too tied up with physical inputs and outputs?

Is it really an attribute?

Is it really an operation?

Is it really an association?

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

What is a collaboration?

A

A group of objects or classes that work together to provide an element of functionality or behaviour

17
Q

What is an interaction?

A

An interaction defines the message passing between lifelines (e.g. objects) within the context of a collaboration to achieve a particular behaviour

i.e. how the two objects interact to get something done

18
Q

What do sequence diagrams show?

A

Interaction between lifelines arranged in a time sequence

19
Q

What does a synchronous message cause to happen on the invoking operation?

A

Suspend execution until the synchronous operation is complete

20
Q

Synchronous messages are also known as

A

procedural calls

21
Q

What 3 techniques can be used to model complex interactions in sequence diagrams?

A

Interaction fragments

Lifelines for subsystem or groups of objects

Continuations

22
Q

what are interaction fragments and how are they used?

A

Separate sequence diagram for “sub sequences”

“ref” box on main sequence diagram with name of fragment