HNU_ small high early math learning software programming _ Function Junction summary analysis team

The main function of the junction of programming project:

1, user registration function. The user's phone number, click on the registration will receive a registration code, the user can use this registration code to complete the registration;

2, after the completion of user registration, password prompt interface, user input password matches the password twice after the success. 6-10 password, the case must contain letters and numbers. Users can change the password, enter the correct password in the log in the original state, change your password after successfully re-enter the same new password twice;

3, after the password has been set, jump to the selection interface, display interface elementary, middle and high school three options, the user clicks on one of them, prompting the user to enter the number of items need to be generated;

4, the number of items the user input, generating a piece of paper (with a roll can not have the same title, all entitled multiple choice), the interface displays the first question and casual working four options, the user selects one of the four options submission interface displays the second question, ... until the last question;

5, after the submission of the last question, the display interface, the score is calculated based on the percentage of correct answers;

6, the user interface can opt out of the score or continue to do problems;

7, small high math problem and asked to see the beginning of a personal project.

personal project:

Features:

1, the command line to enter a user name and password, separated by a space between the two (pre-program elementary, middle and high school three each account, specific see table), if a user name and password are correct, will be displayed according to the type of account. " the current selection is out of question XX ", XX for the elementary, middle and high school in one of the three options. Otherwise prompt "Please enter the correct user name and password", re-enter your user name and password;

2. Once logged in, the system prompts "XX ready to generate a math problem, enter the number of items is generated (input-1 will exit the current user, log in again):", XX for the elementary, middle and high school in one of the three options, user input the required number of test paper topic, the default will be the topic according to the account type. Operands each question is between 1-5, in the range of 1-100 operand;

3, number of questions valid input range is "10-30" (containing 10, 30, or -1 Log), compliance with the program title elementary, middle and high difficulty of generating the number of items in accordance with input of the roll (see appendix specific requirements table). A teacher in the same roll of the subject can not be repeated before the roll generated in the subject (to be specified folder present document shall prevail, see 5);

4, when logged in, if you need to switch the type of option, the command line, type "switch to XX", XX for the elementary, middle and high school in one of the three options, does not meet the entry requirements, procedures console prompt "Please enter elementary, junior high and high school in one of the three options "; enter the correct," "appears prompted for the number of items" ready to generate XX math topics, please enter the number of a task is generated ", enter the desired user out of the examination paper, the new system type setting is the topic;

5, generated task will be "year - month - day - when - minutes - seconds .txt" in the form of saving, a folder for each account. Each question with a question number, a blank line between each question;

 

 

 

 

 

The following is a list of interface-related function:

The main interface : You can click on this job and wrong title (no fill color, add text add text buttons);

 

Login : display a different title, exercise books and wrong title;

 

 

 

 

 

Registered account : Enter the phone number, a phone number and check the weight factor authentication format to meet the correct format, not registered before they can send a verification code, otherwise it will jump out different prompt dialog box confirmed only after successfully sending a verification code and you can use , the back key to close this page;

Forgot your password : The phone number for the re-check, only correctly formatted, registered before they can send a verification code, otherwise it will jump out different prompt dialog box;

After sending a verification code, verification code button countdown 60s, input validation error code displays error messages;

 

 

 

 

 

 Some subsequent warnings and cautions substantially the same, using JOptionPane class, fast generation;

Password: nickname can not fill, while limiting the length of the input, the password is checked format, 6-10, contain numbers, uppercase and lowercase letters, enter the password again, to be consistent with the first input, otherwise there will be a warning, not Undergo verification;

 

 

 

 Do question the main interface : Hello, followed by the user to display the user nickname, individual centers can be opened, the difficulty small beginning three optional high degree of difficulty, three input contents will be tested format, write-off back to the desktop;

 

 

After the problem started, displays the time remaining, you can view the previous question, next question, after the end of the countdown, the automatic assignment, when you click to the last question, assignment buttons open,

The remaining keys can not be used;

 

 

 Score interface : display scores, do continue to do the title will return to the title screen, the desktop Log returns;

 

 

 Personal center : nickname to modify, amend successful prompt will appear after modification; phone, three levels highest score record; do question the preference for the difficulty of the subject of the initialization operation, click the dialog box is displayed, enter one of 1,2,3, be set; to reset your password will carry out a user's password to confirm, and then change the password, the password the same format detection; wrong title into the wrong title screen, delete the account will delete all personal records, including the roll generated wrong this title, all personal information, then exit the current interface and back to the desktop;

 

 Wrong title : direct access via the desktop login, go to work have this feature, enter the individual center is not to stay in this job function, press the button to display a txt file corresponding to the level of the corresponding accounts at the wrong title records;

 

 

 All the above functions oriented sub-projects, due to the time display, and not all shots, here accompanied by his teammates HnuLyx blog, enclosing a flow chart for your reference study.

A lot of hope that we can make recommendations, learn together and progress together!

Results Team program summary analysis

 

Guess you like

Origin www.cnblogs.com/Comet-Fei/p/11605390.html
Recommended