Pair programming lessons of summary

First, the project requirements

user:

Elementary, middle and high school students.

Features:

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.

Second, the personal project multiplexing

  Personal projects I use java, then set up the UI for adding and projects are more convenient when pair, so I am responsible for pair programming SMS verification code function, UI interface. And realizing the part of the interface, and since before the individual events have been written in the title portion, so that this part can be directly rewritten to a class of programming directly in this junction, is very convenient. Due to the design of the GUI interface is not very familiar with, so this knot realize I learned a lot of programming. Also I learned how a project as a functional module references another project.

Third, the interface function display

(1) initial login screen:

 

 If an incorrect password or account, there will be prompt, and the login screen in the lower left and lower right corners have forgotten your password and registration button, giving users a convenient service, respectively.

 (2) registration interface:

 

 Welcome to the registration interface have prompt, enter the phone number, if the phone number is incorrect when you request a verification code will not prompt correctly.

 If the code is not correct, there will be prompt. If the user does not want Registration can also click on the lower left corner of the back button to return to the login screen.

 (3) Selection display:

 

 After the successful landing generate alternative types of questions you will be prompted to enter the number of items after the click:

 

 If not want to choose this type of topic, you can click on other options to make changes, re-enter the number of items. And were also returned and Change Password button in the lower left and lower right corner selection screen.

 (4) do title screen:

 

 

 Difficulty of the subject is difficult, there may be more than brackets situation.

 (5) Results display interface

 

 

Display interface will score, the total number of topics and do the number of topics were displayed, user-friendly understanding of the situation, and in this interface, we can opt out and continue to do problems.

 

Fourth, experience, lessons learned

  (1) The pair programming project will not only allow me to grasp the Java language more skilled, but also I have a deeper understanding of Swing programming, how to interface buttons landscaping, how to make convergence more smoothly between pages, how clever use of labels to prompt the user to run just at the right time by listening displayed on the screen, is not so easy to imagine things, while improving my ability, I thought the one thing that can not be achieved successful realization, really get a sense of accomplishment and a sense!

  Standardization (2) for the project, learn the code more than once felt the package, as well as variables and functions through this junction name in the actual development is extremely necessary, these will directly affect the efficiency of reading the code.

  (3) how to communicate with teammates, two people together to complete the project, I also learned a lot of little, if no two of us to work together, I believe that this project will not be completed so successful, so I pair programming harvest is not only knowledge, but also the ability to exchange and cooperation between people.

 

Guess you like

Origin www.cnblogs.com/gorgor2ls/p/11605554.html