Exercises

Exercise 4.1: OOA for a concert ticket site

Let’s revisit the ticket-site example that was mentioned in Exercise 2.1. Here’s the specification again.

A client can visit the server and search a schedule for a concert. A concert specifies a performer, a venue and a date. After selecting a concert, the client sees a list of some available tickets, specifying seat and price. The client can view a map to see where the seats are located. The client can select tickets and add them to his or her order. The client can buy the order by filling in an address form and giving credit card information.

Figure out a set of classes based on some or all of the nouns in the description and arrange them into a UML diagram. Test the completeness of your ...

Get Software Engineering and Computer Games now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.