Software Development Methodologies |
Lecture 4 Worksheet | |
Software Development Methodologies Home - Lecture Support - Lecture 4 - Lecture 4 Worksheet | |
|
Quick Links
|
1. Types and Instances Read the following case study and decide whether the statements below are true or false.
(i) 'Passenger trains' and 'Maintenance trains' are instances of the type 'Train type'. TRUE or FALSE? (ii) 'Train number 2718' is an instance of the type 'Passenger train'. TRUE or FALSE? (iii) Trains with numbers in the range 8001 to 9999 are types of 'Maintenance trains' TRUE or FALSE? 2. Private Attributes Explain why class attributes are normally PRIVATE. 3. Cardinality Consider the following class diagram.
Which of the following statements are true and which are false? (i) Customers must buy at least one product line TRUE or FALSE? (ii) A product line is bought by zero or more customers TRUE or FALSE? (iii) You cannot be a customer unless you have bought at least one product TRUE or FALSE? 4. Attributes Explain the circumstances under which you would want to make an attribute of a class, a separate class by itself. 5. Use Cases Explain the use of the stereotype <<extend>>. 6. Sequence Diagrams Which statement is true about a sequence diagram:
7. Decision Tables The following processing is described by the decision table below.
Using the procedure to check the number of rules, see whether the above decision table is complete and, if not, identify which rule is missing. |
Quick Tips |
||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||
|