注册两个及以上专业的,每增加一个专业还应参加所增加必修课()学时,选修课()学时
A:20,20 B:20,30 C:30,30 D:30,40
单一煤层工作面浮煤平均厚度不超过()mm,综放工作面浮煤平均厚度不超过()mm。
A:10,20 B:20,30 C:30,40
TAF中,“PROB”概率值小于()%的可选值或变化的概率不应考虑其有足够地指明的重要性,等于或大于()%的可选值或变化的概率,在航空上不应考虑概率。
A:30,40 B:30,50 C:40,50
在TAF概率组“PROB”的编报中,其概率只能使用()和()来编报。
A:30,50 B:20,30 C:30,40
设有下列定义语句:
int a[3][2]=10,20, 30,40, 50,60;
int b[3][2]=10,20, 30,40, 50,60;
则a[1][1]*b[2][1]的结果为( )。
A:2000 B:1200 C:2400 D:3000
若有以下程序:
#include <iostream>
using namespace std;
class Base
private:
int a,b;
public:
Base(int x, int y)
a=x;
b=y;
void show( )
cout<<a<<", "<<b<<end1;
;
class Derive : public Base
private:
int c, d;
public:
Derive(int x,int y, int z,int m):Base(x,y)
c=z;
d=m;
void show( )
cout<<c<<", "<<d<<end1;
;
int main ( )
Base b(50,50),*pb;
Derive d(10,20,30, 40);
pb=&d;
pb->show ( );
return 0;
招待程序后的输出结果是( )。
A:10,20 B:30,40 C:20,30 D:50,50
若有以下程序: #include <iostream> using namespace std; class Base { private: int a,b; public: Base(int x, int y) { a=x; b=y; } void show( ) { cout<<a<<", "<<b<<end1; } }; class Derive : public Base { private: int c, d; public: Derive(int x, int y, int z,int m):Base(x,y) { c=z; d=m; } void show( ) { cout<<c<<", "<<d<<end1; } }; int main ( ) { Base b(50,50) ,*pb; Derive d(10,20,30,40); pb=&d; pb->show {); return 0; }
A:10,20 B:30,40 C:20,30 D:50,50
设有下列定义语句: int a[3][2]={10,20, 30,40, 50,60}; int b[3][2]={10,20, 30,40, 50,60}; 则a[1][1]*b[2][1]的结果为( )。
A:2000 B:1200 C:2400 D:3000
如果不使用多态机制,那么通过基类的指针虽然可以指向派生类对象,但是只能访问从基类继承的成员。有如下程序,没有使用多态机制。
#include<iostream>using namespace std;class Base{ int a,b;public: Base(int x,int y){a=x;b=y;} void show( ){cout<<a<<’,’<<b<<endl;}};class Derived:public Base{ int c,d;public: Derived(int x,int y,int z,int m):Base(x,y){c=z;d=w;} void show( ){cout<<c<<’,’<<d<<endl;}};int main( ){ Base B1(50,50),*pb; Derived D1(10,20,30,40); pb=&D1; pb->show( ); return 0;}
运行时输出的结果是()。
A:10,20 B:30,40 C:20,30 D:50,50