单项选择题
在软件测试设计中,软件测试的主要目的是______。
A.实验性运行软件
B.证明软件正确
C.找出软件中的全部错误
D.发现软件错误而执行程序
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
设在工程中有一个标准模块,其中定义了如下记录类型: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
点击查看答案&解析
单项选择题
若要获得滚动条的当前值,可访问的属性是______。
A.Text
B.Value
C.Max
D.Min
点击查看答案&解析
相关试题
以下程序找出50以内所有能构成直角三角形...
以下程序完成的功能是输入一个数n,并判断...
数据库设计分为以下6个设计阶段:需求解析...
下列程序实现的功能是:当在窗体上单击时,...
下图是应用程序的窗体,要求用户选中复选框...