Modelling Flashcards

(25 cards)

1
Q

What is a model

A

A simplification of reality

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

What are the two types of models?

A

Behavioural: Dynamics of a system eg use case diagrams
Structural:: The organisation of a system eg Class diagrams

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

Aims of modelling

A

Template upon which devs can design the system
Specify the structure/behaviour of the system
Document decisions made about the system
Visualise the system as is or is to be

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

Algorithmic Approach

A

Building Blocks: Procedures and Functions
Focus: Control and decomposition of larger algorithms into smaller ones

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

Object Oriented Approach

A

Building blocks: Objects and classes
Focus: Object state, identity and behaviour

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

Purpose of models

A

Abstract reality
Deal with human limits
Filter out details

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

Purpose of Objects

A

Reflects reality more accurately
Reduce semantic gap

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

Perspectives

A

Conceptual
Specification
Implementation

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

Conceptual Perspective

A

Do not consider any aspects of implementation
Only focus on identifying objects

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

Specification Perspective

A

Consider interfaces of objects and how they interact with one another

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

Implementation Perspective

A

Consider all details of objects and how they’ll be programmed

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

Principles

A

Choice of model important
One model isn’t sufficient
Levels of precision may differ
Models are connected to reality

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

Levels of precision

A

Every model can be expressed at different levels of precisioin

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

Models connected to reality

A

All models simplify reality and reflect potentially fatal characteristics

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

No single model is enough

A

Best approached through a small set of independent models that can be studied separately but still interrelated

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

Choice of model is important

A

The choice of what model you use has a profound impact on how a problem is approached and thus how the solution is formed

17
Q

Class diagram

A

Diagram which describes the structure of an OO system by showing the classes and relationships between other classes in the system

18
Q

Sequence diagram

A

Describes the interactions between a set of objects in our system collaborating with one another in chronological order

19
Q

Object diagram

A

Illustrates the instances of classes and their relationships within a system at a specific point in time

20
Q

Component diagram

A

Classify groups into components which support the interchangeability and reuse of code

21
Q

Package diagram

A

Used to simplify complex diagram and allows us to group classes into packages.

22
Q

State machine diagram

A

used to describe state dependent behavior for an object. Eg order, placed dispatched delivered

23
Q

What does UML Stand for?

A

Unified modelling language

24
Q

What does UML do?

A

Provides a common vocab for OO systems and language agnostic way of modelling systems development projects

25
As a language what is UML for?
Visualising Specifying Constructing and Documenting The artefacts of a software-intensive system.