-
Notifications
You must be signed in to change notification settings - Fork 9
Testing and Debugging
Module Four is primarily a pseudocode design assignment. The graded file is:
design/hilow_game.pseudo
Testing the design means checking whether the planned sequence, decisions, validation, and loops match the current assignment requirements and sample behavior.
Use the repository README and Design README for required steps. This page explains manual design review, the GitHub Actions artifact check, and optional Python testing.
Use sample scenarios to follow your pseudocode from beginning to end.
Ask questions such as:
- Are the lower and upper bounds obtained in the correct order?
- Does validation repeat when the bounds are invalid?
- Does the guessing loop continue while the game is not finished?
- Does each guess lead to the correct decision branch?
- Does the program stop at the correct time?
Compare your design with the current Guidelines and Rubric and official sample output.
Each push to your personal repository runs IT 140 Checks.
The student-facing Module Four job is:
Assignment artifact check
The check can verify basic repository/file conditions such as whether required course files remain present and whether the graded pseudocode has moved beyond its starter state while retaining expected basic structure.
To review feedback:
- Open your personal
it140-m4-assignmentrepository on GitHub. - Select Actions.
- Open the most recent IT 140 Checks run.
- Open Assignment artifact check.
A green result means the automated checks passed for the repository state they inspect.
It does not mean the pseudocode satisfies every rubric criterion, contains correct logic for every path, or has been submitted for grading.
Manual requirement-based review is still required.
After the graded pseudocode is complete, you may optionally translate your design into:
src/hilow_game.py
Optional construction can help you discover missing or unclear design steps.
If the Python program is difficult to implement because the pseudocode is unclear, return to the design rather than adding unexplained logic only in the code.
Optional tests can help you compare program behavior with expected scenarios, but they do not change the one-file graded Module Four submission.
If a hand trace or optional program produces the wrong planned result:
- Identify the requirement or sample behavior involved.
- Follow the pseudocode one step at a time.
- Locate the first point where the planned path differs from the requirement.
- Correct one design problem at a time.
- Trace the scenario again.
If the check reports a problem caused by your editable file, use the feedback to revise it.
If the workflow appears unable to run because of a missing provided file, GitHub Actions configuration problem, or another technical course-repository issue, report it through GitHub Issues.
See Assignment Problems and Support.
Before submitting the graded pseudocode:
- Review it against the current Guidelines and Rubric.
- Trace important sample paths by hand.
- Follow the root README's save/commit/push workflow.
- Review the latest Assignment artifact check.
- Submit the required pseudocode file in D2L Brightspace.
GitHub Actions feedback is formative. Brightspace is the submission and grading system.