Copyright © by Mark Baker 1996
Return to MarkChrisSoft home page
The general purpose programs, such as word processors and spreadsheets, that are available today, are amazingly powerful and offer me, as a teacher of IT/Computing, very good value for money. There are also some outstanding CD-ROM resources and a variety of material for different curricular areas. Surprisingly perhaps, there is however, a lack of material focused on specific areas of the IT curriculum. Much of the theory work that pupils have to cover, has to be done purely by discussion and book work. It would be so much better if you could link the theoretical work with practical exercises. With this thought in mind, I decided to try and write some simulations to back up the work done on computer applications.
Booking systems, for theatres, sports stadiums, cinemas, airlines, etc. form a prominent part of GCSE applications studies, so I decided to start with an airline booking simulation. I wanted something that would allow pupils to go through the process of making bookings under conditions that were as realistic as possible. For example, seats should be hardest to find during peak periods and all flights should be filling up as the simulation progresses. I also wanted something that could be built into a reasonable module of work, to repay the time it would take to develop the program.
This program is about a fictional company, EuroAir, which flies 90 seater jets between several European cities. The seating configuration of 30 business class and 60 economy class seats was taken from a diagram of a Canadian Airlines Boeing 737-300 aircraft.
To limit the size and complexity of the program, the simulation only allows bookings to be taken for the month of December. At the beginning, the number of seats left on each flight is set by a random number generator, although flights close to the current date and those at peak times are weighted more highly and are therefore likely to be more full. Seats continue to fill as time passes.
The main part of the program is the data entry screen, where passenger and flight details can be entered. Various screens of relevant information, such as the routes flown, cities served and their airports and a calendar, can be made to pop up on the screen, by pressing the relevant function key.
The module of work that I devised to go with the program is sequenced as follows.
j. m. smith
the program will change that to
J M Smith
converting to the correct capitalisation and removing the full stops and the multiple spaces between "m." and "smith".
This is an example of the pre-processing of the data. Pupils must then find and write up as many examples of pre-processing and validation as they can.
I was very pleased with the way that the program was received by the Year 10 pupils for whom it was designed and it helped to underline a number of teaching points. I also got some useful mileage out of it with Year 12 and 13 pupils. I got them to help test the program, which was useful in highlighting one or two things that needed to be tightened up. At the same time it reinforced various points about interface design and program testing, appropriate to 'A' level Computing. They of course, delighted in trying to find fault with something that their teacher had written, so I can be sure that the program was stretched to the limit!
Software: Applications for Teachers 1 - Airline Booking 
Author: Mark Baker, e-mail mbaker@rmplc.co.uk