11 2011 档案

摘要:today, after discuss with Martin, learn with another way. I start to use chinese material, videos and files, and then explain to Martin. See whether this way is faster. ———————- identifier (标识符) start with letter, underline, $ legal: userName, User_Name, _sys_value, $change illegal: 2mail, room#, cl 阅读全文
posted @ 2011-11-25 07:26 allenbackpacker 阅读(340) 评论(0) 推荐(0) 编辑
摘要:Chapter 3: Fundamental Data Types Charpter Goals • To understand integer and floating-point numbers • To recognize the limitations of the numeric types • To become aware of causes for overflow and round off errors • To understand the proper use of constants • To write arithmetic expressions in Java 阅读全文
posted @ 2011-11-25 07:23 allenbackpacker 阅读(107) 评论(0) 推荐(0) 编辑
摘要:While programming, need to become aware of causes for overflow and roundoff errors. Martin mentioned below arithmetic. I think it’s a very good test case for testing in future. 1.2345 * 5.123 / 5.123 = 1.234499999 ? Also, Martin mentioned that before when they paid the goods with tax, sometimes mayb 阅读全文
posted @ 2011-11-25 07:22 allenbackpacker 阅读(121) 评论(0) 推荐(0) 编辑
摘要:An Introduction to Objects and Classes Chapter GoalsTo understand the concepts of classes, objects and methodsTo learn about parameters and return valuesTo understand the purpose and use of constructorsTo be able to browse the API documentation and write documentation commentsTo become familiar with 阅读全文
posted @ 2011-11-25 07:20 allenbackpacker 编辑
摘要:Swiss has very different education system. I always think China’s education system has critical issues. Maybe Swiss way is a good refernce for us. There are 3 different ways of education paths. 1. 70% people will do this one: after 9 years of mandatory education, people select to go to some companie 阅读全文
posted @ 2011-11-25 07:19 allenbackpacker 阅读(176) 评论(0) 推荐(0) 编辑
摘要:From Martin, I know more thing about Swiss keyboard. To explain the following, we have to start from the languages using in Swiss. Swiss has several areas – French area, German area, and Italian area. Worb, the place I am working at belongs to German area. So the frist official language is German. . 阅读全文
posted @ 2011-11-25 07:18 allenbackpacker 阅读(251) 评论(0) 推荐(0) 编辑
摘要:Mainly focus on the basic entrance. Introduction, Pseudo Code, Simple java code ======================= Pseudo Code Question: you put $10000 into a bank account that earns 5 % interest per year. How many years does it take for the account balance to be double the original? Start with a year value 0 阅读全文
posted @ 2011-11-25 07:13 allenbackpacker 阅读(217) 评论(0) 推荐(0) 编辑
摘要:This is interesting. The keyboard here is different from what we always use in China. Characters and layout are different.Hans gave me the password to logon the system. There s a “@” character in it. With Chinese keyboard, I will use “Shift 2″ to generateit, but here, u have to use a “Alt Gr” key pl 阅读全文
posted @ 2011-11-25 07:12 allenbackpacker 阅读(445) 评论(0) 推荐(0) 编辑
摘要:http://vontall.blogbus.com/logs/4831888.html昨天把写的那篇《什么时候用GET?什么时候用POST?》给转到了phpx,结果有网友置疑,认为“GET最多不可超过255个字符”。虽说这篇文章是从著名的《PHP & MySQL Web数据库应用开发指南》上摘下来的更让我信任,本着钻研的精神我还是在网上进行了一翻考证。还真找到了最权威的资料:这个是微软官方的解释:http://support.microsoft.com/default.aspx?scid=kb;EN-US;q208427长度是2083字节,路径的最大长度是2048字节, post和g 阅读全文
posted @ 2011-11-24 22:45 allenbackpacker 编辑
摘要:缺页中断就是要访问的页不在主存,需要操作系统将其调入主存后再进行访问。缺页率:在进行内存访问时,若所访问的页已在主存,则称此次访问成功;若所访问的页不在主存,则称此次访问失败,并产生缺页中断。若程序P在运行过程中访问页面的总次数为S,其中产生缺页中断的访问次数为F,则其缺页率为:F/s.例1. 已知页面走向为1、2、1、3、1、2、4、2、1、3、4,且开始执行时主存中没有页面。若只给该作业分配2个物理块,当采用FIFO页面淘汰算法时缺页率为多少?假定现有一种淘汰算法,该算法淘汰页面的策略为当需要淘汰页面时,就把刚使用过的页面作为淘汰对象,试问就相同的页面走向,缺页率又为多少?解:根据所给页面 阅读全文
posted @ 2011-11-17 13:38 allenbackpacker 编辑
摘要:Assume have 2 machines: A and B. The NotepadTest app is in machine B. From machine A, remote desktop machine B, and then: invoke NotepadTest app, click File > Print, then check the items in the printer’s name drop down list. The options in the drop-down list is not of machine B, but of machine A. 阅读全文
posted @ 2011-11-16 13:44 allenbackpacker 编辑
摘要:老徐 says Application Verifier can help to check the memory leak issue of the notepad app. 阅读全文
posted @ 2011-11-16 09:15 allenbackpacker 编辑