下面函数首部或过程首部合法的是()
第1题:
A、Sub f1(ByVal n%())
B、 Sub f1(%)As integer
C、 Function f1%(f1%)
D、 Function f1(ByVal n%)
第2题:
A、Private Sub sele(ByVal A( ) As integer)
B、Private Function sale(A() As Integer) As String
C、Private Sub sale(A() As Integer) As Integer
D、Private Sub sale(A(i) As Integer)
第3题:
下面子过程语句说明合法的是
A.Sub f1(s1 As String*8)
B.Sub f1(n()As Integer)As Integer
C.Function f1(f1 As Integer)As Integer
D.Function f1(By Val n As Integer)
第4题:
假定有以下函数过程:Function Fun(S As String)As StringDim Sl AS StringFor i=1 TO Len(S)sl=UCase(Mid(S,i,1))+slNext iFun=s1End Function则Str2= Fun("abcdefg")的输出结果为( )。A. abcdefg B.ABCDEFGC.gfedcba D.GFEDCBA
第5题:
解释FUNCTION,PROCEDURE和PACKAGE区别
第6题:
设下面程序段中调用fun函数传送实参a和b, main() { chara[10],b[10] ┇ fun(a,b); ┇ } 则在fun函数首部中,对形参错误的定义是( )
A.fun(char a[10],b[10]){…}
B.fun(char a1[],char a2[]){…}
C.fun(char p[10],char q[10]){…}
D.fun(char*s1,char*s2){…}
第7题:
在下列选项中,不正确的函数原型格式为()。
Aint Function(int a);
Bvoid Function (char);
Cint Function(a);
Dvoid int(double* a);
第8题:
设有过程首部procedure f(VAR x:integer;y:real);若a,b为整型变量,c为实型变量,则合法的过程调用语句是()
第9题:
以下是子过程或函数过程定义中的开始语句,错误的为()。
第10题:
在Visual FoxPro中,用于调用模块程序的命令是()。
第11题:
function sum
procedure next
function s(VAR s:real):integer
procedure f(a,b:real):char
第12题:
f(2,3)
f(2,3.0)
f(a+b,c)
f(b,2)
第13题:
A、Sub S1(ByVal n!())
B、Sub S1(n!) as Integer
C、 Function S1%(S1%)
D、 Function S1(ByVal n!)
第14题:
下列过程语句中正确的是( )。
A.Sub fl(By Val () As Integer)
B.Sub fl(n() As Integer)As Integer
C.Function fl(fl As Integer)As Integer
D.Function fl(By Val f As Integer)
第15题:
下列子过程语句中正确的是( )。
A.Sub f1(ByVal() As Integer)
B.Sub f1(n() As Integer)As Integer
C.Function f1(f1 As Integer)As Integer
D.Function f1(ByVa1 f as Integer)
第16题:
对于函数原型void function(int x,float y,char z='a'),合法的函数调用是( )。
A.function(2,3.Of)
B.function(2,3,4)
C.function(2)
D.function()
第17题:
A.Package and function
B.Function and userexit
C.Procedure and package
D.Function and procedure
第18题:
若将过程或函数放在单独的程序文件中,可以在应用程序中使用
A.SET PROGRAM TO
B.SET FUNCTION TO
C.SET ROUTINE TO
D.SET PROCEDURE TO
第19题:
以下哪段代码不能正确创建函数show()?()
第20题:
已知有如下说明: var x,y:integer; r,s:real; 下面赋值语句合法的是()
第21题:
EXPRESS语言通过一系列的说明来进行描述,这此说明主要包括()。
第22题:
Which of the following are types of routine objects?()
第23题:
s:=x+r;
x:=s;
y:=x+r/s;
x:=x DIV s;