相关考题
-
单项选择题
下列不能打开代码窗口的操作是()。
A.双击窗体上的某个控件
B.双击窗体
C.单击查看代码按钮
D.单击窗体或控件 -
单项选择题
已知在“通用”代码有以下语句: Dim stu()As String 则,在某一事件代码中使用()是正确的。
A.ReDim stu(120)
B.ReDim stu(4,120)
C.ReDim stu( )
D.ReDim stu( ) As Integer -
单项选择题
以下不能实现符号函数y=sgn(x)的程序段是()。
A.if x>0 then y=1 else if x=0 then y=0 else y= -1
B.if x>0 then y=1 else if x<0 then y= -1 else y=0
C.if x>=0 then if x=0 then y=0 else y= -1 else y=1
D.if x<>0 then if x<0 then y= -1 else y= 1 else y=0
