单项选择题

线性表最常用的操作是存取第i个元素及其前趋的值,则采用______ 存储方式节省时间。

A.单链表
B.双向链表
C.单循环链表
D.顺序表
<上一题 目录 下一题>
热门 试题

单项选择题
在工程中的标准模块中定义了如下数据类型: 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
相关试题
  • 如果要将某个菜单项设计为分隔线,则该菜单...
  • 在窗体画一个命令按钮,然后编写如下过程:...
  • 假定建立了一个工程,该工程包括两个窗体,...
  • 在窗体画一个命令按钮,然后编写如下事件过...
  • 下面的程序用“冒泡”法将数组a中的10个...