更多"Programmers test a program by runni"的相关试题:
[单项选择]Programmers test a program by running it to ensure that the (74) are correct and that the program produces the desired outcome. If errors do occur, the programmer must make the appropriate change and recheck the program until it produces the correct results. This (75) is called testing and debugging.
A. commands
B. software
C. instructions
D. measure
[填空题]I started a rigorous program of running and dieting very next day.
[单项选择]
在下列程序中;
Program test(input, output);
var i, j: integer;
procedure calc(p1, p2:integer);
begin p2:=p2*p2 p1:=p1-p2; p2:=p2-p1;endcaic
beginmaini:=2;j:=3;
calc(i,j);write(j);
endmain
当参数传递采用引用方式(Call by reference)时,所得结果j= (33) ;
当参数传递采用换名方式(Call by name)时,所得结果j= (34) ;
当参数传递采用赋值方式(Call by value)时,所得结果j= (35) ;
递归是程序设计中很重要的一种控制结构,通常实现递归时,采用的数据结构是 (36) 。
对那些既可以用递归方式,也可以用循环方式求解的问题,就执行效率而言 (37) 。
(33)处填()。
A. 10
B. 16
C. 20
D. 28
[单项选择]在下列程序中:
Program test (input, output);
var i. j:integer;
procedure calc (p1, p2: integer);
beginp2: = p2 * p2 p1: = p1 - p2; p2: = p2 - p1; end caic
begin main i: =2;j:=3;
calc(i,j); write(j);
end main
当参数传递采用引用方式(Call by reference)时,所得结果j= (6) ;
当参数传递采用换名方式(Call by name)时,所得结果,j= (7) ;
当参数传递采用赋值方式(Call by value)时,所得结果,j= (8) 。
A. 3
B. 6
C. 10
D. 16
[填空题]为了在运行时把窗体Form1的标题(Caption 属性)设置为“Test Program”,应使用的语句为 【6】 。
[填空题]为了在运行时将窗体Form1的标题(Caption属性)设置为“Test Program”,应使用的语句为 【8】 。
[填空题]为了在运行时把窗体Form1的标题(Caption属性)设置为“Test Program”,应使用的语句为______。
[填空题]Running a business ( ) means running it at a loss.
[单项选择]A. Programmers. B. Scientists. C. Environmentalists. D. Economists.