题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2023-10-04 11:45:41

[单项选择]设在工程中有一个标准模块,其中定义了如下记录类型 Type Books Name As String* 10 TelNum As String * 20 End Type 在窗体上画一个名为 Command1的命令按钮,要求当执行事件过程Command1 Click时, 在顺序文件Person.txt中写入一条记录。 下列能够完成该操作的事件过程是 ______。
A. Private Sub Command1_Click( ) Dim B As Books Open "c:/Persotxt" For Output As #1 Name = InputBox("输入姓名") TelNum = InputBox("输入电话号码") Write #1, Name, TelNum Close #1 End Sub
B. Private Sub Command1_Click( ) Dim B As Books Open "c:/Persotxt, For Input As # 1 Name = lnputBox("输入姓名") TelNum = InputBox("输入电话号码") Print #1, Name, TelNttm Close #1 End Sub
C. Private Sub Command1_Click( ) Dim B As Books Open "c:/Persotxt" For Output As #1 Name = InputBox("输入姓名") TelNum = InputBox("输入电话号码") Write # 1, B Close #1 End Sub
D. Private Sub Command1_Click( ) Dim B As Books Open"c:/Persotxt" For Input As #1 Name=InputBox("输入姓名") TelNum=InputBox("输入电话号码") Print #1,Name,TelNum Close #1 End Sub

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

[单项选择]设在工程中有一个标准模块,其中定义了如下记录类型 Type Books Name As String*10 TelNum As String*20 End Type 在窗体上画一个名为Command1的命令按钮,要求当执行事件过程Command1_Click时,在顺序文件 Person.txt中写入一条记录。下列能够完成该操作的事件过程是
A. Private Sub Command1_Click( ) Dim B As Books Open”c:/PerSotxt"For Output As #1 Name=InpuB。x(“输入姓名”) TelNuln=InputBox(“输入电话号码”) Wdte#1.Name,TelNum Close#1 End Sub PIivate Sub Command1_C1ick() Dim B As BOOks OPen”c:/Persotxt"FOr lnput As #1 Name:InputBox(“输人姓名”) TelNum=InputBox(“输入电话号码”) Print#1,Name,TelNum C1ose#1 End Sub
B. Private Sub Command1_Chck( ) Dim B As Books Open”c:/Persoht”For Output As#1 Name=InputBox(“输入姓名”)
C. TelNum=InputBox(“输入电话号码”) Write#1,B Close#1 End Sub
D. Pnvate Sub Command1_Click( ) Open”c:/Persotxt"For lnput As #1 Name=InputBox(“输入姓名”) TalNum=InputBox(“输入电话号码”) Print,Name,TelNum Close#1 End Sub
[单项选择]设在工程中有一个标准模块,其中定义了如下记录类型Type Books Name As String *10 TelNum As String *20End Type在窗体上画一个名为Command1的命令按钮,要求当执行事件过程Command1_ Click时,在顺序文件Person.txt中写入一条记录。下列能够完成该操作的事件过程是______。
A. Private Sub Command1_Click() Dim B As Books Open "c:/Persotxt" For Output As #1 Name=InpuBox(“输入姓名”) TelNum=InputBox(“输入电话号码”) Write #1,Name,TelNum Close #1End Sub
B. Private Sub Command1_ Click() Dim B As Books Open "c:/Persotxt" For Input As #1 Name=InputBox(“输入姓名”) teLNum=InputBox(“输入电话号码”) Ptint #1,Name,TelNum Close #1End Sub
C. Private Sub Command1_ Click() Dim B As Books Open "c:/Persotxt" For Output As #1 Name=InputBox(“输入姓名”) TelNum=InputBox(“输入电话号码”) Write #1,B Close #1End Sub
D. Private Sub Command1_ Click() Dim B As Books Open "c:/PersotxT" For Input As #1 Name=InputBox(“输入姓名”) TelNum=InputBox(“输入电话号码”) Print #1 Nam TelNum Close #1End Sub
[单项选择]设在工程中有一个标准模块,其中定义了如下记录类型 Type Books Name As String * 10 TelNum As String * 20 End Type 在窗体上画一个名为Command1的命令按钮,要求当执行事件过程Command1_Click时, 在顺序文件Person.txt中写入一条记录。下列能够完成该操作的事件过程是______。
A. Private Sub Command1_Click() Dim B As Books Open"c:/Perso txt" For Output As #1 Name=InputBox("输入姓名") TelNum=InputBox("输入电话号码") Write #1,Name,TelNum Close #1 End Sub
B. Private Sub Command1_Click() Dim B As Books Open"c:/Persotxt" For Input As #1 Name=InputBox("输入姓名") TelNum=InputBox("输入电话号码") Print #1. Nam TelNum Close #1 End Sub
C. Private Sub Command1_Click() Dim B As Books Open" c:/Perso txt" For Output As #1 Name=InputBox("输入姓名") TelNum=InputBox("输入电话号码") Write #1, B Close #1 End Sub
D. Private Sub Command1_Click() Dim B As Books Open" c:/Perso txt" For Input As #1 Name=InputBox("输入姓名") TelNum=InputBox("输入电话号码") Print #1, Name, TelNum Close #1 End Sub
[单项选择]设在工程中有一个标准模块,其中定义了如下记录类型: Type Books Name As String * 10 TelNum As String * 20 EndType 在窗体中添加一个名为Commandl的命令按钮,要求单击命令按钮时,在顺序文件 P1. txt中写入一条记录。下列能够完成该操作的程序段是 ( )
A. Private Sub Commandl_Click() Dim B As Books Open"d:/P1.txt"For Output As #1 Name=InputBox( "姓名") TelNum=InputBox("电话号码") Write #1, Name, TelNum Close #1 EndSub
B. Private Sub Commandl_Click() Dim B As Books Open" d:/Ptxt" For Input As Name=InputBox ("姓名") TelNum=InputBox ("电话号码") Print #1, Name, TelNum Close #1 EndSub
C. Private Sub Commandl_Click() Dim B As Books Open"d:/P1. txt"For Output As Name=InputBox("姓名") TelNum=InputBox ("电话号码") Write #1,B Close #1 EndSub
D. Private Sub Commandl Cliek() Open"d:/P1.txt" For Input As Name=InputBox("姓名") TelNum=InputBox ("电话号码") Print #1,Name,TelNum Close #1 EndSub
[单项选择]设在工程中有一个标准模块,其中定义了如下记录类型: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:///Perso txt" for Output As #1 Name=InputBox(“输入姓名”) TelNum=InPutBox(“输入电话号码”) Write #1,Name,TelNum Close #1 End Sub
B. Private Sub Command1_ Click() Dim x As Books Open "c:/Perso txt" for Input As #1 Name=InputBox(“输入姓名”) TelNum=InputBox(“输入电话号码”) Print #1, Name, TelNum Close #1End Sub
C. Private Sub Command1_ Click() Dim x As Books Open "c:/Perso txt" for Output As #1 Name=InputBox(“输入姓名”) TelNum= InputBox(“输入电话号码”) Write #1,x Close #1End Sub
D. Private Sub Command1_ Click() Dim x As Books Open "c:/Perso txt" for Input As #1 Name= InputBox(“输入姓名”) TelNum=InputBox(“输入电话号码”) Print #1,Name,TeINum Close #1End Sub
[单项选择]设在工程中有一个标准模块,其中定义了如下记录类型: Type Books Name As String *10 TelNum As String *20 End Type 在窗体上画一个名为Command1的命令按钮,要求当执行事件过程Command1_Click时,在顺序文件Person.txt中写入一条记录。下列能够完成该操作的事件过程是
A. Private Sub Command1_Click() Dim B As Books Open "c:/Persotxt" For Output As #1 Name=InputBox(“输入姓名”) TelNum=InputBox(“输入电话号码”) Write #1,Name,TelNum Close #1 End Sub
B. Private Sub Command1_Click() Dim B As Books Open "c:/Persotxt" For Input As #1 Name=InputBox(“输入姓名”) TelNum=InputBox(“输入电话号码”) Print #1,Name,TelNum Close #1 End Sub
C. Private Sub Command1_Click() Dim B As Books ppen "c:/Persotxt" For Output AS #1 Name=InputBox(“输入姓名”) TelNum=InputBox(“输入电话号码”) Write #1,B Close#1 End Sub
D. Privte Sub Command1_Click() Open "c:/Persotxt" For Input As #1 Name=InputBox(“输入姓名”) TelNum=InputBox(“输入电话号码”) Print#1,Name,TelNum Close #1 End Sub
[单项选择]设在工程文件中有一个标准模块,其中定义了如下记录类型:
Type Books
Name As String*10
TelNum 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 Books Name As String*10 TelNum As String*20 End Type 在窗体上画一个名为Commandl的命令按钮,要求当执行事件过程Commandl_click时,在顺序文件Person.txt中写入一条记录。下列能够完成该操作的事件过程是______。
[单项选择]

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


A. Private Sub Command1_ Click() Dim B As Books Open "Persotxt" For Output As #1 Name=InputBox(“输入姓名”) TelNum=InputBox(“输入电话号码”) Write #1, Name, TelNum Close #1End Sub
B. Private Sub Command1_ Click() Dim B As Books Open "Persotxt" For Input As #1 Name=InputBox(“输入姓名”) TelNum=InputBox(“输入电话号码”). Print #1, Name, TelNum Close #1End Sub
C. Private Sub Command1_Click() Dim B As Books Open "Persotxt" For Output As #1 Name= InputBox(“输入姓名”) TelNum=InputBox(“输入电话号码”) Write #1,B Close #1End Sub
D. Private Sub Command1_ Click() Open "Perso txt" For Input As #1 Name=InputBox(“输入姓名”) TelNum=InputBox(“输入电话号码”) Print #1, Name, TelNum Close #1End Sub
[单项选择]假定在工程文件中有一个标准模块,其中定义了如下记录类型 Type Books Name As String*10 TelNum As String*20 End Type 要求当执行事件过程Command1_Click时,在顺序文件Person.txt中写入一条记录。下列能够完成该操作的事件过程是:()
A. Ptivate Sub Command1_Click() Dim B As Books Open"c:/Persotxt"For Output As#1 Name=InputBox("输入姓名") TelNum=InputBox("输入电话号码") Write#1,Name,TelNum Close#1 End Sub
B. Private Sub Command1_Click() Dim B As Books Open"c:/Persotxt"For Input As#1 Name=InputBox("输入姓名") TelNum=InputBox("输入电话号码") Print#1,Name,TelNum Close#1 End Sub
C. Private Sub Command1_Click() Dim B As Books OPQl"c:/Persotxt"For Output As#1 Nallle=InputBox("输入姓名") TelNum=InputBox("输入电话号码") Write#1,B Close#1 End Sub
D. Private Sub Command1_Click() Dim B As Books Open"c:/Persotxt"For lnput As#1 Name=InputBox("输入姓名") TelNum=InputBox("输入电话号码") Write#1,Name,TelNum Close#1 End Sub
[单项选择]假定在工程文件中有一个标准模块,其中定义了如下记录类型: Type Books Name As String*10 TelNum As String*20 End Type 要求当执行事件过程Command1_Click时,在顺序文件Person. txt中写入一条记录。下列能够完成该操作的事件过程是______。
A. Private Sub Command1_Click() Dim B As Books Open"c:/Perso txt" For Output As #1 Name=InputBox("输入姓名") TelNum=InputBox("输入电话号码") Write #1, Name, TelNum Close #1 End Sub
B. Private Sub Command1_Click() Dim B As Books Open"c:/Person txt" For Output As #1 Name=InputBox("输入姓名") TelNum=InputBox("输入电话导码") Print #1, Name, TelNum Close #1 End Sub
C. Private Sub Command1_Click() Dim B As Books Open"c:/Perso txt" For Output As #1 Name=InputBox("输入姓名") TelNum=InputBox("输入电话号码") Print #1, B Close #1 End Sub
D. Private Sub Command1_Click() Dim B As Books Open "c:/Person txt" For Output As #1 Name=InputBox("输入姓名") TelNum=InputBox("输入电话号码") Print #1, B Name, TelNum Close #1 End Sub
[单项选择]假定在工程文件中有一个标准模块,其中定义了如下记录类型 Type Books Name As String * 10 TelNum As String * 20 End Type 要求当执行事件过程Command1_Click时,在顺序文件Person.txt中写入一条记录。下 列能够完成该操作的事件过程是:

我来回答:

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

订单号:

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