单项选择题
下列数据模型中,具有坚实理论基础的是______。
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
点击查看答案&解析
相关试题
以下程序找出50以内所有能构成直角三角形...
以下程序完成的功能是输入一个数n,并判断...
数据库设计分为以下6个设计阶段:需求解析...
下列程序实现的功能是:当在窗体上单击时,...
下图是应用程序的窗体,要求用户选中复选框...