DOS Roots Lab

GradeMaker, Rebuilt from 1995

The largest of the early Pascal projects: a menu-driven grade manager with array operations, statistics, search/edit logic, and file load/save behavior.

Run DOS Remake

Use classic menu and prompt flow to manage up to 10 in-session records.

Commands: 1-8 menu options, Y/N confirmations, LOAD/SAVE controls, RESET to restart.

P5CBF.EXE - GradeMaker (1995)
 
G:\>

Original Program Intent

P5CBF.PAS represents a major complexity jump: arrays, menu loops, search/edit routines, and file-oriented workflow.

It shows early thinking about structured data operations and multi-step user interaction.

Original Pascal Logic

From P5CBF.PAS (Turbo Pascal, 1995)

1) Array Declarations

type
  NamesArray = array [1..10] of String20;
  GradesArray = array [1..10] of integer;

2) Main Menu Options

1. Load names and grades
2. Enter names and grades
3. Display chart
4. Display statistics
5. Search/edit by name
6. Search/edit by grade
7. Save to file
8. Quit

3) Statistics Pattern

Max := FindMax(Grades);
Min := FindMin(Grades);
Range := Max - Min;
Average := Sum / Count;
View longer 1995 source excerpt
repeat
  writeln('1. Load names and grades');
  writeln('2. Enter names and grades');
  writeln('3. Display chart');
  writeln('4. Display statistics');
  writeln('5. Search/edit by name');
  writeln('6. Search/edit by grade');
  writeln('7. Save to file');
  writeln('8. Quit');
  readln(Choice);
until Choice=8;

Developer Notes

What Stayed True

  • Core 8-option menu loop and branching feature model.
  • Array-style record handling and stats/search concepts.
  • File import/export remains part of the program story.

What Changed for Web

  • Disk operations are emulated via browser load/download actions.
  • Input checks provide cleaner guardrails during entry/edit steps.
  • Session state lives client-side and resets instantly on command.