下列程序输出结果为: #include<iostream> using namesp

题型:填空题

问题:

下列程序输出结果为: #include<iostream> using namespace std; class TestClass1 { public: TestClass1(){} TestClass1(int i) { x1=i; } void dispa() { cout<<"x1="<<x1<<","; } private: int x1; }; class TestClass2:public TestClass1 { public: TestClass2(){} TestClass2(int i):TestClass1(i+10) { x2=i; } void dispb() { dispa(); cout<<"x2="<<x2<<endl; } private: int x2; }; int main() { TestClass2 b(2); b.dispb(); return 0; }

考点:计算机等级考试C++二级C++笔试315
题型:填空题

短文改错(共10小题;每小题1分,满分10分)

文中共有10处语言错误,错误涉及一个单词的增加、删除或修改。

增加:在缺词处加一个漏词符号(/\),并在该句下面写出该加的词。

删除:把多余的词用斜线(\)划掉。

修改:在错的词下划一横线,并在该词下面写出修改后的词。

注意:1. 每处错误及其修改均仅限一词;

2. 只允许修改10处,多者(从第11处起)不计分。

Samaranch served as the president of the International Olympic Committee for twenty-one years.

During his term, he promote the development of the Olympic Games but rescued the organization from the financial crisis in the 1970s. He tried their best to work for the organization and he also cared and supported the physical cause of China. The old man did a lot of works to help China to succeed in hold the 2008 Beijing Olympic Games. In April 21, 2010, Samaranch died of heart attack in Barcelona, Spain, which he was born. We will always remember the old man, who made great contributions for the Olympic Games.

题型:填空题

千百年来,湘江______着两岸的乡村和城市,湘江之水不仅流入了人们的日常生活,也______在他们的梦境中。
填入划横线部分最恰当的一项是( )。

A.培育 荡漾
B.养育 荡漾
C.滋润 回荡
D.目视 流淌

题型:填空题

根据《国务院关于投资体制改革的决定》,对于企业不使用政府资金投资建设的项目,应区别不同情况实行( )。

A.审批制

B.核准制

C.备案制

D.报建制

E.核查制

题型:填空题

混凝土模板等能够计算工程量的措施项目可以根据需要消耗的实物工程量与实物单价计算措施费,这类项目的计算可采用()。

A.实物量法

B.综合单价法

C.参数法计价

D.分包法计价

题型:填空题

中医踩跷疗法临床用于()

A.骶髂关节扭伤

B.腰骶关节扭伤

C.腰椎间盘突出症

D.肩周炎

E.腰扭伤

更多题库