20172304 2017-2018-2 《程序设计与数据结构》第二周学习总结

20172304 2017-2018-2 《程序设计与数据结构》第2周学习总结

教材学习内容总结

这周主要学习了数据与表达式具体对一些数据的处理和简单的交互应用进行了学习。

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

  • 问题1:在进行double,float,int的区分时有一些混淆。
  • 问题1解决方案:在舍友的帮助下,在结合教材,通过深刻的思考和练习,成功的区分了二者的区别。

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

  • 问题1:在将作业纳入版本控制时出现了问题。

  • 问题1解决方案:后来在进行排查时发现是文件名出现了不匹配的情况,后来将文件名进行了修改,最后成功的将其纳入了版本控制。

  • 问题2:在进行推送的时候出现了错误,具体情况由于当时太心急没有截图,所以没有记录。

  • 问题2解决方案:参考了学长的意见我把解决问题的网址链接提供了。网址:(http://blog.csdn.net/Ltime/article/details/70224456)

代码托管

上周考试错题总结

  • 错题1
    A Java program is best classified as (一个Java程序被归为___类最合适)
    A . hardware (硬件)
    B . software (软件)
    C . storage (存储)
    D . processor (处理器)
    E . input (输入)
    正确答案: B 你的答案: C
    解析:这道题错误的原因很明显是没有好好的看教材,没有将相关的定义充分的理解记忆,后来进行了重新的学习后,将这个错误改正了。
  • 错题2
    Which memory capacity is the largest? (哪个选项的存储容量最大?)
    A . 1,500,000,000,000 bytes (1,500,000,000,000个字节)
    B . 100 gigabytes (100千兆字节)
    C . 3,500,000 kilobytes (3,500,000千字节)
    D . 10 terabyte (10太字节)
    E . 12,000,000 megabytes (12,000,000百万字节)
    正确答案: E 你的答案: D
    解析:这道题错误的原因很明显是没有好好的看教材,没有将相关的定义充分的理解记忆,后来进行了重新的学习后,将这个错误改正了。
  • 错题3
    Binary numbers are composed entirely of (二进制数完全由___组成)
    A . 0s (0)
    B . 1s (1)
    C . 0s and 1s (0和1)
    D . 0s, 1s and 2s (0,1和2)
    E . any digits between 0 and 9 (0到9之间的任何数字)
    正确答案: C 你的答案: B
    解析:这道题,其实在电子政务导论上就已经讲过了,答错的原因是没有看清选项。
  • 错题4
    Volatility is a property of (易变性是___的性质)
    A
    . RAM (随机存储器)
    B . ROM (只读存储器)
    C . disk (磁盘)
    D . software (软件)
    E . computer networks (计算机网络)
    正确答案: A 你的答案: D
    解析:这道题的答案在10页。
  • 错题5
    The ability to directly obtain a stored item by referencing its address is known as (通过引用地址直接获得存储项的能力被称为___)
    A . random access (随机存取)
    B . sequential access (顺序存取)
    C . read-only access (只读访问)
    D . fetch access (获取访问)
    E . volatility (易变性)
    正确答案: A 你的答案: D
    解析:这道题的答案在10页。
  • 错题6
    It is important to dissect a problem into manageable pieces before trying to solve the problem because (试图解决问题之前,把一个问题分解成可控制的几部分是很重要的,因为)
    A . most problems are too complex to be solved as a single, large activity (大多数问题太复杂,以至于不能作为一个单独大型的活动来解决)
    B . most problems are solved by multiple people and it is easy to assign each piece to a separate person (大多数问题都是由很多人解决的而且把每一部分分配给不同的人是很容易的)
    C . it is easier to integrate small pieces of a program into one program than it is to integrate one big chunk of code into one program (将程序的小部分整合到一个程序中比将一大块代码整合到一个程序中更容易)
    D . our first solution may not solve the problem correctly (我们的第一个方案可能无法正确解决问题)
    E . all of the above (以上皆是)
    正确答案: A 你的答案: B
    解析:这道题的答案在30页。
  • 错题7In the following list, which statement is not true regarding Java as a programming language? (关于Java这种程序设计语言,下面的哪种说法是不正确的?)
    A . It is a relatively recent language, having been introduced in 1995 (它是一种相对现代的语言,于1995年被引入)
    B . It is a language whose programs do not require translating into machine language before they are executed (它是一种执行程序前不需要被转换成机器语言的语言)
    C . It is an object-oriented programming language (它是一种面向对象的程序设计语言)
    D . It is a language that embraces the idea of writing programs to be executed using the World Wide Web (这种语言可以使用万维网来编写要执行程序的想法)
    E . All of the above are true (以上说法都是正确的)
    正确答案: B 你的答案: C
    解析:Java是一种执行程序前需要被转换成机器语言的语言
  • 错题8
    The main method for a Java program is defined by (Java程序中的主方法是由___定义的)
    A . public static main( )
    B . public static main(String[ ] args);
    C . public static main(String[ ] args)
    D . private static main(String[ ] args)
    E . the main method could be defined as in A, C or D but not B (主方法可以定义为A,C或者D,但不是B)
    正确答案: C 你的答案: B
    解析:这...没什么好说的,都打了这么多行代码了。
  • 错题9
    The line of Java code "// System.out.println("Hello");" will (Java的这行代码将会)
    A . do nothing (什么都不做)
    B . cause "Hello" to be output (输出"Hello")
    C . cause a syntax error (造成语法错误)
    D . cause "(Hello)" to be output (输出"(Hello)")
    E . there is no way to know without executing this line of code (不执行这行代码就无法知道)
    正确答案: A 你的答案: C
    解析:当时就是蒙的实践之后才知道自己的错误。
  • 错题10
    The instruction: System.out.println("Hello World"); might best be commented as (这个指令最好被注释为)
    A . // prints "Hello World" to the screen (将"Hello World"打印到屏幕上)
    B . // prints a message (打印一条信息)
    C . // used to demonstrate an output message (用来演示输出信息)
    D . //
    E . // meaningless instruction (没有意义的指令)
    正确答案: C 你的答案: A
    解析:这也是实践之后得到的结论。

思考

经过这一周的学习我更加的了解到了代码的博大精深,也意识到了自己将在敲代码的这条路上越走越远。

进度条

代码行数(新增/累积) 博客量(新增/累积) 学习时间(新增/累积) 重要成长
目标 5000行 30篇 400小时
第一周 75/200 1/2 10/20
第二周 413/500 2/4 30/38

参考资料

原文地址:https://www.cnblogs.com/15248252144dzx/p/8595550.html