未知题型
把“算式”设计成一个具有数据结构的量时,我们有几种选择,每种设计都有一些优势和劣势,比如用数组表示一个“算式”时,具有如下优势。
A.节省存储空间
B.代码可读性高
C.直接显示输出
D.易编程实现
E.较易修改
正确答案:节省存储空间;易编程实现;较易修改
点击查看答案
相关考题
- 未知题型 intadd(intm,intn){if(m>100||m<0||n>100||n<0)return-1;returnm+n;}该程序期望输出两个100以内的正整数之和,和可以超过100。返回-1则表示输入参数不符合要求用边界值分析的方法测试该程序,如果要测试不期望的结果(输入参数不符合要求),要选择哪些测试数据()。
- 单项选择题 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则表示输入参数不符合要求用边界值分析的方法测试该程序,如果要测试期望的结果,要选择哪些测试数据()。
