This Python program is designed to assess and classify student progression outcomes based on their credits in pass, defer, and fail modules. The project is divided into multiple parts for educational purposes and includes validation, outcome generation, data visualization, and file handling features.
Author: Student ID: w2001181
Date: 22-11-2023
Coursework: Software Development - Coursework 2023
-
A. Outcomes
Determines student progression based on inputs:- Progress
- Progress (module trailer)
- Module retriever
- Exclude
-
B. Validation
- Ensures user inputs are integers
- Validates credit values (must be in steps of 20, up to 120)
- Ensures total credits sum to exactly 120
-
C. Multiple Outcomes
- Allows input of multiple student records
- User can continue entering data until choosing to quit
-
D. Histogram Visualization
- Displays a graphical histogram of outcomes using the
graphics.pymodule - Bar chart includes Progress, Trailer, Retriever, and Exclude categories
- Displays a graphical histogram of outcomes using the
- Stores progression credit data into separate lists using a function
empList - Demonstrates use of list data structures for further processing
- Outputs static headers into a file
part3file.txtto simulate result export - Demonstrates basic file handling in Python
- Python 3.x
graphics.pyfile (must be in the same directory as this script)
- Ensure Python and the
graphics.pymodule are installed. - Place the
w2001181.pyfile andgraphics.pyin the same folder. - Run the script:
python w2001181.py