在工程中的标准模块中定义了如下数据类型: Type fruitorange As

题型:单项选择题

问题:

在工程中的标准模块中定义了如下数据类型:
Type fruit
orange As Integer
apple As Integer
End Type
在窗体上有—命令按钮Command1,要求当单击命令按钮时在C:\根目录下的顺序文件myfrtac.txt 中写入一条记录,下列能够完成改操作的事件过程是______ 。

A.Private Sub Command1_Click()
Dim myfrt As fruit
myfrt. orange = 5
myfrt. apple = 10
Open “c:\myfrta. txt” For Output As #1
Print #1, myfrt. orange; myfrt. apple
Close #1
End Sub

B.Private Sub Command1_Click()
Dim myfrt As fruit
myfrt. orange= 5
myfrt. apple= 10
Open “c:\myfrtac. txt”For Input As #1
Print #1, myfrt, orange; myfrt. apple
Close #1
End Sub

C.Private Sub Command1_Click()
Dim myfrt As fruit
myfrt. orange= 5
myfrt. apple = 10
Open “c:\myfrtac. txt” For As #1
Print #1, myfrt. orange; myfrt. apple
Close #1
End Sub

D.Private Sub Command1_Click()
Dim myfrt As fruit
myfrt. orange = 5
myfrt. apple= 10
Open “c:\myfrtac..txt” For Output As #1
Print myfrt. orange; myfrt. apple
Close #1
End Sub

考点:计算机等级考试VISUALBASIC二级VISUALBASIC笔试
题型:单项选择题

简述综合艺术构思方式?

题型:单项选择题

—How long has he been studying English?

         he was six years old.[ ]

A.Since  

B.For    

C.At    

D.On

题型:单项选择题

一个数据库表最多可以设置______个触发器。

A.1

B.2

C.3

D.4

题型:单项选择题

某河上下两港相距90公里,每天定时有甲、乙两艘船速相同的客轮从两港同时出发相向而行。这天甲船从上港出发时掉下一物,此物浮于水面顺水漂下,2分钟后,与甲船相距1公里,预计乙船出发后几小时与此物相遇( )

A.6小时

B.5小时

C.4小时

D.3小时

题型:单项选择题

疏通下水道、清理排水沟

A.淡色库蚊
B.中华按蚊
C.蚤
D.蝇
E.虱

更多题库