SDSUCS 596 Client-Server Programming
Spring Semester, 1997
Assignment 1

To Assignment Index
San Diego State University -- This page last updated January 27, 1997
----------

Airline Reservation System
Due Tuesday 2/11/97


The assignment is to design and implement a simple airline reservation system in Java. This program is to run on a single computer, that is it is not a client-server system. In future assignments you will implement client-server versions of this program. In this assignment a GUI interface is neither required nor prohibited. In general, it is better to produce a well designed and well implemented basic program than to produce a poor quality program with lots of fancy features.

The airline reservation system will need to be able to perform the following actions:


Reservations should include the passenger's name, flight, time and date of travel,and the aircraft type. Cities are known by their airline abbreviations. The following cities will be used:

SANSan Diego
LAXLos Angeles
DFWDallas/Fort Worth
DEDenver
AMSAmsterdam
FARFargo ND


All flights are daily. All flights are always on time. Reservations can be made up to the time that the flight leaves.

There are several types of planes. They only differ in the number of seats:

TypeSeats
A5
B10
C15

What follows is the daily schedule of flights. All times are PDT.

FromToDepart TimeArrival TimeFlight numberAircraft type
AMSLAX04:1515:15602C
DEDFW9:0011:301201B
DEDFW12:0014:301202B
DEDFW16:0018:301203B
DEFAR10:1212:12902A
DEFAR18:2420:24903A
DELAX11:301:00202B
DELAX17:3019:00204C
DFWDE9:0011:301204B
DFWDE12:0014:301205B
DFWDE16:0018:301206B
DFWLAX12:3015:30302B
DFWLAX14:3017:30304C
DFWLAX19:3022:30306A
FARDE9:0011:00904A
FARDE19:0021:00905A
LAXAMS14:301:30601C
LAXDE8:3010:30201B
LAXDE14:3016:00203C
LAXDE19:3021:20205A
LAXDFW9:3012:00301B
LAXDFW13:3016:00303C
LAXDFW17:3020:00305C
LAXSAN09:009:31101A
LAXSAN11:0011:31103A
LAXSAN13:0013:31105A
LAXSAN15:0015:31107A
LAXSAN17:0017:31109A
SANLAX08:008:31100A
SANLAX10:0010:31102A
SANLAX12:0012:31104A
SANLAX14:0014:32106A
SANLAX16:0016:30108A

----------