Information Technology Reference
In-Depth Information
gaps by carrying out new, improved interviews. At the end of the analysis phase, a
final requirements specification or requirements specification statement is formed
into the specification document, which is a document that formally expresses all of
the requirements that make up the system.
7.10 Exercises
1. Does object-oriented analysis preclude any kind of software implementation?
2. Describe how, in the face of changing problems, practices, people, and analysis
has evolved, or should have evolved. Include a consideration of the appropri-
ateness of the terms that have been used for the job.
3. Consider a file system with GUI. The following objects were identified from a
use case describing how to copy a file from a floppy disk to a hard disk: FILE,
ICON, Trashcan, Folder, Disk, Pointer. Start the analysis process on this.
4. Assuming the same file system before, consider a scenario consisting of
selecting a File on a floppy, dragging it to a Folder and releasing the mouse.
Identify attributes and look for irrelevant objects.
5. Depict the scenario from exercise 7.4 through UML diagrams (any model
described in the chapter can be used).
6. Consider a traffic light system at a four-way crossroads. Assume the simplest
algorithm for cycling through the lights. Identify objects, states, attributes and
draw a state chart diagram describing them.
7. You are asked to design a group scheduler. The software allows you to arrange
meetings among individuals or groups, and to reserve a limited number of
conference rooms. Implement the object-oriented analysis phase on this.
8. Perform OOA on the following requirements for a checkers game:
• Checkers is played by two people, one with light and one with dark pieces.
• Pieces move diagonally and opponents are captured by jumping over them.
• A piece can only move and capture forward.
• When a piece makes it to the other side of the board, it becomes a king and
can move diagonally in any direction as far as it wants.
• Capturing is mandatory. A piece (or king) that is captured is removed from the
board.
• The player who has no pieces left or cannot move anymore has lost the game.
• Complete the OOA phase for a Tic-Tac-Toe Computer Game using the fol-
lowing description: Tic-Tac-Toe is a 2 player game played on a 3 9 3 board.
Players alternate placing a marker in one of the squares on the board. If a player
gets 3 of their markers in a row, they win. If all squares are full, and neither
player has 3 in a row, the game is a draw. Statistics should be kept for each
player on total games won, lost and drawn. Traditional Markers are X and O.
• Design using UML and any of the OOA models for a worm game application.
In this game, a worm, controlled by the user, navigates the 2 dimensional
Search WWH ::




Custom Search