20155318 2016-2017-2 《Java程序设计》第九学习总结
教材学习内容总结
学习目标
- 了解JDBC架构
- 掌握JDBC架构
- 掌握反射与ClassLoader
- 了解自定义泛型和自定义枚举
会使用标准注解html
JDBC
教材学习中的问题和解决过程
代码调试中的问题和解决过程
本周代码暂未遇到什么问题sql
代码行数统计
数据库
上周考试错题总结
- 错题1:ByteBuffer 调用了flip()以后,position的值必定是0。
- A .True
- B .False
- 正确答案: A 你的答案: B
- 错题2:Java NIO中与InputStream/OutputStream相对应的接口是(),用来链接数据节点。
- A .Channel
- B .Buffer
- C .Path
- D .FileStore
- 正确答案: A 你的答案: D
- 错题3:正则表达式”(‘|”)(.*?)\1”匹配 “'Hello',"World””的结果是()
- A .不匹配
- B .'Hello'
- C ."World"
- D .'Hello',"World"
- 正确答案: B C 你的答案: D
- 解析:反向引用 \1 表明第一个()中的匹配内容
- 错题4:abc? 匹配( )
- A .ab
- B .abc
- C .abcc
- D .abccc
- 正确答案: A B 你的答案: C
- 错题5:正则表达式 zo* 匹配()
- A .z
- B .zo
- C .zoo
- D .zooooooooooooooooooooooooooo
- 正确答案: A B C D 你的答案: A C
- 错题6:正则表达式“r.t”匹配字符串“rat”的Java 代码表达式是()
- A ."rat".matcher("r.t")
- B ."r.t".matcher("rat")
- C .Pattern.compile("rat").matcher("r.t")
- D .Pattern.compile("r.t").matcher("rat")
- 正确答案: D 你的答案: B
- 错题7:哪一个类表明可重用的正则表达式?
- A .Pattern
- B .Matcher
- C .Glob
- D .Regex
- 正确答案: A 你的答案: C
- 错题8:It is possible to send in data to a Java program via the command-line.(能够在命令行中给Java程序发送数据)
- A .True
- B .False
- 正确答案: A 你的答案: B
- 错题9:Which of the following array declarations are invalid? (下面哪一个数组声明是不合法的)
- A .int[] grades = new int[5];
- B .int grades[] = new int[5];
- C .int[] grades = { 91, 83, 42, 100, 77 };
- D .all of the above are valid(以上三个都合法)
- E .none of the above are valid(以上三个都不合法)
- 正确答案: D 你的答案: B
- 错题10:Which of the statements is true about the following code snippet?(对于下面的代码段,说法正确的是?)
- int[] array = new int[25];
- array[25] = 2;
- A .The integer value 2 will be assigned to the last index in the array.(整数2会赋给数组中最后一个元素)
- B .The integer value 25 will be assigned to the second index in the array.(整数25会赋给数组中的第2个索引)
- C .The integer value 25 will be assigned to the third value in the array. (整数25会赋给数组中的第3个元素)
- D .This code will result in a compile-time error.(代码会产生编译时错误)
- E .This code will result in a run-time error. (代码会产生运行时错误)
- 错题11:In Java, array indexes always begin at ________________ .(Java中,数组索引从______开始)
- A .-1
- B .0
- C .1
- D .2
- E .you can declare an array to have any indexes you choose(能够任意指定)
正确答案: B 你的答案: A数组
结对及互评
点评过的同窗博客和代码
- 本周结对学习状况
- 20145226
- 结对照片
001
- 结对学习内容
- 学习partner的代码并做出点评
- 学习partner的博客和本身的博客作对比,找出不足
- 上周博客互评状况
其余(感悟、思考等,可选)
对于Java的学习愈来愈套路,感受本身有了懈怠的情绪,这让我想起去年学习C语言的时候也是如此,到最后的时候以为学的难了,就开始懈怠。这周主要是学习了实验的内容,对于课本的知识就没有进行全面的掌握,接下来的学习目标以实践为主,本身要好好把握。架构
学习进度条
目标 |
5000行 |
30篇 |
400小时 |
|
第一周 |
50/100 |
1/1 |
24/24 |
安装学习Java的一系列软件 |
第二周 |
250/300 |
1/2 |
30/54 |
了解Java的基本语法 |
第三周 |
552/852 |
1/3 |
16/60 |
了解Java是面向对象的语言 |
第四周 |
717/1569 |
1/4 |
10/70 |
了解Java继承与接口 |
第五周 |
495/2064 |
1/5 |
6/76 |
了解异常处理,学会使用Collection收集对象 |
第六周 |
754/2818 |
1/6 |
6/82 |
了解串流和线程 |
第七周 |
679/3493 |
2/8 |
5/87 |
了解时间与日期,掌握Date和Calendar的一些用法 |
第八周 |
352/3845 |
1/9 |
8/95 |
了解并会使用通用API |
第九周 |
1203/5048 |
2/11 |
5/100 |
了解通用JDBC等相关知识,完成第二次实验 |
参考资料