CSC 323 Problems, Spring 2007

Notre Dame University–Louaize · Object-Oriented Programming Using C++ · 1 page · Dr. Khaldoun El-Khaldi

All CSC 323 files
CSC 323 Problems, Spring 2007, page 1

Stuck on a question? A tutor can walk you through it.

More CSC 323 files

Show the text of this problems
1 [20 points] Draw a UML class diagram that represents the following description as precisely and completely as possible. Include: attributes, associations, and multiplicities. “A credit card account has a number, and a credit line. Each credit card account belongs to a party. A party has a name and an address, and can be either a person or an organization. Each credit card account can have one or more credit cards. Each credit card has a number, and an expiration date. Each credit card account may contain a number of transactions; each transaction has a date, an amount, and an originating organization. A transaction may have an authorization; each authorization was done by an employee at a certain date, and contains an explanation string.” Party name : String address : String Person Organization CreditCard number : Integer expirationDate : Integer CreditCardAccount number : Integer creditLine : Integer 1 1..* 1..* 1 Employee Transaction date : Date amount : Single origin : Organization 0..* 1 Authorization date : Date explanation : String 1 0..* 0..1 1 1..* 1 0..* 1 1 1..* 0..1 1 1 0..*