单项选择题

线性表最常用的操作是存取第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
相关试题
  • 在窗体上面画一个命令按钮,然后编写如下事...
  • 在窗体上画两个文本框(其Name属性分别为Te...
  • 以下程序的输出结果是D) 9 12 Optio...
  • 对窗体编写如下事件过程: Private Sub ...
  • 在窗体上面一个命令按钮(其Name属性为Comm...