black

登录

未知题型

intadd(intm,intn){if(m>100||m<0||n>100||n<0)return-1;returnm+n;}该程序期望输出两个100以内的正整数之和,和可以超过100。返回-1则表示输入参数不符合要求用边界值分析的方法测试该程序,如果要测试不期望的结果(输入参数不符合要求),要选择哪些测试数据()。

【参考答案】

A.(1,1)
B.(0,90)
C.(90,0)
D.(99,99)
E.(1,100......

(↓↓↓ 点击下方‘点击查看答案’看完整答案 ↓↓↓)

相关考题

单项选择题 Alex is a first-line supervisor with an employee who has a performance problem. After much coaching of the employee with little apparent improvement, Alex decides to terminate the employment relationship. This type of separation is called: A. a layoff. B. a voluntary separation. C. a discharge. D. rightsizing.

未知题型 intadd(intm,intn){if(m>100||m<0||n>100||n<0)return-1;returnm+n;}该程序期望输出两个100以内的正整数之和,和可以超过100。返回-1则表示输入参数不符合要求用边界值分析的方法测试该程序,如果要测试期望的结果,要选择哪些测试数据()。

判断题 Du Fu was a great realist poet in the Tang Dynasty.

All Rights Reserved 版权所有©考试题库网(kstiku.com)

备案号:湘ICP备14005140号-3

经营许可证号:湘B2-20140064