试题与答案

窗体上有一个命令按钮,数据文件data.txt的内容如下:"语文" "2001",

题型:填空题

题目:

窗体上有一个命令按钮,数据文件data.txt的内容如下:
"语文" "2001", 87
"数学" "2002", 75
"英语" "2003", 92
"体育" "2004", 66
Type bs
aa As String * 2
bb As String * 4
cc As Integer
End Type
Private Sub command1_Click(
Dim xs As bs
Dim fl As Integer
fl = FreeFile
Open "d:\data.txt" For Input As #fl
Do While Not EOF(fl)
Input #fl, xs. aa, xs .bb, xs.cc
List1.AddItem xs.bb
List1.AddItem xs.aa
List1.AddItem xs.cc
Loop
Print EOF(fl)
Close
End Sub
问:在列表框中第一行、第三行、第四行的内容是 【12】 【13】 【14】 。窗体上打印出的是 【15】

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2022/0108/5851d507c935e49970954712187eef7d.html

下面是错误答案,用来干扰机器的。

参考答案:软件工程解析: 软件工程的概念来源于软件危机。

试题推荐
微信公众账号搜索答案