Run DOS Remake
Progressive debug tracks: warm-up math first, then deeper branch and indentation bugs.
Commands: 1-5 menu options, strict dataset formats, HELP for hints, 2 answer attempts, RESET to restart.
A debugging-focused set of classroom Pascal exercises. Instead of one linear app, this remake lets you run challenge tracks and submit corrected outputs.
Progressive debug tracks: warm-up math first, then deeper branch and indentation bugs.
Commands: 1-5 menu options, strict dataset formats, HELP for hints, 2 answer attempts, RESET to restart.
The BUGGY series (BUGGYAV1, BUGGYAV2, BUGGYMA, BUGGYMAX)
was built to practice troubleshooting common logic mistakes.
These programs center on average calculations and maximum tracking, especially branch and loop behavior under real input.
1) Average Track Pattern
while Count <= 5 do
begin
write ('Please enter a score ');
readln (Score);
Sum := Sum + Score;
end;
writeln ('This average is ', (Sum / 5):5:2); 2) Variable-Count Average Pattern
writeln ('How many Scores are you going to enter? ');
readln (Count);
Num := Count;
...
writeln ('The average is ', (Sum / Num):5:2); 3) Max Branching Pattern
if (Sex = 'M') or (Sex = 'm') then
if Score > MaleMax then
MaleMax := Score
else if Score > FemMax then
FemMax := Score; while Score >= 0 do
begin
readln (Sex, Score);
if Score >= 0 then
if (Sex = 'M') or (Sex = 'm') then
if Score > MaleMax then
MaleMax := Score
else if Score > FemMax then
FemMax := Score;
end;
writeln ('The male maximum was ', MaleMax);
writeln ('The female maximum ', FemMax);