Tạo chương trình Quản lý Danh sách Sinh viên và Giảng viên
Danh mục hình và bảng
Từ viết tắt
Nội dung bài học không khai báo từ viết tắt bằng thẻ abbr.
Nội dung bài học
Yêu cầu chương trình
In this Student Management System, you are required to create an application to store list of students and list of lecturers. Following information are to be stored for each student:
- stdId: The student ID of the form like GTxxxxx or GCxxxxx (x: is a digit)
- stdName: Student name
- stdDoB: Student date of birth
- stdEmail: Student email
- stdAddress: Student address
- stdClassName: The class of the student
Following information are to be stored for each lecturer:
- lecId: Lecturer ID with 8 digits (fixed)
- lecName: Lecturer
- lecDoB: Lecturer date of birth
- lecEmail: Lecturer email
- lecAddress: Lecturer address
- lecDept: Lecturer department (e.g., Computing, Business, etc)
This application will need to provide following functionalities via a menu
Please choose:
- When user selects 3, the program will exit.
- When user selects 1, the program will display submenu for managing students.
Please choose:
When user selects 2, the program will display submenu for managing lecturers:
Please choose:
For the submenu:
- When user chooses 1, program will prompt user to input student’s/lecturer’s information (specified previously). After that, program will validate the input data and if they are all valid, program will add a new student/lecturer to the current list of students/lecturers. Program should inform to the user corresponding messages.
- When user chooses 2, the program will list all the students/lecturers to the screen, each student/lecturer in a row and student’s/lecturer’s data fields are separated by ‘|’.
- When user chooses 3, the program will ask user to input student’s/lecturer’s name to search for, the user can just type part of the name in order to search for complete student/lecturer information.
- When user chooses 4, program will ask user to input student/lecturer id to delete the student/lecturer with the specified id if it exists, otherwise, it will display a message to inform users that the student/lecturer with such id doesn’t exist.
- When user chooses 5, program will first ask user to input student/lecturer id to update, once inserted and a student/lecturer with the inserted id exists, it will display current data for each field of the student/lecturer and user can type in new data to update or just press enter to keep the current data for the field.
- When user chooses 6, program will back to the main menu.
Demo
Hướng dẫn
UML Class
Workflow 1
Workflow 2
Workflow 3
Video hướng dẫn
Source code
https://github.com/kellyfire611/learning.nentang.vn-csharp/tree/master/src/StudentLecturerManagement

