A、Good luck
B、No problem
C、Go ahead
D、Cheer up
第1题:
If only we______(have)a phone! I'm tired of waiting outside the public phone box.
第2题:
第3题:
A.to drive … taking
B.driving … takes
C.driving … being taken
D.driving … taking
第4题:
有以下程序: #include <iostream> using namespace std; class count { static int n; public: count ( ) { n++; } static int test() { for (int i = 0; i < 4; i++ ) n++; return n; } }; int count :: n = 0; int main() { cout<<count :: test()<<" "; count c1, c2; cout<<count :: test()<<end1; return 0; } 执行后的输出结果是( )。
A.4 10
B.1 2
C.22
D.24
第5题:
A.You said it
B.What a shame
C.I rather doubt it
D.Unbelievable, I’d say
答案:C
解析:原题题意为下列哪项可以表示“不确定性”,A意为你说过的;表示肯定,B意为多么遗憾啊,表示感叹;C意为我很怀疑,表示不确定性;D意为我觉得难以相信,表示对此事表示感叹,肯定不相信;故选C
第6题:
-Would you like to go to the cinema?
-I'd _____to go to the museum.
A. rather
B. Prefer
C. have
第7题:
A、be driven…driving
B、driving…drive
C、have driven…drive
D、drive…driving
第8题:
下面程序的运行结果是【 】。
inChlde<iOStream>
using namespace std;
class count
{
static int n;
public:
count()
{
n++;
}
static int test()
{
for(int i=0:i<4;i++)
n++;
return n;
}
};
int count::n=0;
int main()
{
cout<<COUnt::test()<<" ";
count c1, c2;
cout<<count::test()<<end1;
return 0;
}
第9题:
使用VC6打开考生文件夹下的工程test37_1,此工程包含一个源程序文件test37_1.cpp,但该程序运行有问题,请改正函数中的错误,使该程序的输出结果为:
0149 16 25 36 49 64 81
源程序文件test37_1.cpp清单如下:
include<iostream.h>
template <class T, int N = 100> class Vector
{
T vec[N];
public:
void set(int pos, T val);
T get(iht pos);
/***************** found *****************/
}
template <class T, int N> void Vector<T, N>::set(int pos, T val)
{
vec[pos] = val;
}
/***************** found *****************/
template <class T, int N> Vector<T, N>::get(int pos)
{
return vec[pos];
}
int main ()
{
Vector<double, 10> v;
int i = 0;
double d = 0.0;
for (i = 0; i < 10; i++)
v.set(i, double(i * i));
for (i = 0; i < 10; i++)
cout<<v.get(i)<<" ";
cout<<end1;
/***************** found *****************/
}
第10题:
下列 Python语句的运行结果为 for i in range (3): print(i, end='') for i in range(2, 5): print(i, end='')