Mistakes to revise Flashcards

1
Q

What is sequence l to r on Sequence Diagram.
Example: Clinic, Patient, Prescription
a. UI, Presrip, Patient, Clinic
b. UI, Clinic, Patient, Prescr

A

B

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

What is notation on Sequence Diagram.
Example: Clinic, Patient, Prescription
a. : userInterface HealthCentre:Clinic Joanna:Patient Prescrip7:Prescription
b. : userInterface HealthCentre,Clinic Joanna,Patient Prescrip7,Prescription
c. : userInterface HealthCentre:Clinic Prescrip7:Prescription Joanna:Patient

A

A

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

Identify the corresponding software reqt for the following:
Customer enters a order no.
A.SFR: UC2, step 2
Description: the system shall
Fit criterion: a valid number shall be accepted
B. Uc2
Description: the system shall
Fit criterion: a valid number shall be accepted
C.
Description: the system shall
Fit criterion: a valid number shall be accepted

A

A

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

Write an invariant in the context of clinic

A. Inv Clinic :
The patient instances linked to dr
Self.patient = self.patient

B. context Clinic inv :
The set of patient instances linked to all Dr instances of clinic is same as patient instances of clinic.
Self.doctor.patient = self.patient

A

B

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

Law of Demeter

A
A method a in a class A should not send a message to another object unless that object is one of the following:
Instance variable used in method m
Parameter to method m
Object created in method m
Global variable used in method m
How well did you know this?
1
Not at all
2
3
4
5
Perfectly