过程说明有错,因为没有形式参数
过程说明有错,因未说明过程的类型
过程说明有错,因为在过程体内没有给过程名赋值的语句
过程说明正确
第1题:
Aa=8
B12
Ca=6
D0
第2题:
Abcdabcdabc
Babcdabcdab
Ccdabcdabcd
Ddabcdabcda
第3题:
Ai:=4; repeat writeln(‘verygood!‘); until i=4
Bi:=4; repeat writeln(‘verygood!‘); until i>4
Ci:=4; repeat writeln(‘verygood!‘); until i5
第4题:
设有如下函数定义,则输出结果为______。 char*fun (char*str) {char*p=str; while(*p) { if(*p>'d') continue; p++; } return p; } main() { printf("%s\n",fun("welcome!")); }
A.welcome!
B.come!
C.w
D.程序陷入死循环中
第5题:
A.<welcome-file>start.jsp</welcome-file>
B.<welcome-file-list>start.jsp</welcome-file-list>
C.<welcome-list><welcome-file>start.jsp</welcome-file></welcome-list>
D.<welcome-file-list><welcome-file>start.jsp</welcome-file></welcome-file-list>
第6题:
Aread(p,q);
Bp^:=q^
Cp:=p+1
Dp:=p+q;
第7题:
The _____ specification delineates specific end use capabilities which can be tested in the acceptance procedure.
A performance
B functional
C technical
D base line
E operational
第8题:
A567 563
B567 567
C567 167
D567 163
第9题:
Which traversal method for a binary tree does the following Pascal code illustrate? Procedure traverse(p:pointer); Begin Ifp<>NIL Then begin Traverse (p^.left); Process(p); Traverse(p^.right) End; End_
A.pre_order
B.middle_order
C.none
D.last_order
第10题:
以下是有关Visual FoxPro过程文件的叙述,其中正确的是______。
A.先用“SET PROCEDURE TO”命令关闭原来已打开的过程文件,然后用“DO<过程名>”执行
B.可直接用“DO<过程名>”命令执行
C.先用“SET PROCEDURE TO<过程文件名>”命令打开过程文件,然后用“USE<过程名>”执行
D.先用“SET PROCEDURE TO<过程文件名>”命令打开过程文件,然后用“DO<过程名>”执行