Back to ITP 100 Syllabus

Back to Home Page

Email:  bholt@nvcc.edu

 

Assignment 4  UML Diagrams

Answer the following questions.  Some questions have more than one blank.  Be sure to fill in each of them.  You may submit just the answers or both the questions and answers.  Submit by attaching the assignment to an email.

1.  UML or unified modeling language groups together diagrams which _________ abstracts which help design both entire systems as well as programs.

2.  A _________  is a blueprint for an object, wrapping attributes/properties/data and behavior/operations/methods together.  One advantage of this is that different programmers to develop projects without needing to know what parts of the project other programmers are developing.

2.  A ___________ is a diagram which details a single task or goal.

3.  A customer  the diagram from question 2 would be referred to as a(n)________.

4.  Select an activity appropriate for a customer from the choices below:

a.  payABill
b. orderInventoryforShop

5.  Which activity above would be appropriate for a Clerk?

6.  The concept of __________ can indicate that there could be multiple orders  or multiple instances of an order for one customer.

7.  A makeReservation method would send a ___________ to an object of the Hotel class in order to get a customer a room.

8.  _________ initiate events involved in a task, for example an appointment or a reservation

9.  There is a(n) ____________  between a patient and a use case named  MakeAppointment. 

10.  In the class diagram modeling a Customer-Order System, there is an association between customer and Order as well as between Order and Payment.  How many payments can there be for an order (  Note the 1  connected to  1..* indication)?

11.  Referring to the same diagram as question 10, what does the 1  connected to the 0..* indicate?

12.  There is a generalization line from Cash, Check, and Credit (indicating that they are child classes) to Payment.  This indicates that the parent class or super class is Payment.  The attribute/property that is inherited by Cash, Check and Credit is______________.  (In order for cash to be tendered or an authorization to take place what would be needed?) 

13.  Looking at the class diagram, why would Order represent an aggregation in relationship to Order detail?

14.  What is a sequence diagram?

15.  According to the sequence diagram example, describe in words (your own words, not copied from the explanation below the diagram!!!) each of the objects and methods that occur when a user click on a reservation button on the screen.  You will want to include any repetitive actions/object (loops that may occur) use as well as decisions (If's)

16.  aConfirmation object is only created when what condition is true in the sequence diagram.  _________

17. Using the Digging Deeper:  Class Diagrams information about Composition and Aggregation,  Give an example other than a MovieTheater of an Aggregation and a Composition.  (Feel free to look further on the Internet using search engines as desired or look through some of the other resource links provided on the syllabus)

18.  A Window is another name for a(n)____________ which is the means by which a user interacts with a program...i.e.  the desktop on your computer or a website in which a user can click buttons or select from lists, etc.

19.  The language of the diagrams being studied in this assignment is ___________

20.  An instance of the class patient (i.e. Mrs. Juarez) or the class Hotel (i.e.  Holiday Inn) would be known as a(n)___________ and are created when a program runs.

21. Actions or behaviors such as  MakeReservation() are known as _________  and are executing when a program runs.