首页 > 计算机应用技术> 平面图像软件设计与应用
题目内容 (请给出正确答案)
[主观题]

设有如下记录类型: Type student Number As String*10 Name As String*8 End Type 窗体中有

若干控件,单击其中的一个按钮Command1时,执行如下事件过程,该过程的功能是把数据输出到指定的文件中。根据题意,请完善下列程序。 Private sub Command1_click() Dim stu As student Open "C:\file, dat" For Random As 1 Len=Len(【 】) Title $="写记录到随机文件" Str1 $="请输入学生名" Str2 $="请输入学生名" For i=1 To 5 stu. Number=InputBox(Str1 $, Title $) stu. Name=InputBox$(Str2 $, Title $) 【 】1, i, stu Next i Close【 】 End Sub

查看答案
答案
收藏
如果结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能还需要:
您的账号:
发送账号密码至手机
发送
安装优题宝APP,拍照搜题省时又省心!
更多“设有如下记录类型: Type student Number …”相关的问题
第1题
下面一段程序定义了一个名字为“books”的记录,其4个域的域名及数据类型如下: 域名
数据类型 数据长度 title 字符型 40 author 字符型 20 price 单精度实型 10 请将下面【 】补充完整。 Type books title As String*40 author As string*20 Price【 】 End Type

点击查看答案
第2题
假定定义了一个记录类型,名为Rt,同时建立了一个名为Sp.txt的文件,然后编写如下的程序段: Dim
Rv As Rt r1=Len(Rv) Open"Sp.txt" For Random As 1 x=LOF(1) n=x\r1 执行上面的程序段后,变量n中存放的是文件【 】中所存放的是【 】记录类型的记录数。

点击查看答案
第3题
Out______ . A.rushed the students B.the students rushed C.are rushed the students D.did the stude

Out______ .

A.rushed the students B.the students rushed

C.are rushed the students D.did the students rush

点击查看答案
第4题
以下样式属性可以用来设置列表图标类型的是()

A.list: square

B.type: 2

C.type: square

D.list-style-type: square

点击查看答案
第5题
在J2EE中,test.jsp文件如下:<html><%{%><jsp:useBean id=“buffer” scope=“pag
在J2EE中,test.jsp文件如下:<html><%{%><jsp:useBean id=“buffer” scope=“page” type=“jave.lang.StringBuffer”/><% buffer.append(“ABC ”);%><%}%> buffer is <%=buffer%></html> 运行时,将发生()。

A.转译期错误

B.运行期错误

C.运行后,浏览器上显示:buffer is null

D.运行后,浏览器上显示:buffer is ABC

点击查看答案
第6题
The college provides financial assistance to______.A.unemployed applicantsB.admitted stude

The college provides financial assistance to______.

A.unemployed applicants

B.admitted students

C.qualified candidates

D.invited interviewees

点击查看答案
第7题
以下样式属性可以用来设置列表图标类型的是()。

A.type:square

B.type:2

C.list-style-type:square

D.list:square

点击查看答案
第8题
Only when the teacher had turned off the light______quiet.A.the students becameB.the stude

Only when the teacher had turned off the light______quiet.

A.the students became

B.the students become

C.would the students become

D.did the students become

点击查看答案
第9题
Change in the schools starting time______.A.have resulted in a better performance of stude

Change in the schools starting time______.

A.have resulted in a better performance of students

B.have failed to attract more students to schools

C.may be adopted by more schools in the future

D.may cause new problems for some students

点击查看答案
第10题
数据段有语句“XYZ DWORD ?”,则XYZ的类型是,用“TYPE XYZ”会得到数值为__。

A.4

B.3

C.2

D.1

点击查看答案
第11题
在struts.xml文件中,标签的type属性值默认为dispatcher,表示返回结果对应的视图类型为()。

A.Velocity

B.Action

C.JSP

D.FreeMarker

点击查看答案
退出 登录/注册
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改