问题 单项选择题

 問4 会社をやめる①のでひきだし②の中の書類をせいり③していたら、入社とうじ④のなつかしい写真が出てきた。

 やめる 

A.止める

B.去める

C.辞める

D. 退める

答案

参考答案:C

阅读理解

阅读理解。

     As we all know, it was Thomas Jefferson who wrote the Declaration of the Independence.

He wrote it in two weeks, and after a few changes, it was accepted by the Congress. As a result,

he became famous.

      Born in Virginia, Thomas Jefferson, a brilliant student at school and almost talented lawyer later,

was much interested in politics.

     Jefferson was elected Governor of Virginia in 1779, and he was sent to France as the representative

of the American government in 1784. Sixteen years later, at the age of 57, he was elected president

after Washington and Adams.

      Far from a handsome man, he was tall with long arms and big hands. Jefferson, who was an amusing

talker in conversation but a poor speaker, was generally good-natured. 

      Jefferson was regarded as a defender of freedom on America. As a president, he protected the right

of free speech. Interestingly enough, in his eight years as President, Jefferson never vetoed a bill which

Congress had passed. He did a lot in organizing the new University of Virginia. 

    Thomas Jefferson died on July the fourth, 1826, the 50th anniversary of American Independence.

1. From the passage we can infer that America won its independence in ___.

A. 1786  

B. 1776

C. 1842  

D. 1800

2. How old was Thomas Jefferson when he became Governor of Virginia?

A. He was 26.  

B. He was in his forties.

C. He was 36.  

D. We don't know.

3. Which of the following statements is true?

A. Jefferson was not only very talented but also very handsome.

B. Jefferson was not an easy person to get along with.

C. Jefferson was an amusing talker, but not good at speaking in public.

D. Not being politically-minded, Jefferson never vetoed a bill passed by the Congress.

4. Jefferson died when he was ____.

A.72  

B. 73  

C. 83  

D. 92

5. Jefferson's greatest contribution in American history should be that ___.

A. he did a lot in organizing the new University of Virginia

B. he was strongly against the slavery

C. he was for the right of free speech

D. he wrote the Declaration of Independence

填空题

使用VC6打开考生文件夹下的源程序文件3.cpp,其中定义了类A、A1和A2,其中A1类由A类公有派生,A2类由A1类公有派生。
(1)定义类A的构造函数,该构造函数有一个整型的参数x,在构造函数中请将X赋值给数据成员a。请在注释“//********1********”之后添加适当的语句。
(2)定义类A1的构造函数,该构造函数有两个整型的参数x和y,在构造函数中请将X赋值给数据成员b,将y作为基类A构造函数的参数值传入。请在注释“//********2********”之后添加适当的语句。
(3)定义类A2的构造函数,该构造函数有3个整型的参数x,y和z,在构造函数中请将X赋值给数据成员c,将y和z分别赋值给基类A1构造函数的参数x和y。请在注释“//********3********”之后添加适当的语句。
(4)完成类A2的成员函数show的定义,该函数调用基类成员函数,输出基类书局成员a和b及类A2自身的数据成员c的值,上述3个值在输出时以空格隔开。请在注释“//********4********”之后添加适当的语句。
注意:除在指定位置添加语句之外,请不要改动程序中的其他内容。
程序输出结果如下:
7
3
7 3 8
注意:除在指定的位置添加语句之外,请不要改动程序的其他部分。
试题程序:
#include<iostream.h>
class A

int a;
public:
//********1********
int geta()return a;

class A1:public A

int b;
public:
//********2********
int getb()return b;

class A2:public A1

int c;
public:
//********3********
void show()

//********4********


void main()

A2 a(8,3,7);
cout<<a.geta()<<end1;
cout<<a.getb()<<end1;
a.show();