第28题: [单项选择]有如下程序: Private Sub Command1_Click( ) a$="A WCIRKER IS HERE" x=Len(a$) For i=1 To x-1 b$=Mid$(a$,i,3) If b$="WOR"Then S=S+1 Next Print S End Sub 单击命令按钮,程序运行结果为 A. 1 B. 2 C. 3 D. 5 参考答案:A 答案解析:[解析] 此题考查字符串函数与循环语句的嵌套使用。S用来记录找到指定字符串的次数,在“A WORKER IS HERE”中只出现一次,所以返回值是1。
第32题: [简答题]请为宏达超市写一张海报。内容是:夏季清仓货物处理,所有货物折价20%销售,售后不退不换。 参考答案:
Good News Summer Sales All the goods are sold at twenty percent discount. Please examine and choose your favorite buys with care. There will be no replacing or refunding, as it is warned in advance. You are welcome to make your choices. Hongda Supermarket