20191218 "Introduction to Information Security" eighth weekly summary

Learning content summary

This week we are learning the subroutine calls (local functions), and to study the transmission of parameters: Understanding the difference between Form argument; knowing that the operating parameter values ​​(to create a copy of the argument) does not change the original variable for reference parameters (reference address argument) will change the operation of the original variables. At the same time, understand the "rule of three" programming, that is one thing repetitions in less than three times beyond acceptable but think after this procedure is inefficient; and DRY (Do not Repeat Youself) law. In addition, to understand the basic principles of object-oriented: high cohesion, low coupling; and clearly the general process of object-oriented design process: brainstorming, filters, scene and responsibility algorithm (CRC card).

This week the completion of "self-study is a craft," the basic requirements, but also the focus of Chapter VI review the data container.

Textbook learning and problem-solving process

Teaching materials this week to understand the situation well, do not understand the problem does not appear.

Code debugging and problem solving in the process

In the completion of "student achievement management system" is a title (title figure below description), found that the output is always a gap with the desired results. By setting the debugging find yourself in the loop termination condition, always subconsciously will be written on "i <= n", but in fact at the beginning of the array table is accessed from zero. Next in the position according to the average exchange points have made the same mistake. Finally commissioning this question.

Code link this week

In addition to computer engineer Union, Principal Association, I realize his spare time the selection sort, bubble sort, and insertion sort.

https://gitee.com/tang_qi_heng/codes/jo21b38urgs94vym6i0pn56

https://gitee.com/tang_qi_heng/codes/7umsz5yeidtlkjvfgc1wq29

https://gitee.com/tang_qi_heng/codes/cp617f4vzbglteswdhqji50

Last week, the wrong question test summary

 

 

 And implementation of abstract data layer attributes are not closely related.

 

 

 

 The list is not dependent on the operation implemented layer.

 

 As stacks and queues are not chain structure.

 

 

Learning progress bar

27/199hours

 

Guess you like

Origin www.cnblogs.com/20191218tangqiheng/p/11913629.html