使用VC++6.0打开考生文件夹下的源程序文件3.cpp。其中定义的类不完整,按要求

题型:填空题

问题:

使用VC++6.0打开考生文件夹下的源程序文件3.cpp。其中定义的类不完整,按要求完成下列操作,将类的定义补充完整。
(1)完成类TC1的成员函数seta的定义,定义seta对象,x为int类型,请在注释1后添加适当的语句。
(2)完成类TC3多继承类TC1和TC2的定义,请在注释2后添加适当的语句。
(3)定义类TC3中的私有成员c为int型,请在注释3后添加适当的语句。
(4)完成setc中对基类的变量a的赋值,请在注释4后添加适当的语句。
注意:增加或者修改代码的位置已经用符号表示出来,请不要修改其他的程序代码。
试题程序:
#include<iostream.h>
class TC1

int a;
public:
//********1********

return a=x;

void showa()

cout<<a<<end1;


class TC2

int b;
public:
void setb(int x)

b=x;

void showb()

cout<<b<<end1;


//********2********

prlvate:
//********3********
public:
void setc(int x,int y,int z)

c=z;
//********4********
seth(y);

void showc()

cout<<c<<end1;


void main()

TC3 c;
c.seta(5);
c.showa();
c.setc(5,7,4);
c.showe();

考点:计算机等级考试C++二级C++机试
题型:填空题
请从90后初中生的优点和缺点两个方面进行客观的描述,然后制定个人将来的目标和计划。
优 点
缺 点
目标和计划
1. 当别人遇到麻烦时经常
乐于助人;
2. 活跃,对新鲜的事物感
兴趣;
3. ……
1. 易激动、发怒;
2. 因粗心而常犯
同样的错误;
3. ……
1. 理想是成为……;
2. 我已努力……;
3. 我相信……。
具体要求:
1. 目标和计划需用3句话展开合理想象并作适当发挥。
2. 语句通顺,意思连贯,条理清楚,字迹工整。
3. 开头已给出,不计入总词数, 100词左右。
  As post-90 students, we                                                       
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                           
题型:填空题

1917年4月,列宁提出的口号是“不给临时政府任何支持”和“全部 * * 归苏维埃”,并且认为革命所以能够和平发展,因为武器掌握在人民手中,没有外力压制人民。列宁这一想法被打破是在     [ ]

A.二月革命后    

B.七月事件后    

C.彼得格勒武装起义后    

D.宣布退出一战后

题型:填空题

阅读理解。

     What do you have to look forward to at the end of the year? Preparing for final exams? Homework? Not

to worry: Life can't be all working at textbooks-that's why the "New Year film" was invented. In China as in

the West, December is a time for exciting movie releases (上映) with the world's top stars.

      Treasure Hunter (《刺陵》), December 9 

       What has Jay Chou been working on? See this action movie and find out.

       In the movie, Chou, like Indiana Jones in an American film, is given a map of underground treasure, but

forced to give it up in return for the life of the daughter of his mentor (导师), played by top model from

Taiwan, Lin Chiling. Joined by a famous archeologist (考古学家), the three go on a thrilling journey to find

the map and then the treasure.

      A Simple Noodle Story (《三枪拍案惊奇》), December 11 

      After planning the Opening Ceremony of the Beijing Olympics, director Zhang Yimou has turned to a

"New Year film"-A Simple Noodle Story. It is a story of a mean noodle shop owner who hires a killer to

murder his wife and her lover. Xiao Shenyang is not the only comedic element (元素) in the movie. Zhang's

contribution of the theme song (主题歌)-he wrote the lyrics and rapped-is another highlight.

      Sherlock Holmes (《大侦探福尔摩斯》), December 25

      Sherlock Holmes is a character (角色) who attracts each new generation. His magnifying glass and

ever-present pipe (烟斗) make him different from any other detective. In this new movie he's also a kongfu

master! Along with his faithful partner Watson, he has to stop a plot (阴谋) to destroy Britain.

1. The text is mainly written for _____. [ ]

A. teachers

B. students

C. farmers

D. parents

2. What does the underlined word "highlight" refer to? [ ]

A. The Opening Ceremony of the Beijing Olympics.

B. Zhang Yimou's directing skill.

C. Xiao Shenyang's acting in the film.

D. Zhang Yimou's contribution of the theme song.

3. Who are the characters in the film Treasure Hunter?[ ]

A. Indiana Jones and the daughter of his mentor.

B. the daughter of the mentor and an archeologist.

C. Jay Chou and an archeologist.

D. Lin Chiling and Indiana Jones.

4. It can be inferred from the passage that _____. [ ]

A. students will watch the New Year Film instead of doing their homework

B. Jay Chou is also the director of the film Treasure Hunter

C. there is a change in Sherlock Holmes in the new film

D. Xiao Shenyang and Zhang Yimou are both actors in the film A Simple Noodle Story

题型:填空题

在期末对所有记账单据进行计算得出存货成本的是()。

A.移动平均法

B.先进先出法

C.后进先出法

D.全月平均法

题型:填空题

班级经常使用的教具应按()或()分类编号,放在分类柜中固定的位置,分类柜应贴上()和(),便于拿取和归位。

更多题库