未分类题

某个窗体己编写以下事件过程:
Private Sub Form_Click( )
Dim k as Integer,n as Integer,m as Integer
n=5
m=1
k=1
Do While k<=n
m=m*2
k=k+1
Loop
MsgBox m,vbYesNo+vblnformation,'Result'
End Sub
打开窗体运行后,单击窗体,弹出的信息框外观样式是______。
A.
B.
C.
D.

A.shangxuebA.cn/images/2010q3/ct_cstabm_ctabchoose_00375(20107).jpg'>
A.

【参考答案】

A
解析: Do While语句是先判断条件,如果条件为True,则执行循环体。本题中的条件表达式是k<=n,而......

(↓↓↓ 点击下方‘点击查看答案’看完整答案 ↓↓↓)
热门 试题

未分类题
听力原文:M: Next month you're going to celebrate Thanksgiving Day. When is it? I often get confused about it.W: It is supposed to be the fourth Thursday of November.M: So, let's see ... it will be November 23 this year. What are you going to do that day?W: I will be home with my family, of coursE.M: To thank God for a good harvest like the earlier settlers did centuries ago?W: Oh, that's history. True, every year we still tell our school kids the story of that famous Pilgrim feast. but for most of us, it's just time for family reunions.M: You usually eat roast turkey and potatoes for dinner. That's what I've reaD.W: Yes, and a lot of other things. It's always a huge meal. That's the tradition we still keep after so many years.M: Sounds like our Mid-Autumn Festival. In the evening, the whole family gathers together to enjoy the bright moon while eating mooncakes.W: Do you celebrate Christmas in China?M: No, we don't. We have our own Chinese New Year. We call it Spring Festival. How do you celebrate Christmas?W: Besides Christmas dinner, we attend Church service and sing Christmas carols. Children hang their stockings near their beds or in the living room so that Santa Claus can fill them with candy and toys.M: I know you have many other holidays.W: Yes, we have Lincoln's birthday, Valentine's Day, Easter Sunday, April Fool's Day, but let's call it quits for now. The dancing party must have already begun. We have to rush.(23)A.What is so-called Thanksgiving Day.B.How to celebrate Thanksgiving Day.C.The exact time of Thanksgiving Day.D.The history of Thanksgiving Day.
A.W:
B.
M:
C...
D.
M:
E.
M:
F.
W:
G.
M:
H.
W:
I.
M:
J.
W:
K.
(23)
A.What
L.
B.How
M.
C.The
N.
D.The