此题为判断题(对,错)。
第1题:
Mum: Let's go to the seaside some time during the weekend.
Daughter: Great. What time?
Mum: ______
A、Are you ready?
B、You name it.
C、During the weekend.
D、Take your time.
第2题:
B
This is a photo (11) my family. (12) are my grandparents.Those are my (13) .This is my uncle (14) that is my aunt. This boy is my (15) .He is my un-cle’s (16) .(17) name is Ed. This girl (18) me.My name is Kate. I (19) twelve. I love (20) family.
( )11.
A. for
B. of
C. on
D. to
第3题:
使用VC6打开考生文件夹下的工程test16_3,此工程
(1)定义类Cat 的保护数据成员itsAge用于表示年龄,它是int型的数据。请在注释“//**1**”之后添加适当的语句。
(2)定义类Cat的保护数据成员GetAge()的类外定义,返回成员的itsAge值,请在注释“//**2**”之后添加适当的语句。
(3)完成成员函数SetAge(int age)的类外定义,把数据成员itsAge赋值为参数age的值,请在注释“//**3**”之后添加适当的语句。
(4)完成成员函数Meow的类外定义,使其输出字节符串“meow.”到屏幕上。请在注释“**4**”后添加适当的语句。
输出结果如下:
meow.
kitty is a cat who is 5 years old.
meow.
注意:除在指定位置添加语句之外,请不要改动程序中的其他内容。
源程序文件testll3.cpp清单如下:
include<iostream.h>
class Cat
{
public:
int GetAge();
void SetAge(int age);
void Meow();
protected:
//**1**
};
int Cat::GetAge()
{
//**2**
}
void Cat::SetAge(int age)
{
//**3**
}
void Cat: :Meow()
{
//**4**
}
void main ( )
{
Cat kitty;
kitty.Meow();
kitty. SetAge(5);
cout<<"kitty is a cat who is ";
cout<<kitty.GetAge();
cout<<" years old.\n";
kitty. Meow();
}
第4题:
此题为判断题(对,错)。
第5题:
56.
A.first
B.second
C.third
D.fourth
第6题: