
【名词&注释】
复杂度(complexity)、数据流(data stream)、软件开发(software development)、结构图(structure diagram)、详细设计阶段、文本框(text box)、程序流程图(program flow chart)、需求分析阶段(requirement analysis phase)、发生变化
[单选题]在软件开发中,需求分析阶段(requirement analysis phase)可以使用的工具是
A. N—S图
B. DFD图
C. PAD图
D. 程序流程图(program flow chart)
查看答案&解析
点击获取本科目所有试题
举一反三:
[单选题]执行以下程序后,y的值是 ( ) main( ) { int a[]={2,4,6,8,10}; int y=1,x,*p; p=&a[1]; for(x=0;x3;x+ +) y+=* (p+x); printf("%d\n",y); }
A. 17
B. 18
C. 19
D. 20
[单选题]窗体上画一个文本框(其名称为Text1)和一个标签(其名称为Labe11)。要求程序运行后,如果在文本框中输入字符,则立即在标签中显示相同的内容。以下可以实现上述操作的事件过程是______。
A. Private Sub Text1_Change() Labe11.Caption=Text1.Text End Sub
B. Private Sub Text1_Click() Labe11.Caption=Text1.Text End Sub
C. Private Sub Labe11_Change() Labe11.Caption=Text1.Text End Sub
D. Private Sub Labe11_Click() Labe11.Caption=Text1.Text End Sub
[单选题]下列语句都是在Form中定义的,( )是错的
A. Public Const A1=2u
B. Private Const A2=8
C. Public a3 As Integer
D. Private a4 As Integer
[单选题]若有如下程序: int sub() {static int n=1; int x=1; x*=n;n++; return x; } main() {int n,t=1; for(n=1;n6;n++)t*=sub(); printf("%d\n",t); } 则程序运行后的输出结果是( )
A. 15
B. 120
C. 34560
D. -30976
[单选题]下面这个程序段的时间复杂度是( )。 for (i=1; in; i++) { y=y+1; for (j=0;j=(2*n);j++) X++; }
A. O(log2n)
B. O(n)
C. 0(nlog2n)
D. O(n2)
[单选题]设窗体上有一个名为Txtl的文本框和一个名为Commandl的命令按钮,并有以下事件过程:
A. Private Sub Commandl一Click()
B. Text)
C. Select Case x
D. Casc Is<-10,Is>=20
E. Print“输入错误”
F. Case Is<0
G. Print 20 x
H. Case ls<10
I. Print 20
J. Case Is=20
K. Print x+10
L. End Select
M. End Sub
N. 程序运行时,如果存文本框中输入一5,则单击命令按钮后的输出结果是
O. 5
P. 20
Q. 25
R. 输入错误
本文链接:https://www.zhukaozhuanjia.com/download/qrk0z7.html