(A) receive
(B) received
(C) to receive
(D) receiving
第1题:
A、blamed
B、praised
C、asked
第2题:
( ) name is Jane. ( ) is from the USA.
A. Her, She
B. She's, She
C. Her, Her
第3题:
在下列基类的定义中,有无virtual修饰use成员函数的结果将不同,其原因是______。
当use( )为虚拟函数时的程序执行结果:
sizeof(A)=8
sized(B)=12
sizeof(C)=16
当use( )非虚拟函数时的程序执行结果:
sizeof(A)=4
sized(B)=8
sizeof(C)=12
源程序如下:
include<iostream.h>
class Grandad
{
public:
Grandad( ):money(10){}
int money;
virtual void use( ){}
};
class Father:public Grandad
{
public:
Father( ):money(100){}
int money;
void use( ){}
};
class Son:public Father
{
public:
Son( ):money(300){}
int money;
void use( ){}
};
void main(void)
{
Grandad A;Father B;Son C;
cout<<"sizeof(A)="<<sizeof(A)<<endl;
cout<<"sizeof(B)="<<sizeof(B)<<endl;
cout<<"sizeof(C)="<<sizeof(C)<<endl;
}
第4题:
When ( ) where he was born, John said that he was a New Yorker.
A. asking
B. being asked
C. was asked
D. asked
第5题:
A、suggested
B、wished
C、hoped
D、asked
第6题:
下面哪条语句,可以产生与下面程序相同的结果。 data invest; money=1000; do until(money gt 5000); Year+1; money+(money*0.10); end; run;
A.do while(money ge 5000);
B.do while(money =5000);
C.do while(money le 5000);
D.do while(money >5000);