arise
derive
raise
originate
第1题:
A.of
B.to
C.from
D.in
第2题:
下列类的定义中,有( ) 处语法错误。 class Base { public: Base(){} Base(int i) { data=i; } private: int data; }; class Derive: public Base { public: Derive(): Base(O) { } Derive(int x) { d=x; } void setvalue(int i) { data=i; } private: d; };
A.1
B.2
C.3
D.4
第3题:
Most quality problems:
A . originate in the quality department where the ultimate responsibility for quality rests.
B . originate on the shop floor because of waste and product rework.
C . are the results of management inattention to potential quality improvement ideas.
D . could be eliminated if shop supervisors monitored their work more closely.
E . A and B
第4题:
下列类的定义中,有( )处语法错误。 class Base { public: Base(){} Base(int i) { data=i; } private: int data; }; class Derive : public Base { public: Derive() : Base(O) {} Derive (int x) { d=x; } void setvalue(int i) { data=i; } private: int d; };
A.1
B.2
C.3
D.4
第5题:
以下程序的执行结果是______。
include<iostream.h>
class base
{
public:
virtual void who(){cout<<"base class"<<endl:}
};
class derrvel:public base
{
public:
void who(){cout<<"derivel class"<<endl:}
};
class derive2;public base
{
public:
void who() {cout<<"derive2 class"<<endl;}
};
void main()
{
base obj1,*P;
derive1 obj2;
derive2 obj3:
p=&obj1;
p->who();
p=&obj2:
p->who();
p=&obj3;
p->who();
}
第6题:
[ A] develop
[ B ] differ
[ C] depart
[ D] derive
第7题:
officially, canada refers to itself as a multicultural society within a bilingual framework. did not originate in america. ()
第8题:
20 Most quality problems:
A. originate in the quality department where the ultimate responsibility for quality rests.
B. originate on the shop floor because of waste and product rework.
C. are the results of management inattention to potential quality improvement ideas.
D. could be eliminated if shop supervisors monitored their work more closely.
E. A and B
第9题:
A completely new situation will _____ when the examination system comes into existence.
(A) arise (C) raise
(B) rise (D) arouse
选A
arise 出现
rise 上升
raise 提高,上升
arouse 引起,激发
第10题:
有如下程序 #include<iostream> using nameSpace std; class base { public: vinual void f1() { cout<<"F1 Base"; } virtual void f2() { cout<<"F2Base"; } }; class derive:public base { void f1() { cout<<"F1Derive"; } void f2(int x) { cout<<"F2Derive"; } }; int main() { base obj1,*p; derive obj2; p=&obj2; p—>f1(); p—>f2(); return 0; } 执行后的输出结果是
A.F1Derive F2Base
B.F1Derive F2Derive
C.F1Base F2Base
D.F1Base F2Derive