Demand:
- User role, instructor \ Trainee, user after landing according to the role of different, can do things differently, respectively, as follows
- Instructor View
- Management class, can create classes, according to the student QQ number to join the students class
- Can create a class record for a given class, note that a class record corresponds to a number of participants ' records, that is, each class has a whole class of students, in order to record each student's academic performance, we need to create a record of each class in the course of each student to create a class record
- To revise grades for students, one by one manual revision
- Student View
- Submit Job
- View Job Scores
- A student can belong to more than one class at the same time, like the report of Linux, but also can register Python, so submit homework to select the class, and then select the number of sections of the specific class
- Additional: Students can view their class score rankings
Realize:
1, the design of the database
With MySQL Workbench, build a connection, and then set up a schema, named Institutiondb, build 5 tables: Studentinfo teacherinfo ClassInfo Classarrangement Attentionrecord, click Apply will automatically generate SQL statements to submit the database, very convenient.
2. Code Design
python--MySQL-based learner management system