摘要: 1.控制流图 2.使MAXPRIMES == 4时,n=5会引发越界 3.令n= 1,不满足numPrimes<n,所以不通过while的循环 4. 点覆盖{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16} 5. 边覆盖{(1,2),(2,3),(2,12),(3,4) 阅读全文
posted @ 2016-03-31 22:48 对学习有帮助 阅读(1187) 评论(0) 推荐(0) 编辑
摘要: Tasks: a) Description of triangle problem: Function triangle takes three integers a,b,c which are length of triangle sides; calculates whether the tri 阅读全文
posted @ 2016-03-18 13:49 对学习有帮助 阅读(542) 评论(1) 推荐(0) 编辑
摘要: Fault的定义:可能导致系统或功能失效的异常条件(Abnormal condition that can cause an element or an item tofail.),可译为“故障”。 Error的定义:计算、观察或测量值或条件,与真实、规定或理论上正确的值或条件之间的差异(Discr 阅读全文
posted @ 2016-03-09 23:32 对学习有帮助 阅读(520) 评论(0) 推荐(0) 编辑
摘要: 1.java里字符串判断不能用等号 可以用equals 2.web中jquery里datepicker的引用 <!-- 引入 jQuery --> <mce:script src="js/jquery.1.4.2.js" mce_src="js/jquery.1.4.2.js" type="text 阅读全文
posted @ 2016-03-07 22:51 对学习有帮助 阅读(189) 评论(0) 推荐(0) 编辑