20,182,317 2019-2020-1 "Object-oriented programming and data structures" third experiment report
Course: "Programming and Data Structures"
Class: 1823
Name: Peng Yantai
Student ID: 20182317
Experiment Teacher: Wang Zhiqiang
Experiment Date: September 23, 2019
Compulsory / Elective: Compulsory
1. Experimental content
Download and install and use the IDEA, following the completion of the experiment ( https://www.cnblogs.com/rocedu/p/6371315.html ).
- Initial grasp of unit testing and TDD
- Understand and master the object-oriented three elements: (! Own to learn) encapsulation, inheritance, polymorphism
- Preliminary master UML modeling
- On completion of the cloud blue ink (1) - (5) experiments.
2. Experimental procedure and results
Object-Oriented Programming (1)
Object-Oriented Programming (2)
Object-Oriented Programming (4)
Object-Oriented Programming (5)
3. Experimental problems encountered in the process and settlement process
- Question 1: When using TDD testing of complex calculator program, because the calculation error leading to an error
- Problem 1 Solution: This embodies the advantages of the idea, this calculation errors and some simple grammatical errors, idea can automatically help us solve.
- Question 2: In doing the fifth point when you submit a problem, because there is no detailed tutorial on the blog, I also can not figure out.
- Problem 2 Solution: to solve the problem with the help of Zhangjing Hao students.
- Question 3: do not understand the meaning of indexOf
Problems Solution 3: This method returns the subscript c in the character string does not exist in the [-1]
Other (perception, thinking, etc.)
Linux just out of reach idea, the idea for the operation is very familiar, but there is
generate
also automatically modify errors are a very useful feature, the future must try to master this tool.
Reference material
"Java programming and data structures Course (Second Edition)"
"Java programming and data structures Course (Second Edition)" Study Guide