Control Flow Design Flashcards

1
Q

What are the strong points of using use cases?

A
  • Provide a good structtured description of what a system must achieve
  • Good for specifiying actor interfaces
  • Ideal for incrementally collecting requirements
  • Good when initial requirements are poorly understood
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the weak points of using use cases?

A
  • Can only describe business functions; not higher or lower level things
  • Cannot model hierarchical control strucutre of a software system
  • Control logic is only implicit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the 2 main stlyes of modelling behaviour?

A

Flow-based model; actions chosen in a predetermined order

State-based model; actions triggered when in certain states

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

What are 2 Properties of guards?

A

Mutually exclusive

Exhaustive

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

What are the strong points of composing diagrams of subdiagrams?

A
  • Can split complex control flows
  • Each subdiagram has a logical entry/exit
  • Can capture different levels of detail
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the weak points of composing diagrams of subdiagrams?

A
  • Can’t distinguish between exit wih success from exit with failure
  • NEed to invent state variables to control what happens at higher levels
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are swim lanes used for in a UML activity diagram?

A

Show that different activities are done by different business departments
Can also show multithreaded processes executed on different hardware

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

What is the token passing model of a UML activity diagram?

A
  • tokens created at initial node
  • puhsed through graph
  • routed at descisions, collected at merges
  • replicated at forks, merged at joins
  • consumed at final nodes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly