首页 > 学历类考试
题目内容 (请给出正确答案)
[单选题]

语句Dim x As Integer 的作用是把x定义为()变量

A.单精度型

B.整型

C.布尔型

D.字符型

答案
收藏

B、整型

如果结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能还需要:
您的账号:
发送账号密码至手机
发送
安装优题宝APP,拍照搜题省时又省心!
更多“语句Dim x As Integer 的作用是把x定义为()…”相关的问题
第1题
⽤Dim A (1 to 15) As Integer语句定义的数组的元素个数是()。

A.14

B.15

C.16

D.17

点击查看答案
第2题
⽤Dim S (20) As Integer语句定义的数组的元素个数是()。

A.19

B.20

C.21

D.22

点击查看答案
第3题
⽤Dim A(-3 To 5)As Integer语句所定义的数组的元素个数是()。

A.6

B.7

C.8

D.9

点击查看答案
第4题
语句Dim a,b,c As Integer 将变量a,b,c声明为整型变量。()
点击查看答案
第5题
下列数组声明正确的是()。

A.r=8 : Dim a (1 to r) as integer

B.Dim a(10) as integer : ReDim a(1 to x)

C.Dim a(x) as single : ReDim a(3,6) as integer

D.Dim a() as integer : x=8 : ReDim a(1 to x) as integer

点击查看答案
第6题
有如下VB程序段Dim x As Integer, y As Integerx = 2: y = 4If x = y Then x = x + 2 Else y = y + 2该程序段运行后x,y的值为()

A.2,6

B.4,2

C.4,4

D.2,4

点击查看答案
第7题
下⾯的四个数组说明语句语法正确的是()。

A.DIM X[10]

B.DIM EN fn(10)

C.DIM X(20)

D.DIM ENSION a[10]

点击查看答案
第8题
在 VB 程序设计中,下列语句在编译中或运行后一定会发生错误提示的是()

A.Dim text As String

B.If f Then x=x*x+1

C.s="cd"+3

D.s=Mid("abc123",3)

点击查看答案
第9题
下列数组声明正确的是()。

A.n=5 : Dim a (1 to n) as integer

B.Dim a(10) as integer : ReDim a(1 to 12)

C.Dim a() as single : ReDim a(3,6) as integer

D.Dim a() as integer : n=5 : ReDim a(1 to n) as integer

点击查看答案
第10题
下列数组声明正确的是()。

A.n=6 : Dim a (1 to n) as integer

B.Dim a(10) as integer : ReDim a(1 to 12)

C.Dim a() as single : ReDim a(3,6) as integer

D.Dim a() as integer : n=6 : ReDim a(1 to n) as integer

点击查看答案
第11题
下列数组声明正确的是()。

A.t=15 : Dim a (1 to t) as integer

B.Dim a(15) as integer : ReDim a(1 to t)

C.Dim a(t) as single : ReDim a(3,6) as integer

D.Dim a() as integer : t=15 : ReDim a(1 to t) as integer

点击查看答案
退出 登录/注册
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改