Local time in Turrialba, Costa Rica

All work
ACADEMIC

REGISTROCE

TEAM OF 3 · PROGRAMMING PARADIGMS (CE1106) · TEC · 2025

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

  1. Seven modules assembled separately with MASM and linked together, sharing symbols through PUBLIC and EXTRN.
  2. Line parser that validates the format and the 0 to 100 range before storing a record.
  3. Sorting swaps only an index table, so names and grades never move in memory.
  4. Single-pass statistics: average, extremes, and pass and fail rates.

STACK

  • x86 16-bit assembly (MASM 6.11)
  • DOS INT 21h
  • DOSBox

MY CONTRIBUTION

  1. Program skeleton, menu, module split and the DOSBox and MASM build setup.
  2. Student entry, input validation and storage.
  3. Search by position.
  4. Sorted listing (reworking the first bubble sort onto the index table) and the statistics module.

SCREENS

  1. 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