one. System installation instructions
0. Install JDK1.6 and tomcat 5.5
1. To install the mysql database, it is recommended to use version 5.0.X. Higher versions may require more configuration processes and are not recommended for novices.
2. Start the mysql service program and create a new database named pctest. Under the dos command line, go to the bin directory of the mysql installation directory. It is assumed that you have copied the database file I provided to this directory, and the file name is pctest.sql. use
mysql --user=a1 --password=a2 pctest < pctest.sql
Import the pctest.sql database file provided by the system. (Here a1 is the mysql user name with permission to modify the database, and a2 is the user password)
3. Copy the entire pctest directory (including pctest) to the tomcat webapp directory.
4. Configure database and system paths:
Use Notepad to open the web.xml file in the pctestWEB-INF directory.
Line 68
root root is the user name of mysql, you can change it to your own;
The
bit bit in line 72 is the password of the mysql user. You can change it to your own.
Line 76
D:/Develop/Tomcat55/webapps/pctest Set the physical path of the pctest directory (that is, which directory of tomcat you installed it to), you can modify it to your own Directory, note that the directory separator is "/".
two. Instructions for use
1. Log in
After starting the tomcat server, enter in IE
http://localhost:8080/pctest/login.jsp
Open the login window.
The home page of the system is login.jsp. One of the test taker accounts is stest and the password is 123; one of the question maker accounts is tea001 and the password is 123; one of the administrator accounts is ad001 and the password is 123.
2. In the administrator function interface, you can perform maintenance operations on the person, question maker and administrator.
Note: In this system, candidates can only take the test corresponding to the "level" recorded during registration, so when registering the candidate information, the "level" information of the test must be filled in.
3. In the question maker interface, you can maintain the "subjects", "knowledge points" and various exams for each computer level.
3.1 Computer grade subject management
Click "Computer Level Account Management" to maintain the account information of each level in the pop-up interface.
3.2 Knowledge point management
Click "Knowledge Point Management" to maintain the knowledge point information of each subject in the pop-up interface.
3.3 System testing types are divided into three types: free testing, unit testing and formal examination.
Free test: The examinee randomly selects test questions from the free test question bank as test questions. The test results are not saved as historical information, but the questions that are answered incorrectly will be saved in the "wrong question book".
Unit test: Candidates choose a complete set of "unit test papers" released by the system for testing, and the test results are not saved.