首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
设在工程中有一个标准模块,其中定义了如下类型: Type stutype ino As Integer strname As String*20 strsex As String*1 smark As Single En
设在工程中有一个标准模块,其中定义了如下类型: Type stutype ino As Integer strname As String*20 strsex As String*1 smark As Single En
admin
2012-03-22
65
问题
设在工程中有一个标准模块,其中定义了如下类型: 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() Dim student As studtype Dim record_no As Integer record_no=1 With student .ino=12 .strname="smith" .strsex="男" .smark=89 End With Open" c:\student.dat" For input As # 1 len=len(student) Put # 1,record_
B、Sub Command1_Click( ) Dim student As studtype Dim record_no As Integer record_no=1 With student .ino=12 .strname="smith" .strsex="男" .smark=89 End With Open"c:\student.dat" For random As #1 len=len(student) Put #1,record_n
C、Sub Command1_Click() Dim student As studtype Dim record_no As integer record_no=1 With student .ino=12 .stmame="smith" .strsex="男" .smark=89 End With Open"c:\student.dat" For random As #1 len=len(student) Write #1,record_n
D、Sub Command1_Click() Dim Student As studtype Dim Record_no As Integer record_no=1 With student .ino=12 .strname="smith" .strsex="男" .smark=89 End With Open"c:\student.dat"For output As #1 len=len(student) Put #1,record_no,
答案
B
解析
转载请注明原文地址:https://kaotiyun.com/show/aLhp777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
Applet使用下列______布局管理器。
以下Case语句中错误的是
在窗体上画一个名称为List1的列表框,为了对列表框中的每个项目都能进行处理,应使用的循环语句为
数据模型按不同的应用层次分为三种类型,它们是【】数据模型、逻辑数据模型和物理数据模型。
以下能正确定义数据类型TelBook的代码是_________。
在单链表中,增加头结点的目的是
在软件开发过程中,软件结构设计是描述______。
InputBox函数返回值的类型为______。
设A="12345678",则表达式Val(Left(A,4)+Mid(A,4,2))的值为_________。
随机试题
呼吸衰竭
心肺复苏时,下列哪种给药途径不瞻奏效()
评估客户投资风险承受度,下列叙述错误的是( )。
下列属于商用房贷款需要审查,但有担保流动资金贷款不需要审查的有()。
【2010年】对于下列应收账款认定,通过实施函证程序,注册会计师认为最可能证实的是()。
下列说法与“少小离家老大回,乡音无改鬓毛衰。”所蕴涵的哲学寓意相一致的是()。
根据下列统计资料。2007年末全国总人口为132129万人,比上年末增加681万人。全年农村居民人均纯收入4140元,扣除价格上涨因素,比上年实际增长9.5%;城镇居民人均可支配收入13786元,扣除价格上涨因素,比上年实际增长12.2%。按农村
教师不是公务人员,但却是一个有着深厚历史传统和鲜明精神传承的职业。千百年来,教师这个身份,一直承载着高度的社会声誉和社会期盼。教师这个群体,如何定义自己的社会责任,如何确立自己的职业追求,如何体现自己的价值理念,___________________,更关
Thispassageismainlyaboutwhatwillhappenifsensationswerelost.Manypeoplearesubjecttofantasywhileinthesensory
ThedomesticeconomyintheUnitedStatesexpandedinaremarkablyvigorousandsteadyfashion.Therevivalinconsumerconfiden
最新回复
(
0
)