窗体上有一个名称为Command1的命令按钮,其事件过程如下: Private Sub Command1_Click() Dim s As String Open"c:\File1.txt"For Input As#1 Open"c:\File2.txt"For Output As#2 Do While Not EOF(1) Input#1,s Print#2,s Loop Close#1. #2 End Sub 关于上述程序,以下叙述中错误的是______。
A. 程序把File1.txt文件的内容存放到File2.txt文件中
B. 程序中打开了两个随机文件
C. 程序中打开了两个顺序文件
D. “EOF(I)”中的“1”对应于File1.txt文件
查看答案
5()
A. hears
B. buys
C. understands
D. reads
窗体上有名称为Command1的命令按钮,名称分别为List1、List2的列表框,其中List1的MultiSelect属性设置为1(Simple),并有如下事件过程: Private Sub Command1_Click( ) For i =0 To List1. ListCount - 1 If List1. Selected(i) = True Then List2. Additem Text End ff Next End Sub 上述事件过程的功能是将List1中被选中的列表项添加到List2中。运行程序时,发现不能达到预期目的,应做修改,下列修改中正确的是____。
A. 将For循环的终值改为List1. ListCount
B. 将List1. Selected(i)=True改为List1. List(i). Selected=True
C. 将List2. AddItem Text改为List2. AddItem List1. List(i)
D. 将List2. AddItem Text改为List2. AddItem List1. ListIndex
It would be impossible to succeed in selling a product without first investigating the market.
In Cambodia, the choice of a spouse is a complex one for the young male. It may involve not only his parents and his friends, 1 those of the young woman, but also a matchmaker. A young man can 2 a likely spouse on his own and then ask his parents to 3 the marriage negotiations, or the young man"s parents may make the choice of a spouse, giving the child little to say in the selection. 4 , a girl may veto the spouse her parents have chosen. 5 a spouse has been selected, each family investigates the other to make sure its child is marrying 6 a good family.The traditional wedding is a long and colorful affair. Formerly it lasted three days, 7 by the 1980s it more commonly lasted a day and a half. Buddhist priests offer a short sermon and 8 prayers of blessing. Parts of the ceremony involve ritual hair cutting, 9 cotton threads soaked in holy water around the bride"s and groom"s wrists, and 10 a candle around a circle of happily married and respected couples to bless the 11 . Newlyweds traditionally move in with the wife"s parents and may 12 with them up to a year, 13 they can build a new house nearby.Divorce is legal and easy to 14 , but not common. Divorced persons are 15 with some disapproval. Each spouse retains 16 property he or she 17 into the marriage, and jointly-acquired property is 18 equally. Divorced persons may remarry, but a gender prejudice 19 up: The divorced male doesn"t have a waiting period before he can remarry 20 the woman must wait ten months.
A. changed
B. brought
C. shaped
D. pushed