20162314 2017-2018-1 《Program Design & Data Structures》Learning Summary Of The First Week

Summary of teaching materials

  • Algorithm analysis is the basic project of the computer science.

  • Increasing function prove that the utilization of the time and space are related with the scale of the problem.

  • The order of algorithm is determined by the main term of increasing function.

  • The order of algorithm provides an upper bound to a increasing function.

  • Faster CPU can not supply the ineffective of an algorithm as the scale of the problem growing.

  • Analysing the complexity of an algorithm often needs analysing the execution of the loop.

  • The execution of the inner loop and the outer loop must be considered when analysing a nested loop.

  • Tower of Hanoi contains the complexity of the order of index number,even though it is ineffective,the implement is elegant and concise.

Problem and solution in learning materials of teaching.

According to the chart, if the time complexity of A4 is n^4, the scale after improvement should be 1.78s4. But the answer is s4+3.3, due to the log2(10)≈3.3
so I suppose the answer could be s4+log2(10), and if so, the time complexity is 2^n. The question is solved.

Problem and solution in debugging code.

problem: In TowersOfHanoi conductor, whether the time will increase or not when the number of disk rise.

  • Number of disk:4.

  • Number of disk:5.

The answer is yes, time rises from 1s 124ms to 1s 160ms.

problem: what is the distingguish between direct recursion and indirect recursion and How to use it .

If the current location is not the bottom-right corner, we search for a solution in each of the primary directions, if necessary.
First, we look down by recursively calling the traverse method and passing in the new location.
The logic of the traverse method starts all over again using this new position. It’s as if each call
to traverse is attempting to solve a new, slightly smaller, maze.
---from the teaching materials.

Code hosting

Summary of error for last week.

Evaluate for my partner

  • Advantage and problem in the blog:

    • Concise and comprehensie
    • Uncleary to the content
    • Mould is amazing
  • Advantage and problem in the code:
    • Serious writing.
    • Wonderful idea
    • Too less

Learning situation of partner

  • 20162310

  • Learning content of partner:
    • Algorithm
    • Recursion
    • HanoiTowers and maze

Anything else that want to say

Recently, I'm preparing for the CATTI and I thought I've never written blog in English before.Therefore, I suppose I could do it once a week as the homework weekly.
I have to say it's a hard work to start with.But it might be benefit for me if I can take this as a long run.

Academic progress check

Code line number(increasing/accumulative) Blog number(inc/acc) studying time(inc/acc) progress
target 5000lines 30articles 400hours
First week 180/180 1/1 20/20
Second week 300/500 2/4 18/38
Third week 500/1000 3/7 22/60
Fourth week 300/1300 2/9 30/90

尝试一下记录「计划学习时间」和「实际学习时间」,到期末看看能不能改进自己的计划能力。这个工作学习中很重要,也很有用。
耗时估计的公式
:Y=X+X/N ,Y=X-X/N,训练次数多了,X、Y就接近了。

参考:软件工程软件的估计为什么这么难软件工程 估计方法

  • 计划学习时间:XX小时

  • 实际学习时间:XX小时

  • 改进情况:

(有空多看看现代软件工程 课件
软件工程师能力自我评价表
)

参考资料

最新文章

  1. Linear Algebra Lecture5 note
  2. AX7: HOW TO USE TABLE METHOD EXTENSION CLASS
  3. PowerDesigner使用教程
  4. WebBrowser与IE的关系,如何设置WebBrowser工作在IE9、10、11模式下?
  5. Codeforces Round #379 (Div. 2) D. Anton and Chess 模拟
  6. loj 1300( 边双联通 + 判奇圈 )
  7. Java遍历所有网卡打印对应IP
  8. 使用ngrok让微信公众平台通过80端口访问本机
  9. 【转】20个Java 代码生成器
  10. 分享:json2.js源代码解读笔记
  11. LAMP基础
  12. Mysql概念及基本操作
  13. 如何让 KiCad EDA 5.1 不显示铺铜
  14. 【微服务】.netCore eShopOnContainers 部署实践《一》
  15. GitHub使用笔记2:github常用操作
  16. ES6通过使用babel兼容到ie9
  17. C++ struct 和 Class的区别
  18. 2. 自动化运维系列之Cobbler给Openstack节点安装操作系统。
  19. kafka for Windows
  20. js学习笔记16----父节点的操作

热门文章

  1. 使用iometer测试
  2. snapkit更新约束崩溃的问题
  3. layui水平导航条三级
  4. Sql server 查看锁和Kill 死锁进程
  5. day 86 Vue学习之五DIY脚手架、webpack使用、vue-cli的使用、element-ui
  6. asp.net页面中实现如果图片不存在则显示默认图片
  7. 本地使用xshell连接本地虚拟机
  8. 一维码UPC A简介及其解码实现(zxing-cpp)
  9. 【linux】linux常用命令汇总
  10. ncl 函数源码 gc_inout