Online examination system based on SpringBoot [with source code]

Online examination system based on SpringBoot

  • Development language: Java
  • database: mysql
  • Technology: SpringBoot+MyBatis
  • Tools: IDEA/Ecilpse+mysql+Navicat

Roles: Students, Teachers, and Administrators

  • Student registration, student login, test center, taking the test, viewing test results, viewing historical test papers, viewing personal information and other functions.
  • Administrators can log in to this system to perform functions such as student management, teacher management, class management, and subject management.
  • Teachers mainly complete test paper management, test question management, student management, performance management, etc.

Show results

insert image description here
insert image description here

insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
insert image description here

the code

package com.it.dao;



import com.it.entity.Apply;

import java.util.HashMap;
import java.util.List;

public interface ApplyDAO {
	List<Apply> selectAll(HashMap map);
	void add(Apply apply);
	void delete(int id);
	void update(Apply apply);
    Apply findById(int id);
}
package com.it.dao;

import java.util.HashMap;
import java.util.List;

import com.it.entity.Member;

public interface MemberDAO {
	List<Member> selectAll(HashMap map);
	void add(Member member);
	void delete(int id);
	void update(Member member);
	Member findById(int id);
}
package com.it.dao;

import com.it.entity.Orderdetails;

import java.util.HashMap;
import java.util.List;

public interface OrderdetailsDAO {
	List<Orderdetails> selectAll(HashMap map);
	void add(Orderdetails orderdetails);
	void update(Orderdetails orderdetails);
	void delete(int id);
	Orderdetails findById(int id);
    List<Orderdetails> selectHot(HashMap map);
}

introduction

Research Background and Significance

  With the popularization and development of the Internet, the online examination system has been rapidly developed and widely used. In order to meet the needs of students, we have designed a set of highly targeted management system, and make full use of the convenience and fast features of network technology, so that students can conveniently take online exams at home. At the same time, with the rise of e-commerce, the online examination system has also attracted the attention of the majority of students.

  The development of the Internet has solved many problems for us, making work more convenient and efficient. Now all walks of life are applying network information management programs, and students are also widely exposed to information management, especially in the e-commerce industry. Through the analysis and summary of the current network environment, we develop an online examination system that can replace the traditional manual statistical methods and change the status of the traditional offline examination system. The traditional manual statistical mode can no longer meet the growing demand of students, and more and more schools are turning to online examinations. Therefore, the development of an online examination system can solve the existing problems of the offline examination, and the administrator can manage the information of the online examination system through the network. We design websites to ensure the integrity and security of information, thereby increasing productivity and ensuring proper functioning of the system.

Research status

  The development of their information technology in foreign countries is many times that of our country. Since the world's first computer was born in the United States in 1946, foreign information technology has been developing rapidly, and some computer application software has also appeared one after another. Software technology It has also been continuously improved and updated. The software industry has long been everywhere.

  In China, the development of information technology in our country started relatively late, and we slowly and continuously optimized and reformed in the later period, so that our information technology rose to a new stage. Nowadays, the technology of software development can basically reach the level of independent development system application after a lot of research and life practice, and various industries in life also replace software operation with traditional recording mode. The software industry is one of the hottest industries right now.

  As the number of online examinations continues to increase, and the online examination system also fulfills various needs in daily examination information through the network system, the development of the online online examination system has brought sufficient convenience to students. Students use the system to meet their daily needs. Therefore, due to the increase of information, the information processing system also increases to meet the needs of modern students through the network. The design of the system focuses on solving the problem of scattered information, integrates information related to the examination into a unified platform, and realizes the standardization of information management. We will pay attention to the interface design to ensure that the user interface is simple, intuitive and in line with the operating habits of modern users. At the same time, we will develop powerful functional modules, including test management, student management, grade management, etc., to meet the various needs of users.

research content

  The development and design of the online examination system is based on the actual situation of the students, and the requirements of the system are analyzed in detail, and then the overall design of the system is carried out. Finally, the system design is more complete through testing, and all functions in the system can be realized. Before starting to write the thesis, I personally went to the library to borrow JSP books, MYSQL database books and other programming books, and then for the developed online examination system, I went to the Internet to find many systems made by others, and referred to their design results to test my own system. Carry out a more detailed system design, list all the functional results in the system one by one, then conduct demand analysis, and finally code all the functional modules, and finally complete the overall system test to realize the normal operation of the system.

System test

  After the system design is completed, it enters the testing stage. The goal of the testing is to verify whether the designed website can operate normally, and to find potential problems as much as possible, so as to ensure that there are as few errors as possible after the website is put into use. The main purpose of testing is to check whether the various functions and features of the system operate as expected by executing a series of test cases, and to ensure that the website can respond to user needs and operations normally.

Purpose and significance of the test

  The purpose of testing is to assess the stability and operability of the system and to ensure that it operates as expected. For software development, testing is an indispensable and important link. It can ensure that the software is fully verified before final delivery and use, improving the quality and reliability of the software. A separate testing phase can help developers focus on solving problems, avoiding the situation that it is difficult to quickly locate and solve problems in the integrated software. The purpose of testing is not only to verify the correctness of software functions, but also to evaluate the performance and reliability of software. This can be achieved through means such as load testing, performance testing and stability testing. Load testing simulates how a system behaves under high load to assess whether its performance meets requirements. Stability testing can verify the stability and reliability of the system under long-term operation and various abnormal conditions. Through adequate testing, developers can discover potential problems and solve them in time to improve software quality and user experience. Testing also helps developers verify that software meets specifications and requirements, as well as ensure its integration and compatibility with other systems. In addition, testing can also provide feedback and improvement suggestions to help developers improve the functionality and performance of the software. In summary, testing plays an important role in the software development process. It ensures software stability, operability, and performance, and provides developers with opportunities to improve the software. Through testing, developers can continuously optimize and improve the quality of the software to meet the needs and expectations of users.

  After the development of the online examination system is completed, system testing is an essential work. Its main purpose is to find and solve the problems in the system to ensure the normal and stable operation of the system. When conducting system testing, it is necessary to maintain a high degree of seriousness and meticulousness, and never be careless or ignore potential vulnerabilities. During the test, it is necessary to follow the pre-set test steps step by step, and record the test results in detail. At the same time, we can consider adopting automated testing to improve efficiency and accuracy. Compared with manual testing, automated testing can save time and reduce the interference of human factors. Automated testing can perform testing tasks continuously and stably without fatigue, ensuring the reliability of testing. Stay focused during the test and pay close attention to the test results. Once an abnormality is found, it should be modified and repaired in time. Additionally, test documentation should be saved after testing is complete for future reference and use.

Test Methods

  The system adopts functional testing method, which is also called black box testing. In this method, the system is regarded as a closed black box, and the testers focus on whether the input and output of the system meet expectations, and whether the system functions meet the requirements specification. Regardless of the internal implementation details of the system, the test focuses on the system's processing of input data and generation of correct output. This approach focuses on verifying that the system's functionality operates according to specifications, without getting into specific implementation details. This test method does not consider the underlying code implementation details, but focuses on testing whether the functions and requirements of the system are correctly implemented. This testing method focuses on checking whether the software meets the functional requirements. It does not consider internal implementation details, but evaluates whether the system is functioning properly based on the expected behavior of external inputs and outputs. In order to test the function and performance of the online examination system, the following test methods can be adopted. First, test the registration and login functionality to ensure that users can successfully register for new accounts and log into the system with the correct credentials. Second, test the exam creation and management functionality to verify that administrators can successfully create, edit, and delete exams, and assign exams to specified groups of students or users. Next, test the test taker functionality to verify that the student or test taker is able to view the list of assigned tests, start the test, submit answers on time, and view test results and scores. During the test, it should be verified that the test system can correctly display various types of questions, such as multiple choice questions, multiple choice questions and fill in the blank questions, and can accurately save and process the answers submitted by candidates. In addition, test the security and stability of the exam system to ensure that the system has appropriate security measures to resist cheating and protect the security of exam data. It is also necessary to verify that the system can handle common network attacks and maintain stability and availability under high concurrency. Finally, conduct user interface and user experience testing to ensure that the system's user interface is easy to use and navigate, adapts to different device types and screen sizes, and continuously improves the system based on user feedback. During the testing process, problems are recorded and repaired in time to ensure the quality and reliability of the online testing system.

test case

1. Login test

Test point: login

The goal of the test: Enter the account password and the system will verify whether the account password is correct.

Enter information: account number, password.

step:

(1) Call the browser.

(2) Enter the account number and password on the login page for testing. The specific test input conditions are shown in Table 6.1 below.

Login function test case table

step operate expected outcome Test Results
1 Enter the correct account password, click login Login failed achieve the desired effect
2 Enter the wrong account password, click login Login failed achieve the desired effect

2. Online Exam Test

Test Point: Online Exam

Objectives of the test: to log into the student account, take the ongoing test, and complete the test.

Input information: Answers to test questions.

step:

(1) First, we call the browser, log in to the system, click to enter the test, and choose the correct answer we think.

(2) After answering the questions, click Submit

As shown in Table 6.2 below.

Online exam function test case table

step operate expected outcome Test Results
1 Single choice question, choose multiple choice choose failed achieve the desired effect
2 Compulsory questions, do not enter the answer, submit the test paper Submission Failed achieve the desired effect

2. Question bank management test

Test point: question bank

The goal of the test: log in to the administrator account and add questions to the question bank.

Input information: Question bank title.

step:

(1) First, we call the browser, log in to the system, and click Question Bank Management.

(2) Enter a topic and click to add a topic

As shown in Table 6.3 below.

Question bank management function test case table

step operate expected outcome Test Results
1 Multiple choice questions with multiple answers add failed achieve the desired effect
2 Short answer questions, no reference answer add failed achieve the desired effect

Guess you like

Origin blog.csdn.net/2301_78335941/article/details/131174823