Practice with Records

  1. Modify program SingleRecords so that it outputs for each student whether his/her theory or practical mark (if either) was greater.
  2. Modify program SingleRecords so that it outputs for each student his/her total mark.
  3. Modify program RecordArray so that it outputs the top practical mark and the full name of the student(s) that obtained it.
  4. Modify program RecordArray so that it outputs for each student his/her total mark.
  5. Modify program RecordArray so that it outputs the mean practical mark and the student(s) that obtained at least the mean mark.
  6. Modify program RecordArray so that it uses procedures for initialization, data entry and processing of the data.
  7. Design your own type of record, perhaps for a member of a club, a library book, or a piece of music. Write a program that will ask the user to enter data for several records stored in an array, then save the array to a file. Create another program that will read the file, display all records and give the user the opportunity to edit any of the records. In this or another program use the seek procedure to access and edit individual records in the file.
  8. The program SeekRecord allows the user to view one record then edit one of its fields. Introduce loops so that the user can edit as many fields as necessary, save the record and then edit further records until accepting an option to quit.
Programming - a skill for life!

Single records and arrays and files of records