ska_ter3
2010-10-24 19:15:57 UTC
Exercise 1: Analyzing a Problem Domain
This exercise is based on a small case study. You will identify the objects,
their attributes and operations involved in the system domain.
Preparation
Read the following case study, and then model the system by choosing
objects and their attributes and operations.
Case Study
A soccer league has many players. Each year there are three seasons and
the league puts together teams for each season. Each team is comprised of
15 players. The goals scored by each player during each season are
tracked. The games played between the teams, their final scores, and each
team’s standings based on its won and lost games are tracked.
Task – Performing an Analysis
Your task is to produce an object-oriented analysis for a Java technology
application that tracks soccer scores. The program should track:
● The list of players on each team
● The number of goals that each player scores
● The games played during a season, including the teams that play
each other, and the final score
The application should be able to generate statistics for teams, players,
and seasons.
To finalize the analysis, complete the following steps:
1. Create a list of the potential objects.
2. Apply the rules in this module to decide if all your objects are valid.
3. Create a list of attributes and operations for each of your objects.