题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2023-10-21 20:31:18

[单项选择]设在工程文件中有一个标准模块,其中定义了如下记录类型:
Type Books
Name As String * 10
TeINum As String * 20
End Type
在窗体上画一个名为Command1的命令按钮,要求当执行事件过程Command1_Click时,在顺序文件Person. txt中写入一条Books类型的记录。下列能够完成该操作的事件过程是( )。
A. Private Sub Command1_Click()
B. Private Sub Command1_Click()
C. Private Sub Command1_Click()
D. Private Sub Command1_Click()

更多"设在工程文件中有一个标准模块,其中定义了如下记录类型: Type B"的相关试题:

[单项选择]设在工程文件中有一个标准模块,其中定义了下列记录类型:   Type Books   Name As String*10   TelNum As String*20   End,Type   在窗体上画一个名为Command1的命令按钮,要求当执行事件过程Command1 Click 时,在顺序文件Person.txt中写入一条Books类型的记录。下列能够完成该操作的事件过程是   ( )。
A. Private Sub Command1 Click()
B. Name=InputBox(”输入姓名”)
C. relNum=lnputBox(”输入电话号码”)
D. Private Sub Command1 Click()
E. Name=InputBox("输入姓名")
F. TelNum=InputBox("输入电话号码")
G. Print#1,Name,B.TelNam
H. Private Sub Command1 Click()
I. Name=InputBox("输入姓名")
J. TelNum=InputBox("输入电话号码")
K. Private Sub Commandl Click()
[单项选择]设在工程中有一个标准模块,其中定义了如下记录类型
Type Books
Name As String* 10
TelNum As String * 20
End Type
在窗体上画一个名为 Command1的命令按钮,要求当执行事件过程Command1 Click时,
在顺序文件Person.txt中写入一条记录。 下列能够完成该操作的事件过程是 ______。
A. Private Sub Command1_Click( )
B. Private Sub Command1_Click( )
C. Private Sub Command1_Click( )
D. Private Sub Command1_Click( )
[填空题]假定在工程文件中有一个标准模块,其中定义了如下记录类型
Type Books
Name As String * 10
TelNum As String * 20
End Type
要求在执行事件过程Command1_Click时,在顺序文件Person.txt中写入一条记录。将经下程序补充完整。
Private Sub Command1_Clickk( )
Dim B As Books
open "c: /person. txt" For output As #1
B. Name = InputBox ("请输入姓名t" )
B. TelNum = InputBox("请输入电话号码" )
write #1, 【15】
close #1
End Sub
[填空题]设在工程中有一个标准模块,其中定义了如下记录类型: Type Books Name As String (10 TelNum As String *20 End Type 在窗体上添加一个名为Command1的命名按钮,要求当执行事件过程Command1 Click时,在顺序文件Person.txt中写入一条记录。请在横线中填入适当的内容,将程序补充完整。 Private Sub Command1_Click( ) Dim B As ______ Open."c:/Person.txt" For Output As #1 B.Name=InputBox(“输入姓名”) B.TelNum=InputBox(“输入学号”) Write#1, B.Name, B.TelNum Close #1 End Sub
[填空题]设在工程中有一个标准模块,其中定义了如下记录类型
Type Books
Name As String*10
TelNum As string*20
End Type
在窗体上画一个名为Command1的命令按钮,要求当执行事件过程Command1_Click时,
在顺序文件Person.txt中写入一条记录。该操作的事件过程是 【15】
[填空题]设在工程中有一个标准模块,其中定义了如下记录类型:
Type Books
Name As String*10
telNum As String*20
End Type
在窗体上添加一个名为Command1的命名按钮,要求当执行事件过程Command1_Click时,在顺序文件 Person.txt中写入一条记录。请在 【14】 中填入适当的内容,将程序被补充完整。
Private Sub Command1_Click( )
Dim B As 【14】
Open"c:/person.txt"For Output As #1
B.Name=Input Box(“输入姓名”)
B.TelNum=InputBox(“输入学号”)
Write#I,B,Name,B.TelNum
Close #1
End Sub
[填空题]假定在工程文件中有一个标准模块,其中定义了如下记录类型:
Type Books
Name As String*10
TelNum As String*20
End Type
要求在执行事件过程Command1_Click时,在顺序文件Person.txt中写入一条记录。将以下程序补充完整。
Private Sub Command1_Click( )
Dim B As Books
open "c:/person.txt"For output As#1
B.Name=InputBox(“请输入姓名”)
B.TeINum=InputBoxt“请输入电话号码“)
write#1, (13)
close#1
End Sub
[填空题]假定在工程文件中有一个标准模块,其中定义了如下记录类型:Type Books
Name As String *10
TelNum As String*20
End Type
要求在执行事件过程Command1_Click时,在顺序文件Person.txt中写入一条记录。将以下程序补充完整。
Private Sub Command1_Click( )
Dim B As Books
open "C=/person.txt" For output As#1
B.Name=InputBox("请输入姓名")
B.TelNum=InputBox("请输入电话号码")
write #1,______
Close #1
End Sub
[填空题]假定在工程文件中有一个标准模块,其中定义了如下记录类型:Type Books Name As String *10 TelNum As String*20 End Type 要求在执行事件过程Command1_Click时,在顺序文件Person.txt中写入一条记录。将以下程序补充完整。 Private Sub Command1_Click( ) Dim B As Books open "C=/person.txt" For output As#1 B.Name=InputBox("请输入姓名") B.TelNum=InputBox("请输入电话号码") write #1,______ Close #1 End Sub
[填空题]假定在工程文件中有一个标准模块,其中定义了如下记录类型 Type Books Name As String * 10 TelNum As String * 20 End Type 要求在执行事件过程Command1_Click时,在顺序文件Person.txt中写入一条记录。将经下程序补充完整。 Private Sub Command1_Clickk( ) Dim B As Books open "c: /person. txt" For output As #1 B. Name = InputBox ("请输入姓名t" ) B. TelNum = InputBox("请输入电话号码" ) write #1, 【15】 close #1 End Sub
[填空题]假定在工程文件中有一个标准模块,其中定义了如下记录类型。
Private Type Books
Name As String*10
TelNum As String#20
End Type
要求在执行事件过程Command1_Click时,在顺序文件Person.txt中写入一条记录。将以下程序补充完整。
Private Sub Command1_Click( )
DimB As Books
open“C/person.txt”For output As#1
B.Name=InputBox(“请输入姓名”)
B.TeINum=InputBox(“请输入电话号码”)
write#1, (9)
close#1
End Sub
[单项选择]设在工程中有一个标准模块,其中定义了如下类型:
Type stutype
ino As Integer
strname As String*20
strsex As String*1
smark As Single
End Type
在窗体上画一个名为Connnand1的命令按钮,要求当执行事件过程Command1_Click时,在c:/的随机文件student..dat写入一条记录。下列能够完成该操作的事件过程是( )。
A. Sub Command1_C1ick()
B. Sub Command1_Click( )
C. Sub Command1_Click()
D. Sub Command1_Click()

我来回答:

购买搜题卡查看答案
[会员特权] 开通VIP, 查看 全部题目答案
[会员特权] 享免全部广告特权
推荐91天
¥36.8
¥80元
31天
¥20.8
¥40元
365天
¥88.8
¥188元
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《购买须知》
立即支付 系统将自动为您注册账号
请使用微信扫码支付

订单号:

请不要关闭本页面,支付完成后请点击【支付完成】按钮
恭喜您,购买搜题卡成功
重要提示:请拍照或截图保存账号密码!
我要搜题网官网:https://www.woyaosouti.com
我已记住账号密码