海船船员考试

单选题The difference between a class A and a class B EPIRB is that the class A EPIRB().A operates on both military and civilian aircraft distress frequenciesB transmits both an alerting signal and a homing signalC must be the float free type and automaticall

题目
单选题
The difference between a class A and a class B EPIRB is that the class A EPIRB().
A

operates on both military and civilian aircraft distress frequencies

B

transmits both an alerting signal and a homing signal

C

must be the float free type and automatically activated

D

operates with a greater output of signal power

如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

下面程序输出的结果为 #include"iostream.h" class A { public: A(){cout<<"CLASSA"<<endl;} ~A() {} }; class B:public A { public: B(){cout<<"CLASSB"<<endl;} ~B() {} }; void main() { A * p; p=new B; B *q; q=new B; }

A.CLASS A CLASS B

B.CLASS A CLASS B CLASS B

C.CLASS A CLASS B CLASS A CLASS B

D.CLASS A CLASS B CLASS B CLASS B


正确答案:C
解析:每实例化一个类就要调用其构造函数,结束运行该实例后调用析构函数。注意:类的实例化和构造函数、析函数的调用方式和何时调用。

第2题:

Talk about the difference between an Abstract class and an Interface.


正确答案:
        

第3题:

The difference between “gentlemaninwaiting” and “journeyman” is that .

[A] education trained gentlemaninwaiting to climb higher ladders

[B] journeyman was ready to take whatever was given to him

[C] gentlemaninwaiting belonged to a fixed and high social class

[D] journeyman could do practically nothing without education


正确答案:C
细节题。解题的关键在于考生对文中关于两类人的论述的把握。文章第一段末句提到,教育成了培训,学生也不再是等在那里的绅士,而是要提升自己经济地位的熟练学徒。由此可知,“学徒”与“绅士”的不同就是,绅士不用将教育当成工具去努力争取社会地位,因此可以推测出绅士们属于较高的社会阶层。\[C\] 为正确选项。文中提到教育训练学徒们而非绅士爬上更高的阶梯,所以[A] 项错误,[B]项和[D] 项在文中没有提及。

第4题:

下面程序输出的结果为( )。 #inClUde”iostream.h” Class A {public: A(){cout<<“CLASS A”<<endl;} ~A()<)}; class B:public A {public: B(){cout<<”CLASSB”<<endl;} ~B(){}}; void main() {A*p; p=new B; B *q; q=new B;}

A.CLASS A CLASS B

B.CLASS A CLASS B CLASS B

C.CLASS A ClASS B

D.CLASS A CLASS B CLASS A CLASS B CLASS B CLASS B


正确答案:C
解析: 本题考查类的继承、类的实例化和构造函数、析构函数的调用方式和何时调用。每实例化一个类就要调用其构造函数,结束运行该实例后调用析构函数。

第5题:

What’s the difference between an interface and abstract class?

(接口与抽象类有什么区别)


正确答案:
 

第6题:

下面程序输出的结果为

#include"iostream.h"

class A

{

public:

A( ){cout<<"CLASS A"<<endl;}

~A( ){}

};

class B:public A

{

public:

B( ){cout<<"CLASS B"<<endl;}

~B( ){}

};

void main( )

{

A*p;

p=new B;

B *q;

q=new B;

}

A.CLASS A CLASS B

B.CLASS A CLASS B CLASS B

C.CLASS A CLASS B CLASS A CLASS B

D.CLASS A CLASS B CLASS B CLASS B


正确答案:C
解析:每实例化一个类就要调用其构造函数,结束运行该实例后调用析构函数。注意:类的实例化和构造函数、析构函数的调用方式和何时调用。

第7题:

下面程序输出的结果为 #include"iostream.h” class A { public: A(){cout<<"CLASSA"<<endl;} ~A() {} }; class B:public A { public: B(){cout<<"CLASS B"<<endl;} ~B(){} }; void main() { A*p; p=new B;

A.CLASS A CLASS B CLASS B CLASS B

B.CLASS A CLASS B CLASS A CLASS B

C.CLASS A CLASS B CLASS B

D.CLASS A CLASS B


正确答案:C

第8题:

Class 2两类基本过程的主要区别是,『____』基本过程没有响应,『____』基本过程有响应。(The main difference between class1 and class2 is that there is no response for『____』,but『____』has response.)


参考答案:Class 2
Class 1
Class 2
Class 1

第9题:

a)Can a struct inherit from another struct?

(结构体能继承结构体吗)

b)Can a struct inherit from another class?

(结构体能继承类吗)

c)Can a struct be the base of another class?

(结构体可以作为一个类的基类吗)

d)Can a struct implement an interface?

(结构体可以实现一个接口吗)

e)What’s the difference between struct and class?

(结构体与类有什么区别)


正确答案:
 

第10题:

下面程序输出的结果为 #include" iostream.h" class A { public: A( ) { cout < < "CLASS A" < < end1;} ~ A( ) { } }; class B:public A { public: B( ){ cout < < "CLASS B" < < end1;} ~ B( ) { } }; void main( ) { A * p; p=new B; B * q;

A.CLASS A CLASS B

B.CLASS A CLASS B CLASS B

C.CLASS A CLASS B CLASS A CLASS B

D.CLASS A CLASS B CLASS B CLASS B


正确答案:C
解析:每实例化一个类就要调用其构造函数,结束运行该实例后调用析构函数。注意:类的实例化和构造函数、析构函数的调用方式和何时调用。

更多相关问题