Student Records and Data Management System by RowellSelga
Student Records and Data Management System by RowellSelga
Objective
This project was designed and developed using Python code functions to manage student
records. It allows users to create and store student information, including names, the number of
students, grades for each subject, average scores with pass or fail results, and unique subjects
with unique subject offered results. The program simplifies record keeping and assists users in
displaying and maintaining student data.
Features
• Easy to Code
• User can store student name, grades, average score and results, and unique subjects
• Users can display the student’s list, subject’s grades, average score with pass or fail
result.
• The program is manageable if the user wants to create a student list to its desired
required count.
• The program is manageable if the user wants to create a subject with grades input to its
desired required count.
• The program is manageable if the user wants to create a unique subject’s input with
unique subject offered results to its desired required count.
Open the installed Visual Studio Code, make sure that the Python is already set up in Visual
Studio Code and the extension was already installed. Please download or copy the (.py) file
from the Github repo, after the download, open the file or press CTRL + O from your Visual
Studio Code and select the (.py) Student Records file. For further demonstration see the
provided demo links.
• https://docs.google.com/presentation/d/1dr0sG9_POr9pCeYf66V2WO9bVxEZDCe1OE3
NungJrVI/edit?usp=sharing
• https://drive.google.com/file/d/1hRy0EzNr2AiSINHWwJz2Y0LyEHh9Xf2a/view?usp=driv
e_link
1. Press the VS code play button to run the program, I import and use colorama for my title
header color theme. I use and initialize an empty list to store the student names. I use
For loops for the range of my student list. If the users want more than 3 for their student
list, the program is manageable and can be adjusted with the desired range count.
2. I use a method .title() so that if the user inputs a lower-case student name, the program
will display the list with converted title cased.
3. The user can display the student list, I use For loop and in enumerate, so that the
program will enumerate the list and will start=1.
4. For the average passing score, I use a variable with the passing score = 75 but if the user
wants a different passing score, the program can be updated. I created a def function for
the student grades so that I can command the program to return the grades, average
and result as tuples. I use while true loops (try, except) so that if the user input a non-
numerical value for the grades, the program will prompt a value error. For the grades I
use float, so that the user can input grades with decimal values. If the users want more
than 3 subjects to display, the program is manageable and can be adjusted with the
desired count. I use average to calculate the average grade for the 3 subjects by adding
them and dividing them by 3. To display a pass or fail result, I have used an if and else
statement, if the average score will be greater than > 75 it will result to “Pass” and if the
average score is less than < 75 it will result to “Fail”.
5. I use and import tabulate for the student records table. I initialize an empty list
students_table = [] to store student names, grades, average and result on the student’s
table. I use For loop and in enumerate so that my student list will start=1. I use
enter_grades function to call the grades, average and results. I use append to add the
index, student name, grades, average and result from the students_table list. For the
title header I have used colorama. I create a print statement using tabulate to display the
tabulate table. The table format I chose is the “fancy_grid”.
6. For the unique subjects, I use and initialize an empty set () to store unique subjects. I use
For loops for the input of unique subjects. If the user wants more than 3 unique
subjects. The program can be adjusted with the desired range count. I use .add to add
the subject to the set(). I use For loop of for subject in unique_subjects so that the
program will iterate the input subjects on my print statements.
Limitations and Possible Future Improvements
The program's possible future improvements can focus on using and creating student records as
dictionaries or nested lists to enhance the efficiency of data and information management.
🔗 Links
• https://github.com/GK-RSelga
• https://github.com/GK-RSelga/RSelgaPythonRepo
Environment Variables
• https://www.python.org/
• https://code.visualstudio.com/
Installation
• https://www.python.org/
• https://code.visualstudio.com/
• https://docs.google.com/presentation/d/1dr0sG9_POr9pCeYf66V2WO9bVxEZDCe1OE3
NungJrVI/edit?usp=sharing
• https://drive.google.com/file/d/1hRy0EzNr2AiSINHWwJz2Y0LyEHh9Xf2a/view?usp=driv
e_link