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

[单项选择]设在工程中有一个标准模块,其中定义了如下记录类型: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"的相关试题:

[单项选择]设在工程中有一个标准模块,其中定义了如下记录类型 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 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 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*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中写入一条记录。下 列能够完成该操作的事件过程是:
[单项选择]设在工程中定义了如下类型: Type stutype ino As Integer strname As String*20 strsex As String* 1 smark As Single End Type在窗体上正确使用这个类型的是下列哪个操作( )。
A. Sub Commandl_Click0 Dim student As Stutype With student .ino = 12 . strname = smith .strsex = .smark = 89 End With End Sub
B. Sub Commandl_Click0 Dim student As Stutype With student .ino = 12 .strname = "smith" .strscx = "男" .smark = 89 End With End Sub
C. Sub Commandl_Click0 Dim student As Stutype With Stutype ino = 12 .strname = "smith" .strsex = "男" .smark = 89 End With End Sub
D. Sub Command1 _Click() Dim student As Stutype With student .ino = 12 .strname = "smith" .strsex = "男" .smark = 89 End student End Sub
[单项选择]设在工程中定义了如下类型: Type stutype ino As Integer stmame As String*20 strsex As String*1 smark As Single End Type 在窗体上正确使用这个类型的是下列哪个操作( )。
A. Sub Command1_click() Dimstudent As Stutype With student .ino=12 .strname=smith .strsex=男 .smark=89 End With End Sub
B. Sub Command1_Click() Dim student As Stutype With student .ino=12 .strname="smith" .strsex="男" .smark=89 End With End Sub
C. Sub Command1_Click() Dim student As Stutype With Stutype .ino=12 .strname="smith" .strsex="男" .smark=89 End With End Sub
D. Sub Command1_click() Dim student As Stutype With student .ino=12 .strname="smith" .strsex="男" .smark=89 End student End Sub
[单项选择]设在工程中定义了下列类型: Type Stutype ino As Integer strname As String*20 strsex As String*1 smark As Single End Type 在窗体上正确使用这个类型的是下列哪个操作( )。
[填空题]html页面中有一个ul,id为“menulist”,name为“mymenu”,这个ul标签中有五个li标签,通过()可以获得这个ul标签中的五个li元素。
[单项选择]某数据库表中有一个Name字段,查找Name不为空的记录的准则可以设置为( )。
A. Not Null
B. Is Not Null
C. Between 0 and 64
D. Null

我来回答:

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

订单号:

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