题目内容

在窗体上画一个命令按钮,然后编写如下事件过程: Private Sub Command1_Click() x=0 Do Until x=-1 a=InputBox("请输入a的值") a=Val(A) b=InputBox("请输入b的值") b=Val(B) x=InputBox("请输入x的值") x=Val(x) a=a+b+x Loop Print a End Sub 程序运行后,单击命令按钮,依次在输入对话框中输入10、8、9、2、11、-1,则输出结果为 ______。

A. 15
B. 14
C. 13
D. 12

查看答案
更多问题

假定有如下的Sub过程: Sub Func(x As Single, y As Single) t=x x=t/y y=t Mod y End Sub 在窗体上画一个命令按钮,然后编写如下事件过程: Private Sub Command1_Click() Dim a As Single Dim b As Single a=6 b=5 Func(a, B) Print a, b End Sub 程序运行后,单击命令按钮,输出结果为 ______。

A. 6 5
B. 1 1
C. 1.2 5
D. 1.2 1

听力原文:W: This food is terrible. I can't even finish my dinner.
M: I know. You think with all the money we pay for room and board, the university could hire a better food service. Where are you headed next?
W: I'm going over to the student recreation center to play some bridge.
M: You are spending your time on a card game?
W: Not just any card game. It's one of the most strategic them is.
M: So I've heard. Don't you play with a partner?
W: Yeah. Four people play, two against the other two.
M: So you try to play in cooperation with your partner.
W: Actually, the cards of one of the four players are turned face up. That player is called the dummy.
M: I wouldn't want to be called that. When you are the dummy what do you do while the cards are being played?
W: Anything you want. Sit there and study, shuffle another deck, get snacks for everyone. I like to stand behind my partner and watch.
M: You know. I've heard that bridge is habit forming. You should be careful not. to play so much that you don't get your studying done.
W: Don't worry about me. I only play Thursdays after dinner, and sometimes when they need a fourth player. If you like, I could teach you.
M: Thanks. But I have a pretty heavy workload this semester. I have to spend my evenings studying. I don't really know how to do it yet.
(27)

A. In the student recreation center.
B. In the campus dining hall.
C. In the university bookstore.
D. In a classroom.

A.That one should think about the ideas while reading the words.B.That one should read

A. That one should think about the ideas while reading the words.
B. That one should read only the title and important words.
C. That one should always take notes.
D. That one should read sequences of words.

A.Studying.B.Preparing snacks.C.Playing cards.D.Learning how to play bridge.

A. Studying.
B. Preparing snacks.
C. Playing cards.
D. Learning how to play bridge.

答案查题题库