20162307 第八周学习总结

学号 2016-2017-2 《程序设计与数据结构》第X周学习总结

教材学习内容总结

教材学习中的问题和解决过程

  • 问题1:什么是I/O?
  • 问题1解决方案:上网找到一个详细讲述I/O 架构的博客
    • IO流用来处理设备之间的数据传输
    • I -->input O -->output 是输入输出系统
    • 文件、数据的读和写一些操作,在Android的开发会用到I/O
    • I/O 操作目标:
      • 从数据源当中读取数据,以及将数据写入到数据目的地当中

代码调试中的问题和解决过程

  • 问题1:TestData 编译成功,但运行错误
  • 问题1解决方案:去看答疑论坛看是否有解决办法。上网查找。在src 下新建目录,将它与第十章其他的内容放在一起,进行编译运行。

代码托管

上周考试错题总结

  • 错题1及原因,理解情况

    • A polymorphic reference is one that can refer to _______________ type(s) of object(s)(多态引用是一个能够指向___类型对象的引用变量).
      A .exactly one(只有一种)
      B .zero(零)
      C .multiple(多种)
      D .abstract
      E .static
  • 错题2及原因,理解情况

    • In Java, polymorphic method binding occurs ____________________ (在Java中,多态方法的绑定发生在____).
      A .at run time(运行时)
      B .at compile time(编译时)
      C .never(不发生)
      D .when a programmer writes the code(当程序员编写代码时)
      E .during the testing phase of software development(在软件开发的测试阶段期间)
  • 错题3及原因,理解情况

    • Suppose that Horse is a subclass of Animal, and neither class is abstract. Which of the following is an invalid declaration and initialization? (假设Horse是Animal的子类,且都不是抽象类。 下面哪项是无效的声明和初始化?)
      A .Horse h = new Horse();
      B .Horse h = new Animal();
      C .Animal a = new Animal();
      D .Animal a = new Horse();
      E .all of the above(以上都正确) are valid(以上都是有效的)
  • 错题4及原因,理解情况

    • Let Dog be a subclass of Animal, and suppose Animal has a method called speak() that is overridden in the Dog class. Consider the following code(假设Dog是Animal的子类,且Animal有一个方法speak(),该方法在Dog类中被重载).

      Animal spot = new Dog();
      spot.speak();

    Which of the following is true? (下面哪项是正确的)
    A .This code will result in a compile-time error. (这段代码会引起编译时错误)
    B .This code will result in a run-time error. (这段代码会引起运行时错误)
    C .The speak method defined in the Animal class will be called. (将会调用Animal类中的speak方法)
    D .The speak method defined in the Dog class will be called. (将会调用Dog类中的speak方法)
    E .The speak method will not be called at all. (不会调用任何speak方法)

  • 错题5及原因,理解情况
    Which of the following methods are included with any object that implements the Iterator interface? (下面哪个方法包含了实现Iterator接口的对象?)
    A .next
    B .hasNext
    C .toString
    D .all of the above(以上都正确)
    E .a and b(a和b)

结对及互评

点评模板:

点评过的同学博客和代码

其他(感悟、思考等,可选)

本周的学习与之前的学习相比,算是轻松一点,以前我总是侧重于看书,书上的知识比视频上的要深一些,所以我改变了一下学习方法,变成了先看视频再看书上的知识,效率提升了一些。

学习进度条

代码行数(新增/累积) 博客量(新增/累积) 学习时间(新增/累积) 重要成长
目标 5000行 30篇 400小时
第一周 72/72 1/1 20/20
第二周 267/339 1/2 18/38
第三周 297/636 1/3 22/60
第四周 719/1355 2/5 30/90
第五周 640/1995 1/6 20/110
第六周 698/2693 1/7 20/130
第七周 358/3047 2/9 20/150
第八周 264/3311 1/10 20/170

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

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

  • 计划学习时间:20小时

  • 实际学习时间:20小时

  • 改进情况:

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

参考资料

posted @ 2017-04-23 19:44  张韵琪  阅读(225)  评论(3编辑  收藏  举报