OO fourth unit summarizes analytical FIG --UML

First, the architecture design work

  This unit is a job uml diagram (FIG relates to a class, and the state transition diagram of FIG sequence) parsing inquiry implementation-dependent. So my basic idea is to achieve uml diagram queries need to use the key elements in the manner of interrelationships and properties involved in storage, it is equivalent to the Uml Graph used to rebuild the Map java.

  1. Thirteenth jobs

  The work relates only to queries on uml class diagram.

  Queries can be classified according to the type of elements involved:

  ① query for the class; ② queries on the property; ③ a method of inquiry; ④ queries on contact; ⑤ queries on inheritance and implementation.

  It is possible to achieve each of the above functions with each query a class, a class with additional storage uml basic elements. In general query class, construct six class to implement the interface required by the relevant method calls.

  2. Fourteenth jobs

  The work on the new query uml sequence diagrams and state transition diagram, and check the rules for class diagram.
  Thinking architecture and the last time the job is no different: the combined property and contact query class, and which enable detection Uml002 rules; construction Uml008 in succession and query class implementation, the detection Uml009 rules; implement two new classes for sequence diagram and state transition diagram of related queries.

Second, the architecture design and understanding of OO methods

   In terms of design architecture, step by step to adapt to change thinking habits of thought the object type from the type of process, from the previous first step should be done to solve this problem, the second step should do this for ...... procedural way of thinking, which objects to solve this problem need to become involved, an object-oriented way of thinking of how to get involved.

  Understanding of OO methods have gradually from shallow to deep, from floating on the surface to a little bit of a glimpse into its inner mysteries. Personal understanding of object-oriented method, is to imitate the real world with a code to construct their own world, to make it up and running (can be regarded as a modeling method?).

Third, understand and practice test

  Test Method for configuration data from its own input and output whole blind, used to implement block Junit automatic test test procedure can be said to benefit.

  Test comprehension, before more inclined to formal verification, Following a more and more complex jobs, to understand eventually a sparse hundred secret, hierarchically organized and conducted experiments to further improve program reliability.

Fourth, the curriculum harvest

  1. appreciated, the entry of the object oriented programming method of construction;

  2.基本掌握了java语言;

  3.对架构设计、测试、代码风格等的重要性有了更深刻的认识。

五、建议

   1.再平衡一下难度跨度,前两个单元的第三次作业和前两次作业的难度跨度有点大。

  2.指导书每次更新发一下通知。

  3.每次作业的分数可以将程序的“面向对象性”当作评价指标之一。

 

Guess you like

Origin www.cnblogs.com/Raze11he/p/11078683.html