Problem Analysis  «Prev  Next»

Classes Objects (Domain Classes) - Exercise

Course project - Identify classes and objects

Objective:Identify classes in the course project problem statement.

Exercise scoring

This exercise is worth 15 points.

Background/overview:

This is the first exercise in the course project.

Download files


No downloadable files are required to complete this exercise.

Instructions


Using the original course project problem statement (below), identify the nouns.
Which nouns qualify as problem domain classes?
Answer the following:
  1. If the word does not represent a class, then explain why.
  2. If the word does represent a class, then provide a name for the class.
  3. Finally, for each class you found, describe the purpose of the class to explain why you think it is needed as a class for this problem domain.

Hints

: Remember that problem domain classes are used by the users whether or not you ever provide a software application.

Problem statement

Our auditorium is used for different types of events. Some of the events are one-time events, such as basketball games. Other events consist of a number of shows, such as plays or concerts. The event planner can change the floor plan for each event. Some events use the floor for seating (like concerts) and others do not (like basketball games). All the show seating charts for the same event should be based on the same floor plan.
The event planner schedules events and shows. Once an event is negotiated, the event planner decides on the floor plan and schedules the individual shows for the event. Once the shows are scheduled, the event planner prices the shows.

Pricing

Pricing is done using a pricing plan. A pricing plan consists of a set of price tiers. Each price tier contains prices for one or more price types: adult, senior, student, and child. The event planner assigns each price tier to a group of seats in a show, one tier per seat. The event planner may also add one or more discounts to the show to try to improve sales. Customers can purchase seats online. Once they provide us with their mailing address, they can look up shows and select the seats they want to reserve. We will accept only credit card payments. If customers want refunds, we will credit the card used to purchase the ticket.

Submitting your exercise