首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
下面语句中能够打开随机文件的是
下面语句中能够打开随机文件的是
admin
2020-04-18
27
问题
下面语句中能够打开随机文件的是
选项
A、Open“file.txt”For Random As#1
B、Open“file.txt?t For Input As#1
C、Open“file.txt”For Output As#1
D、Open“file.txt”,For Append As#1.
答案
A
解析
Vlsusl Basic程序中关于文件的操作,主要是先打开一个文件,然后对这个文件进行读或写的操作,操作完成后,关闭这个文件。打开文件的基本格式为:Opcn FiIeName F0r M0de As#FileNumber。打开方式主要有output、Append、Input、Random等几种方式,其中打开随机文件使用Random方式打开。
转载请注明原文地址:https://kaotiyun.com/show/lZTp777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
以下关于单选按钮和复选框的叙述中,正确的是
为了对多个控件执行操作,必须选中这些控件。下列不能选中多个控件的操作是
下面关于标准模块的叙述中错误的是
为了使标签具有“透明”的显示效果,需要设置的属性是
对于含有多个窗体的工程而言,以下叙述中正确的是
在窗体上画一个名称为Command1的命令按钮,编写如下事件过程:PrivateSubCommand1_Click()n=0Fori=0To10X=2*i-1IfXMod3=0Thenn=n+1NextiP
以下关于过程及过程参数的描述中,错误的是
设窗体上有名称为Option1的单选按钮,且程序中有语句:IfOptionl.Value=TrueThen下面语句中与该语句不等价的是
表达式2*3^2+4*2/2+3^2的值是
以下关于图片框控件的说法中,错误的是( )。
随机试题
A.Horner综合征B.Mirizzi综合征C.Budd-Chiari综合征D.Peutz-Jeghers综合征一侧上睑下垂、瞳孔缩小、眼球内陷等表现属于
A.280nmB.蛋白质分子颗粒大小在1~100nm之间C.特定的空间构象被破坏,理化性质丧失D.260nmE.在一定条件下可解离成带正电荷或负电荷的基团蛋白质的紫外吸收
案情:甲乙共谋教训其共同的仇人丙。由于乙对丙有夺妻之恨,暗藏杀丙之心,但未将此意告诉甲。某日,甲、乙二人共同去丙处。为确保万无一失,甲、乙以人室盗窃为由邀请不知情的丁在楼下望风。进入丙的房间后,甲、乙同时对丙拳打脚踢,致丙受伤死亡。甲、乙二人旋即逃离现场。
简述合同要约和合同承诺的法律意义。
尽管各种发展心理学派别关于心理发展的基本观点不尽相同,但都涉及到如下心理发展的基本原理:()。
A、 B、 C、 B
Howdoyouusuallycelebrateyourholiday?
Evenifyouaresayinganddoingtherightthingsatyourjob,andinyourpersonallife,youcouldbemakingabad(1)_____one
A、Allanimalsdrinkinthesameway.B、Animalsdrinkindifferentmanners.C、Catsanddogsdrinkinthesameway.D、Noresultha
ThewordYogaitselfcomesfromanancientSanskritwordmeaning"union".Whatkindofuniondoyouthinkthewordrefersto?Wh
最新回复
(
0
)