Java Third Experiment Agile Development and XP experiment

Source: Internet
Author: User

Experiment three-1

1. Experimental Requirements:
Experimental three agile Development and XP practice http://www.cnblogs.com/rocedu/p/4795776.html, Eclipse content replaced by idea

Refer to Http://www.cnblogs.com/rocedu/p/6371315.html#SECCODESTANDARD To install the Alibaba plug-in to resolve the specification in the code.

Use the tool (Code->reformate code) in idea to reformat the code below, and then look at the Code menu to find a feature that feels best for you. Submit, add your own study number watermark

2. Experimental steps

    • First through settings->plugins, Browse repositories ..., download Alibaba Java code Guidelines, Code->reformat Code re-formats the codes, right-click on the project name, and select Encoding protocol scan on the pop-up menu.

3. Experiments

4. Code Cloud Link: '
Https://gitee.com/BESTI-IS-JAVA-2018/20165213zqh/tree/master/Javapractice

Experiment three-2

1. Experiment requirements: In the code cloud to add their own learning partner to their project, confirm the partner's project to join himself, download the complex code of the partner experiment two, add not less than three JUnit unit test cases, after the successful test git Add. Git commit-m "Learn to add content"; git push;

Submit a partner project git log, containing the above git commit information, and add your own watermark information.

Code Cloud Link: Https://gitee.com/nmsl123/QWQ/blob/master/20165225/Complex.java

Experiment three-3

1: Experimental Requirements:

Experimental three agile Development and XP practice http://www.cnblogs.com/rocedu/p/4795776.html, Eclipse content replaced by idea

Complete the refactoring exercise, download your partner's code, make at least three refactoring, commit the refactoring code, and add your own number watermark. Submit a link to your partner's code cloud project.

2:

3: Code Cloud Link: https://gitee.com/BESTI-IS-JAVA-2018/20165213zqh/tree/master/20165213exp1/src/4.19

Experiment three-4

Experimental requirements: Refer to http://www.cnblogs.com/rocedu/p/6683948.html, in pairs to complete the Java cryptography related content learning, combined with refactoring, git, code standards.

Submit the learning Result Code cloud link and the representative result, must have the student number watermark.

Experimental ideas:

    • First, the total number of letters in the plaintext is calculated as long as the M.length () generated during the encryption process is recorded (K1.length equals 300).
    • About the frequency of the occurrence of each letter, I added a 26 English alphabet array (feel unnecessary, but did not think of a better method), with two for loop, the clear text of each letter and 26 letters compared, if the same is recorded, the number of each record down and m.length () divide, Because M.length () and the number of records e are int, I then divide it into a double type.
    • The coincident exponent, starting with the first letter of the plaintext, is compared with each subsequent letter, the same is recorded, then begins with the second letter, and finally divides the total number of records with the number of comparisons (the sum of the total number of letters-1), because the two numbers are int and the processing method is the same as 3.

Experiment:

Code Cloud Link:

Https://gitee.com/BESTI-IS-JAVA-2018/20165213zqh/blob/master/20165213exp1/vigenere.java

Https://gitee.com/BESTI-IS-JAVA-2018/20165213zqh/blob/master/20165213exp1/MyInput.java

Java Third Experiment Agile Development and XP experiment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.