摘要:
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) 阅读全文
摘要:
Tasks: a) Description of triangle problem: Function triangle takes three integers a,b,c which are length of triangle sides; calculates whether the tri 阅读全文
摘要:
Fault的定义:可能导致系统或功能失效的异常条件(Abnormal condition that can cause an element or an item tofail.),可译为“故障”。 Error的定义:计算、观察或测量值或条件,与真实、规定或理论上正确的值或条件之间的差异(Discr 阅读全文