Pupil Records Program

Teaching Programming with Turbo Pascal

Copyright © by Mark Baker 1997

Copyright waiver

Return to MarkChrisSoft home page


This is the sheet that I give to pupils when they start to program the pupil records program, towards the end of my learning-to-program course.

Pupils' Records Program

You will need to declare a record type and then make an array of records, eg:
type PupilRecordType = record
	name: string[20];
	form : string[2];
	year : integer;
	end;

PupilArrayType = array[0..maxPup-1] of PupilRecordType

var PupilArray: PupilArrayType;

Program Specification

Your program should:

What you must do

  1. Produce a top-down design, showing several levels of refinement. Get this approved by me.
  2. Design the appropriate date structure(s) and get this approved also.
  3. Produce the program, using proper indenting and comments from the beginning.
  4. Test the program- test all features, use legal, extreme and illegal data.
  5. Document the program (including the testing).

Return to MarkChrisSoft home page

Author: Mark Baker, e-mail mbaker@rmplc.co.uk
Last revision: 4th January 1997