Online examination system design + source code

Paid download source code: download address

There are 2 test system source pages in the compressed package for users to choose from, and 2 business community systems

Design and implementation of an online examination system built by JSP (Java Server Page) technology and Tomcat server. For the current teaching assessment, there are generally multiple-choice questions, and the types of questions are all in the form of fixed answers. The online examination system is designed to be able to enter multiple-choice questions, which uses MySQL as the database support of the system, and relevant examination questions and role information can be stored in the MySQL database table.

5.1 Development tools
IntelliJIDEA2020.1*64 MySQL, Tomcat server
5.2 Development technology
java web technology, javascript, html, jQuery database technology MySQL database, JavaWeb: MVC pattern and HTML5, LayUI framework technology

Log in by the user through the following interface
insert image description here

All students who need to take the test must be stored in the database of this system by the administrator in advance (only the students of this school are allowed to enter the system to take the test). The student obtains the user name and password registered by the administrator from the database student table. The password defaults to 666666. After logging in successfully, students can change their passwords, view personal information, take online exams, choose subjects, and practice courses.

1. Entering the exam
You can know the exam time through the exam information released by the teacher in the background, and enter the exam within the specified time period. Only when the student's information status is pending exam can you enter the exam. The exam cannot be taken if it is not within the specified time period. You can view the exam information before the deposit in the background.

2. Exam interface
Enter the exam interface, the set of test questions is randomly selected from the question bank according to the structure of the test paper of the course. The test time is the end time of the test paper minus the start time is the total length of the test. When students enter the exam interface, they cannot quit at will, but can only end the exam by submitting the papers; if they are forced to quit, the exam will end. If there is an abnormality in the test process (computer abnormality, network abnormality), etc., which leads to the end of the test, the background teacher can modify the candidate's status and enter the student test. The test interface only displays one test question. The test questions are obtained from the test paper released by the teacher in the background. The test questions can be turned over by clicking the button "previous question" or "next question", or directly through the test question serial number on the interface. Jump to the question with the specified question number to answer. Answering questions are shown in blue, completed questions are shown in green, and unanswered questions are shown in white. Countdown to exam time.

Exam page:

insert image description here

3. Query results
Students can click on score query to view their scores. If the scores fail to pass, the status will be make-up exams and the college information will be added to the make-up test form. The status of candidates who have passed the exams will be taken. At the same time, the scores are entered into the score information table.

Grades page:
insert image description here

4. Select courses
After students log in, they can choose courses to practice on their own. There are two kinds of course practice, one is to practice the course knowledge sequentially; the second is to practice the course knowledge randomly. Both modes allow students to choose one to enter the course practice.

Students select courses in the following interface:

insert image description here
5. Student bulletin board
Students accept the announcements sent by the head teacher or the teacher and the school. For example: teachers and teachers send notices for exams. List some formats: test time, test subjects, encouragement.
The front end can automatically scroll to display the announcement or exam information issued by the teacher in the background (the announcement should be wrapped in a div, and the information inside is called by the database). When the test is completed, the announcement at the front desk should be displayed. The end time of the announcement is the end time of the exam. The announcement at the front desk will not be displayed after the time is exceeded, but it cannot be deleted.); and it is divided into exam announcement and general announcement.

insert image description here

6. Back-end login interface:

The back end is mainly the login of non-student personnel. Including teachers, class teachers, administration, principals. The back-end login data mainly comes from the teacher table, class teacher table, and administrative table in the database table. What is more special is that the principal's login is directly given by the back-end staff to log in with the account and password. The account of other staff is the teacher's name, and the initial password is in the database table. If the information is consistent with the information in the database, the login is successful.

insert image description here

7. Modify the password:

After successful login, teachers can choose to change the account password by themselves. Change the password through the following interface

insert image description here

8. Maintenance of test paper information:

The management and maintenance of the test paper is carried out by the teachers and teachers, who can make test papers, view the content of the test papers, reduce the content in the middle of the test questions or add test questions, and view the whole set of test papers without modifying the test questions. If you are not satisfied with the test questions in the test paper, you can delete them and take them from the test question bank.
8.1. Automatic roll making:

Exam Class
Exam Course
Exam Date
Exam Start Time
Exam End Time
Number of Multiple Choice Questions (40 by default) Number of Multiple Choice Questions
(10)
When it is more than 50, a warning should be given. When the preparation of the test paper is completed, data should be automatically inserted into the difficulty level table, the test number will be inserted, the test question number will be entered, and the other defaults will be 0
; Randomly select questions from the question bank

insert image description here

8.2. Hand rolls:

Exam Class
Exam Course
Start Time
Exam End Time Multiple Choice Questions
: .Easy
(less than 4) (number of questions). Moderate (5-8) [Number of questions]. Difficult (9-10) [Number of questions] (Total generated The number of questions is equal to the number of questions obtained by the conditional query) Multiple-
choice questions will extract the corresponding number of questions from the question table according to the difficulty registration. When the number of questions of the difficulty level is small, it will be automatically upgraded or downgraded.
When there is only one question with a 9-star rating in the difficulty system, it should be automatically downgraded (the total number of questions with a difficulty factor - the number of questions with a difficulty factor of 9 in the test question bank), and the number of medium questions should be increased at this time. , if the number of difficulty level questions in the test question bank is also less than the number of input questions, it should also be downgraded at this time.
The number of multiple-choice questions: the same as the single-choice question operation.

insert image description here

9. Exam paper information maintenance

The maintenance of test paper information is mainly to query (conditional query), modify and delete the test paper information; update the test paper information to the test paper database table after operation.
The test paper table can be modified, only the class, start time and end time of the test can be modified. When the value of the modified class changes, the data in the candidate status table should be cleared first, and the new class examination status information should be inserted into the table; when the time and time change, the content displayed in the front desk announcement should be changed.
Request to add printing function. Add a print button to the toolbar on the side of the test paper.
Deletion of the test paper table: When the test paper table is deleted, all the data in the corresponding test status table should be cleared, and all the information in the bulletin board should be deleted.

insert image description here

10. Question bank management
The structure of the question bank table is as follows:

insert image description here
Question bank information: The information includes the question number (primary key), the course number, the correct answer to the question, the difficulty of the question, and the data inserted into the database. The administrator can add, delete, and check this.
The teacher maintains the test questions through the following interface.

insert image description here

The question bank supports single-choice and multiple-choice type classification; supports the establishment of question banks by subject; rich test question types.
10.1. Add test question
Click the test question operation. The interface displays the test questions sorted by the test question number, which are processed by pagination.

insert image description here

11. Announcement
The announcement will take effect automatically after the teacher has formulated the test paper.
The announcement test date is the date specified by the instructor and the end date is the test day and expires.
Teachers can post information about exam type, time, date, etc. to the bulletin board on this interface.

insert image description here
The results of the announcement table are as follows:
insert image description here

12. Re-examination management

According to the failure of the test or the abnormal withdrawal due to the abnormality in the test process, the student may be given the opportunity to choose the test time to take the make-up test. When the candidates' exams are completed, for those who fail the exams, insert data into this table and add a make-up button. Click on make-up examination, click on the set of test papers to be asked when making up the examination, and at the same time, modify the data in the candidate's status table to pending examination.
The exam of each make-up student can be viewed on the following interface.
Teachers can check the exam status of candidates in the interface. The exam status is divided into:
Examination, pending.
The questions on the supplementary exam are not the same as those on the main exam. No matter how high the score is after passing the make-up examination, it will be regarded as 60 points.

insert image description here

13. Maintenance of score sheets:

The structure of the grade sheet is as follows:

insert image description here
The data of the score information is automatically included in the score table from the test scores after the end of the test
. The maintenance of the score information table is mainly to query, delete and modify the score information, but there is a lot of room for the query of the score information, such as You can check the grades of the whole class according to the class, or check the grades of the students that have been tested by the students. You
can also check the grades in the subjects according to the subjects
.
Deletion is not possible. Modifications can only modify grade points.

insert image description here
14. Management of teachers

1. The main contents of teacher information are: teacher number, teacher name, and title. The teacher information table is also a user table in the authority management.
2. Teacher information maintenance is a table for adding teachers or modifying management authority
. Teacher information maintenance mainly includes querying (conditional query), adding, modifying, deleting and authority management operations on teacher information; updating teacher information to the teacher database table after operation.
4. The structure of the teacher information database table is as follows:

insert image description here

15. Class information maintenance:

7. Class information maintenance is mainly to query the class information (conditional screening), add, modify, delete and query student information operations; update the class information to the class database table after the operation.

insert image description here

16. Maintenance of student information table

The student information is input by the user (teacher), and the system establishes an interface for the teacher to input the student information

              学员信息输入界面

insert image description here
The maintenance of class information is mainly to query, add, delete and modify student information, and even check the grades, and update the student information to the student information table after the operation. The
student information database table structure is as follows:
insert image description here

17. Maintenance of process information:

1. The main contents of course information are: course number and course name.
2. Course information maintenance is mainly to query the course information (conditional query), add, modify, delete, practice test questions, and operate the examination; after the course information is operated, it will be updated to the course data table.

insert image description here

18. Maintenance of grades

The maintenance of the grades is the grades that appear after the examination by the users.
After the test taker has finished the test, the system will automatically check the test results of the test takers, obtain the test scores, and save the test results in the database of the score table, and judge whether the students want to make up the test according to whether the test scores are passed or not. Authority management You can modify the
test scores. The data structure of the test score table:
insert image description here

19. Exam status of candidates

The test can only be entered when the candidate's status is pending.
Candidate status is contacted directly by the candidate exam. The status of candidates who have not taken the exam is: pending exam, taking exam.
The data maintained by the candidate information is mainly based on whether the student has completed the exam and whether there is an abnormality during the exam that leads to the exit status, which is transferred to the candidate status table
. ).
The structure of the candidate status table is as follows:

insert image description here

20. Management authority of department managers and principals:

In this system, department managers and principals are managers with the highest authority, so when department managers and principals successfully log in at the back end, they can operate all basic information management in this system. (In summary, they have permissions for all function management in the above)
The operation interface is as follows:

insert image description here

21. The automatic marking function of this system:

The automatic marking function is for candidates. Candidates press the 'Submit' button during the test, or they will be forced to 'Submit' when the time is up. The system will compare the candidates' answers with the correct answers in the database, calculate the score and send it to grade information sheet.
Candidates can check their scores after the test. If the scores fail to pass, the status will be make-up and the college information will be added to the make-up form. The status of qualified candidates will be taken. At the same time, the results are entered into the test score table and the score information table, and the test status of the candidate status table is deleted at the same time. Rate.

22. Statistical analysis table of difficulty level of test questions:

  1. The difficulty analysis table is for teachers and users to watch, and the difficulty analysis table can clearly know the difficulty of each course.
  2. The difficulty analysis table is based on the results of the candidates after the test. The score information table sends the number of candidates who failed and the courses of the candidates to the difficulty analysis table. After the difficulty analysis table is received, it is sent to the difficulty database. Generate a pie chart.
  3. The pie chart is divided according to the percentage of the number of people who took the test and the number of people who failed.
    (1) When the number of correct people is more than 85%, the difficulty is easy.
    (2) When the correct number of people reaches more than 50%, the difficulty is medium.
    (3) When the correct number of people is less than 50%, the difficulty is difficult.

The data in this table is mainly filled in the analysis table of the difficulty of each question after the test is completed, whether each question is correct or not. The value is 0) the median value is increased by one; if not, it is not added. Divide the number of correct answers by the total number of students in the class to get the correct rate for this question. After the total difficulty level of all questions is calculated, update the result to the difficulty level of the test question table. At the same time, all test questions should be deleted after the difficulty level is updated. In order to prevent the next time there is a class test, the difficulty level of the questions will change. This operation cannot delete, add, only modify.

insert image description here

23. Fraud function:
closing the browser, creating a new browser window, shrinking the browser, etc. are considered fraudulent. The exam interface will be exited. Scores are counted as 0 points.


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324233412&siteId=291194637