2The following is a pseudocode fragment that has no redeeming feature
except for the purpose of this question.(下面语句是一段伪代码)
module nonsense[]
/*a[] and b[] are global variables */
begin
int i,x
i=1
read(x)
while(i <x)do begin
a=b*x
if a>50 then
print("array a is over the limit")
else
print("ok")
i=i+1
end
print("end of nonsense")
end
Please list test cases to cover all branches in this fragment
(请设计一个测试用例涵盖该段代码各个分支)
3 Describe criterions that testing is completed(描述一个测试结束的准则)
4 What kinds of content should be included in a Test Plan?(For example,
available human resource)(在一个测试计划中能包含哪些内容,如可用的人力资源)
5 Please describe differences between functional testing and usability