单项选择题
下列数据模型中,具有坚实理论基础的是______。
A.层次模型
B.网状模型
C.关系模型
D.以上3个都是
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
下列程序的运行结果是 ______。Private Sub Command1_ Click () a =1: b=1 for i = 1 To 3 a= a+ b: b=b+ a Next i Print a, bEnd Sub
A.6 6
B.5 8
C.13 21
D.34 55
点击查看答案&解析
单项选择题
设在工程中有一个标准模块,其中定义了如下记录类型:Type Books Name As String *10 TelNum As String*20 End Type 在窗体上画一个名为Command1的命令按钮,要求当执行事件过程Command1_ Click时,在顺序文件 Person.txt中写入一条记录。下列能够完成该操作的事件过程是______。
A.Private Sub Command1_ Click()
Dim x As Books
Open "C:\Person. txt" for Output As #1
x. Name=InputBox(“输入姓名”)
x. TelNum=InPutBox(“输入电话号码”)
Write #1,x.Name,x.TelNum
Close #1
End Sub
B.Private Sub Command1_ Click()
Dim x As Books
Open "c:\Person. txt" for Input As #1
x.Name=InputBox(“输入姓名”)
x. TelNum=InputBox(“输入电话号码”)
Print #1,x. Name,x. TelNum
Close #1
End Sub
C.Private Sub Command1_ Click()
Dim x As Books
Open "c:\Person. txt" for Output As #1
x. Name=InputBox(“输入姓名”)
x. TelNum= InputBox(“输入电话号码”)
Write #1,x
Close #1
End Sub
D.Private Sub Command1_ Click()
Dim x As Books
Open "c:\Person. txt" for Input As #1
x. Name= InputBox(“输入姓名”)
x.TelNum=InputBox(“输入电话号码”)
Print #1,Name,TeINum
Close #1
End Sub
点击查看答案&解析
相关试题
窗体上有一个组合框,编写下列程序:Privat...
在窗体上有一个名称为List1列表框和一个名...
在窗体上画一个命令按钮,名称为Command1...
在一个窗体上添加命令按钮控件,名为Comman...
在窗体上画一个命令按钮,名称为Command1...