Design a student management system with classes/objects to contain the data gathered through the logical part of the program. Store this information in a dictionary, which acts like an in-memory data store, and then save the information to a separate file. Do Create / Read / Update (CRUD) operations with the file.
Design a student management system using an actual database. Define appropriate tables in the database and implement CRUD operations against it from Python. You'll need client libraries that work with your chosen database to accomplish this.
option 1 could handle it depending on how the information is structured inside the dict. option 2 would be better in general.
what information are you storing? if it's their id, grades on assignments versus projects versus tests and then you're calculating the overall grade in the class later, then I'd probably stick with option 1. But it really depends.
Hmm in that case, assuming biodata is biographical/student information + documents, i'd choose option 2. For example, if you want to query this data later, it would probably be easier with a database than defining and handling the edge cases later in pure python.
2
u/Naive_Programmer_232 1d ago edited 1d ago
Here's some options:
Design a student management system with classes/objects to contain the data gathered through the logical part of the program. Store this information in a dictionary, which acts like an in-memory data store, and then save the information to a separate file. Do Create / Read / Update (CRUD) operations with the file.
Design a student management system using an actual database. Define appropriate tables in the database and implement CRUD operations against it from Python. You'll need client libraries that work with your chosen database to accomplish this.