Mistakes to revise Flashcards
What is sequence l to r on Sequence Diagram.
Example: Clinic, Patient, Prescription
a. UI, Presrip, Patient, Clinic
b. UI, Clinic, Patient, Prescr
B
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
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
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
B
Law of Demeter
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