1在一个语句内写多条语句时,每个语句之间用 符号分隔. (A), (B): (C)、 (D); [A] [B] [C] [D] 2 下面 是合法的变量名. (A)X_yz (B)123abc (C)int

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/19 07:16:54
1在一个语句内写多条语句时,每个语句之间用符号分隔.(A),(B):(C)、(D);[A][B][C][D]2下面是合法的变量名.(A)X_yz(B)123abc(C)int1在一个语句内写多条语句时

1在一个语句内写多条语句时,每个语句之间用 符号分隔. (A), (B): (C)、 (D); [A] [B] [C] [D] 2 下面 是合法的变量名. (A)X_yz (B)123abc (C)int
1在一个语句内写多条语句时,每个语句之间用 符号分隔.
(A), (B): (C)、 (D);

[A] [B] [C] [D]

2 下面 是合法的变量名.
(A)X_yz (B)123abc (C)integer (D)X-Y

[A] [B] [C] [D]

3下面 是不合法的整常数.
(A)100 (B)&O100 (C)&H100 (D)%100

[A] [B] [C] [D]

4下面 是合法的字符常数.
(A)ABC$ (B)“ABC” (C)‘ABC’ (D)ABC

[A] [B] [C] [D]

5 下面 是合法的单精度型变量.
(A)num! (B)sum% (C)xinte$ (D)mm#

[A] [B] [C] [D]

6 下面 是不合法的单精度变量.
(A)100! (B)100.0 (C)1E+2 (D)100.0D+2

[A] [B] [C] [D]
7表达式16/4-2 5*8/4MOD5\2的值为 .
(A)14 (B)4 (C)20 (D)2

[A] [B] [C] [D]

8 \、/、Mod、*四个算术运算符中,优先级别最低的是 .
(A)\ (B)/ (C)Mod (D)*

[A] [B] [C] [D]

9 Int(198.555*100+0.5)/100的值 .
(A)198 (B)199.6 (C)198.56 (D)200

[A] [B] [C] [D]

10 已知A$=“12345678”,则表达式Val(Left$(A$,4)+Mid$(A$,4,2))的值为 .
(A)123456(B)123445 (C)8 (D)6

[A] [B] [C] [D]

11 Print DateAdd(“m”,1,#1/30/2000#)语句显示的结果是 .
(A)00-2-29 (B)00-2-28 (C)00-2-30 (D)00-1-31

[A] [B] [C] [D]

12表达式DateDiff(“y”,#12/30/1999#,#1/13/2000#)的结果是 .
(A)1 (B)11 (C)14 (D)99

[A] [B] [C] [D]

13表达式Len(“123程序设计ABC”)的值是 .
(A)10 (B)14 (C)20 (D)17

[A] [B] [C] [D]

14 表达式LenB(“123程序设计ABC”)的值是 .
(A)10 (B)14 (C)20 (D)17

[A] [B] [C] [D]

15 下面正确的赋值语句是 .
(A)x+y=30 (B)y=π*r*r (c)y=x+30 (D)3y=x

[A] [B] [C] [D]

16 为了给x,y,z三个变量赋初值1,下面正确的赋值语句是 .
(A)x=1:y=1:z=1 (B)x=1,y=1,z=1 (C)x=y=z=1 (D)xyz=1

[A] [B] [C] [D]

17 赋值语句:a=123+MID(“123456”,3,2)执行后,a变量中的值是 .
(A)“12334” (B)123 (C)12334 (D)157

[A] [B] [C] [D]

18 赋值语句:a=123&MID(“123456”,3,2)执行后,a变量中的值是 .
(A)“12334” (B)123 (C)12334 (D)157

[A] [B] [C] [D]
各位高手帮帮忙看看答案

1在一个语句内写多条语句时,每个语句之间用 符号分隔. (A), (B): (C)、 (D); [A] [B] [C] [D] 2 下面 是合法的变量名. (A)X_yz (B)123abc (C)int
1在一个语句内写多条语句时,每个语句之间用 符号分隔.
(A),(B):(C)、 (D);
[A] [B] [C] [D]
2 下面 是合法的变量名.
(A)X_yz (B)123abc (C)integer (D)X-Y
[A] [B] [C] [D]
3下面 是不合法的整常数.
(A)100 (B)&O100 (C)&H100 (D)%100
[A] [B] [C] [D]
4下面 是合法的字符常数.
(A)ABC$ (B)“ABC” (C)‘ABC’ (D)ABC
[A] [B] [C] [D]
5 下面 是合法的单精度型变量.
(A)num!(B)sum% (C)xinte$ (D)mm#
[A] [B] [C] [D]
6 下面 是不合法的单精度变量.
(A)100!(B)100.0 (C)1E+2 (D)100.0D+2
[A] [B] [C] [D]
7表达式16/4-2 5*8/4MOD5\2的值为 .
(A)14 (B)4 (C)20 (D)2
[A] [B] [C] [D]
8 \、/、Mod、*四个算术运算符中,优先级别最低的是 .
(A)\ (B)/ (C)Mod (D)*
[A] [B] [C] [D]
9 Int(198.555*100+0.5)/100的值 .
(A)198 (B)199.6 (C)198.56 (D)200
[A] [B] [C] [D]
10 已知A$=“12345678”,则表达式Val(Left$(A$,4)+Mid$(A$,4,2))的值为 .
(A)123456(B)123445 (C)8 (D)6
[A] [B] [C] [D]
11 Print DateAdd(“m”,1,#1/30/2000#)语句显示的结果是 .
(A)00-2-29 (B)00-2-28 (C)00-2-30 (D)00-1-31
[A] [B] [C] [D]
12表达式DateDiff(“y”,#12/30/1999#,#1/13/2000#)的结果是 .
(A)1 (B)11 (C)14 (D)99
[A] [B] [C] [D]
13表达式Len(“123程序设计ABC”)的值是 .
(A)10 (B)14 (C)20 (D)17
[A] [B] [C] [D]
14 表达式LenB(“123程序设计ABC”)的值是 .
(A)10 (B)14 (C)20 (D)17
[A] [B] [C] [D]
15 下面正确的赋值语句是 .
(A)x+y=30 (B)y=π*r*r (c)y=x+30 (D)3y=x
[A] [B] [C] [D]
16 为了给x,y,z三个变量赋初值1,下面正确的赋值语句是 .
(A)x=1:y=1:z=1 (B)x=1,y=1,z=1 (C)x=y=z=1 (D)xyz=1
[A] [B] [C] [D]
17 赋值语句:a=123+MID(“123456”,3,2)执行后,a变量中的值是 .
(A)“12334” (B)123 (C)12334 (D)157
[A] [B] [C] [D]
18 赋值语句:a=123&MID(“123456”,3,2)执行后,a变量中的值是 .
(A)“12334” (B)123 (C)12334 (D)157
[A] [B] [C] [D]
各位高手帮帮忙看看答案