Skip to content

Venojan/Student-Credit-Management-Application---Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Student-Credit-Management-Application---Python

This Python application allows users to enter credit values for university students to determine their academic progression outcomes. It stores results in a text file and visualizes the overall distribution using a histogram with a graphical window.

πŸ“… Date: 11/18/2023

πŸ“Œ Features

  • Validates user input for Pass, Defer, and Fail credits.
  • Determines progression outcomes:
    • Progress
    • Progress (module trailer)
    • Do not progress – module retriever
    • Exclude
  • Records each outcome in Marks.txt.
  • Displays a histogram of outcomes using the graphics.py module.

πŸ–₯ Requirements

  • Python 3.x
  • graphics.py (a third-party module based on John Zelle's graphics library)

Download graphics.py from: https://mcsp.wartburg.edu/zelle/python/ (or your instructor's provided source)

▢️ How to Run

  1. Place graphics.py in the same directory as this script.
  2. Run the script using a Python interpreter:
python progression_visualizer.py
  1. Enter credit values when prompted.
  2. Press 'y' to enter more data or 'q' to quit and view the results.
  3. A graphical window will show a histogram of outcomes.
  4. The outcomes will also be printed to the console and saved to Marks.txt.

πŸ§ͺ Valid Input Ranges

  • Credit values must be one of the following: 0, 20, 40, 60, 80, 100, 120
  • The total of Pass + Defer + Fail must equal 120

πŸ“‚ File Output

The program writes each entry to a file named Marks.txt in this format:

Progress - 120 0 0
Do not progress-module retriever - 40 40 40
...

πŸ“Š Output Example

On quitting, a histogram is displayed with labeled bars for each outcome category. Each bar’s height represents how many students fall into that category.

πŸ”š Ending the Program

Click anywhere inside the histogram window to close it after viewing.

πŸ“Ž Notes

  • Be sure the graphics.py module is correctly installed.
  • Input errors (e.g., strings, out-of-range numbers) are handled gracefully with appropriate messages.

πŸ§‘β€πŸ’» Author

  • Developed as part of a Python programming assignment to demonstrate control flow, file I/O, list handling, and graphical output.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages