ACADEMIC
REGISTROCE
OVERVIEW
Console grade manager written in 8086 assembly for DOS. It registers up to 15 students, computes statistics, searches by position and sorts grades with a bubble sort over an index table.
HIGHLIGHTS
- Seven modules assembled separately with MASM and linked together, sharing symbols through PUBLIC and EXTRN.
- Line parser that validates the format and the 0 to 100 range before storing a record.
- Sorting swaps only an index table, so names and grades never move in memory.
- Single-pass statistics: average, extremes, and pass and fail rates.
STACK
MY CONTRIBUTION
- Program skeleton, menu, module split and the DOSBox and MASM build setup.
- Student entry, input validation and storage.
- Search by position.
- Sorted listing (reworking the first bubble sort onto the index table) and the statistics module.
SCREENS
Statistics output: average, extremes, pass and fail rates
CHALLENGE
Fixed-width name fields have no terminator, so printing them as strings ran past the field and showed garbage. Sorting an index table and printing each field character by character fixed it.
LOOKING BACK
The original requirement asked for grades with decimals. The final version is integer-only and truncates the average.
TEAM
Team project withAllan Zheng TangJavier Mora Masis