Section A
Directions: In this section, you will hear 8 short conversations and 2 long conversations. At the end of each conversation, one or more questions will be asked about what was said. Both the conversation and the questions will be spoken only once. After each question there will be a pause. During the pause, you must read the four choices marked A, B, C and D, and decide which is the best answer.
听力原文:M: Is your roommate looking forward to going home for the summer?
W: She is counting the days.
Q: What can be inferred about the woman's roommate?
(12)
A.She's spending time going over her accounts.
B.She's going home for only a few days.
C.She's excited about going home.
D.She's counting the number of vacation days.
第1题
以下正确的函数头定义形式是
A.double fun(int x,int y)
B.double fun(int x;int y)
C.double fun(int x,int y);
D.double fun(int x,y);
第2题
以下正确的函数原型语句是(48)。
A.double fun(int x,int y);
B.double fun(int x;int y);
C.double fun(int,int);
D.double fun(int x,y);
第3题
A.double fun(int x,int y){z=x+y;return z;}
B.double fun(int x,y){int z;return z;}
C.fun(x,y){int x,y;double z; z=x+y; return z;}
D.double fun(int x,int y){double z;z=x+y;return z;}
第4题
以下正确的函数定义是______。
A.double f1(int x,int y)
B.double f1(int x;int y)
C.double f1(int x;float y)
D.double f1(int x,y)
第5题
A.double fun(int x;int y)
B.double fun(int x,int y)
C.double fun(int x,int y);
D.double fun(int x,y);
第6题
A.int BOX:: fun ()
B.int BOX: fun ()
C.BOX:: fun ()
D.BOX::int fun ()
第7题
下面正确的函数定义形式为()。
A.void fun();{}
B.void fun(int x;int y) {}
C.void fun() {}
D.void fun(int x,y) {}
第8题
A.mam() {…… x=fun(2,10); ……} fioat fun(int a,int b) { ……}
B.float fun (int a,int b) {……} main() {…… x=fun(i,j); ……}
C.float fun (int int); main() {…… x=fun(2,10); ……} float fun (int a,int b){ ……}
D.main() { float fun (int i, int j); …… x=fun(i,j); ……} float fun (int a,int b){ ……}
第9题
A.fun(f, x, y)
B.fun(f, &x, &y)
C.fun((*f)(x, y), x, y)
D.fun(add, &x, &y)
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!