Practice Work 2 Person project work

Source: Internet
Author: User

Individual projects

I. Introduction of the topic

Selected item Name: Judge Prime number.

Project requirement description, mainly refers to the main functions that should be realized.

Java is object-oriented. You want to get a number from the screen. You must call a method of a class to get N. These classes are input and output stream objects. such as BufferedReader and so on.

Second, the source of GitHub links

Https://github.com/qluxinxiyly/Test/compare/master...QLUYLY4023:patch-1

Third, the design of the module test cases, test results

1.Github Basic source code control method.

Step One: Register your GitHub account (if you are registered, enter this information, and then click [Sign up for GitHub] to complete the login. )

Second step: After successful registration, first create a simple project warehouse.

Step three: Upload the code directly, or upload the code via the GIT software to complete source control on GitHub.

2. Use JUNIT4 to test the program module, regression test.

(1) The myexlips comes with a jar package from JUnit 4 and JUnit 3, which can only be introduced into the project. Create a project first, and then click the Next button.

(2) Click the "Add Library ..." button.

(3) Select "Junit" option, click "Next" button, select "Junit4" in the popup window. Then click the "Finsh" button two times to end the creation of the project.

(4) Start to build the package, subclass, enter the program code, and test.

UML Diagram of Structured design

Program Test Results:

Iv. problems and solutions, experience

In this experiment, I learned how to use Java to Judge prime numbers, and to differentiate between Java and C languages. Understand correctly and be able to operate and use Java classes skillfully. Learn Java while learning to use JUNIT4 for program module testing, regression testing, and skilled use of GitHub platform for Code management. I think that learning software engineering to constantly through the computer to enhance their knowledge of learning and understanding. Books to learn something to use, is the real mastery. Most importantly, in the experiment, we will encounter various difficulties, or due to carelessness, or because of lack of knowledge, or other, but we can not have fear emotions. Give up when you meet with difficulties, we can never achieve ourselves. Learn to consult their own information, learn to seek the help of others, the moment will not be more able to deepen our memory, promote our thirst for knowledge. So you can't give up on yourself.

Practice Work 2 Person project work

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.