以下哪个是程序实现的正确过程
- A.程序编码―需求审查―设计审查―单元测试―程序调试
- B.设计审查―程序编码―程序检查―代码审查―单元测试
- C.需求审查―程序编码―桌面检查―代码走查―程序调试
- D.设计审查―程序编码―程序检查―单元测试―程序调试
热度🔥173
在窗体中有一个命令按钮Command1,编写事件代码如下:
Private Sub Command1_Click()
Dim s As Integer
s=P(1)+P(2)+P(3)+P(4)
debug.Print s
End Sub
Public Function P(N As Integer)
Dim Sum As Integer
Sum=0
For i=1 To N
Sum=Sum+i
Next i
P=Sum
End Function
打开窗体运行后,单击命令按钮,输出结果是( )。
有以下程序
#include
main()
{
int a[4][4]={ {1,4,3,2},{8,6,5,7},{3,7,2,5},{4,8,6,1}}, i, k, t;
for (i=0; i<3; i++)
for (k=i+1; k<4; k++)
if (a[i][i] < a[k][k])
{ t=a[i][i]; a[i][i]=a[k][k]; a[k][k]=t;}
for (i=0; i<4; i++)
printf("%d,", a[0][i]);
}
程序运行后的输出结果是
设有语句:Open "c:\Test.Dat" For Output As #1则以下叙述中错误的是( )。
在Visual Foxpro中,属于命令按钮属性的是( )。
以下哪个不属于IM系统的主要功能?