Lecture 2: Use Cases, Base Testing and Domain Analysis Flashcards

1
Q

What is Use Case modelling?

A

Model a system requirements by representing the interaction between the actor and the system

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

What does Use cases contain?

A
  • System boundary
  • Actors
  • Use Cases
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Pre and post conditions?

A

Are constraints that define what can and can’t be done

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

What is Actor generalisation?

A

If two or more actors communicate with the same set of use cases, you would generalise and to simplify the model

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

What is a include and extend use case?

A

Are base cases

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

What is <<include>>?</include>

A

Include is used when a use case shares the common behaviour

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

What is <<extend>>?</extend>

A

The extension use case inserts a new behaviour into the base use case

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

What does use-case testing do?

A
  • How a user interacts with the system to ensure the system responds appropriately.
  • Tests a collection of features based on the system’s use case
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is use case testing made up of?

A

Test cases are use case scenarios with concrete data

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

What are test cases NOT suppose to provide?

A

• Test cases MUST provide the data used in the test

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

What must you do after the test case?

A

Record observations by stating how the system has changed

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

What do use cases define?

A
  • User acceptance testing
  • Complying with requirements
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What do test cases define?

A
  • The data satisfies the preconditions to be tested
  • Data comes from actor/tester
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the Fundamentals of Object Orientation?

A

• Objects
- Encapsulation
- Messages
• Classes

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

What are the methods of analysis?

A

Verb and Noun analysis (Problem domain)
CRC (Class, Responsibilities and Collaborators)

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

What is CRC?

A

Stands for: Class, Responsibilities and Collaborators

  • A brainstorming technique used to define the problem domain to model object-oriented using sticky notes!!
  • To identify the classes or attributes
17
Q

What is ‘Responsibility’ in CRC?

A
  • Knowing what the class does the attributes/relationships
  • Doing: execution of operations
18
Q

What is ‘Collaborators’ in CRC?

A

Identifies the collaborators of a class for each responsibility: “Does the class have the ability to fulfil the responsibility?”

19
Q

What is Robustness Analysis?

A
  • First-guess at analysing the classes of objects to participate in the use case
  • Ideas about the user interface
20
Q

What are the 3 Sterotypes?

A
  • Boundary
  • Entity
  • Control
21
Q

What is a Boundary Class?

A

Boundary class: Is an interface (GUI) object that communicates with actors externally

(User/System/Device)

22
Q

What is a Entity class?

A

Objects from the domain model
- Persistent data .i.e. Address

23
Q

What is a Control class?

A

Is an application logic and the glue together the user interface and entity class

24
Q

What is Robustness analysis notation?

A

Sterotypes such as <<boundary>> extend the UML meta_model by introducing new modelling elements</boundary>

  • They have their own icon
  • They are one of the UML extensibility mechanism** **
25
Q

Complete this diagram

A
26
Q

When analysing the use case specification for NOUNS, what must you check?

A

Nouns, the system must keep information about it indicated an entity class

27
Q

Some nouns may indicate what classes?

A
  • Some nouns>attributes between classes
  • Some Nouns>relationship between classes
  • The noun may describe an actor interacts with it which indicate the boundary class
28
Q

What does a verb describe when analysing a use case specification?

A

When describing the things the system does, >

controller class

29
Q

What does a Noun describe when analysing a use case specification?

A

Nouns, the system must keep information about it indicated an

entity class

30
Q

Some verbs indicate what between classes?

A
  • *Relationship** > between classes
  • *Operations** > of a class
31
Q

Why use colour in models? And what is the term?

A

Reducing noise and enriching the content of displays is a technique of layering and separation is called

**Visually Stratifying **

32
Q

Why is colour model so useful?

A
  • The archetypes and their plug-ins form a ‘Domain neutral component’ is called a reusable component
  • Multiple domain neutral components can be linked with each other to represent different complex models
  • Archetypes save a lot of time
  • Can be thought as “Analysis Patterns”