计算机类
公务员类
工程类
语言类
金融会计类
计算机类
医学类
研究生类
专业技术资格
职业技能资格
学历类
党建思政类
计算机等级考试(NCRE)
全国计算机应用水平考试(NIT)
计算机软件水平考试
计算机等级考试(NCRE)
全国高校计算机等级考试CCT
行业认证
信息素养
计算机等级考试二级
计算机等级考试一级
网络工程师(计算机等级考试四级)
计算机等级考试二级
数据库工程师(计算机等级考试四级)
计算机等级考试三级
信息安全工程师(计算机等级考试四级)
嵌入式系统开发工程师(计算机等级考试四级)
软件测试工程师(计算机等级考试四级)
C++语言程序设计
Python语言程序设计
WPS Office高级应用与设计
C语言程序设计
C++语言程序设计
Java语言程序设计
Visual Basic语言程序设计
Web程序设计
Access数据库程序设计
MySQL数据库程序设计
Visual FoxPro数据库程序设计
办公软件高级应用
单选题有如下程序: #include<iostream> using namespace std; class Base{ public: Base(int x=0){cout<<x;} }; class Derived:public Base{ public: Derived(int x=0){cout<<x;} private: Base val; }; int main(){ Derived d(1); return 0; } 程序的输出结果是______。
进入题库练习
单选题有以下程序: #include<iostream> using namespace std; int f(int,int); int main() int i:1,x; x=f(i,i+1); cout<<x<<end1; return 0; int f(int a,int b) int c; c = a; if(a>b) c = 1; else if(a==b) c = 0; else c = -2; return c; 运行后的输出结果是( )。
进入题库练习
单选题下列程序的执行结果为 # include <iostream.h> void main ( ) { int a=3,b=0; int * p=&a; b= +a++; cout << * p <<"," << b << endl; }
进入题库练习
单选题下列程序段的输出结果是 #include<iostream.h> void fun(int*x,int*y) {cout<<*x<<*y; *X=3; *y=4; } void main() {int x=1,y=2; fun(&y,&x); cout<<X<<y<<endl; }
进入题库练习
单选题有如下程序; #include<iostream> using namespace std; class DA int k; public: DA(int x=1):k(x) ~DA( )cout<<k; ; int main( ) DA d[]=DA(3),DA(3),DA(3); DA *p=new DA[2]; delete []p; return (); 这个程序的输出结果是( )。 A) 111 B) 333 C) 11333 D) 11133
进入题库练习
单选题下列控制格式输入输出的操作符中,能够设置浮点数精度的是{{U}} {{/U}}。 A.setprecision B.setw C.setfill D.showpoint
进入题库练习
单选题有如下程序段: int i=4;int j=1; int main(){ int i=8,j=i; cout<<i<<j<<endl; } 运行时的输出结果是______。
进入题库练习
单选题下列选项合法的标识符是______。
进入题库练习
单选题语句cout<<setprecision(2)<<1024.4567;的输出结果为
进入题库练习
单选题有如下函数模板定义: temp1ate<typename T1,Typename T2> T1 Fun(T2 n){return n*5.0;} 若要求以int型数据9作为函数实参调用该模板,并返回一个double型数据,则该调用应表示为( )。
进入题库练习
单选题数据库设计中,用E-R图来描述信息结构但不涉及信息在计算机中的表示,它属于数据库设计的( )。
进入题库练习
单选题有如下程序: #inc1ude<iostream> using namespace std; c1ass XX{ int x; public: XX(int xx=0):x(xx){} int getX(){return x;) }; c1ass YY: public XX{ int y; public: YY(int xx, int yy):XX(xx),y(yy){} int getV(){retum getX()+y;} }; int main(){ YY c(3,4); cout<<c.getV()+c.getXO<<end1; return 0; } 运行这个程序的输出结果是( )。
进入题库练习
单选题模块化程序设计过程中,追求模块的独立性,尽量做到( )。
进入题库练习
单选题有如下类定义: class Point { int xx, yy; public: Point(): xx(0), yy(0) {} Point(int x, int y=0): xx(x),yy(y) {} }; 若执行语句 Point a(2), b[3], *c[4]; 则Point类的构造函数被调用的次数是______。
进入题库练习
单选题在一个派生类对象结束其生命周期时( )。
进入题库练习
单选题下列关于函数的描述中,错误的是( )。
进入题库练习
单选题( )提供了类对外部的接口,私有成员是类的内部实现,而保护成员不允许外界访问,但允许派生类的成员访问,这样既有一定的隐藏能力,又提供了开放的接口。
进入题库练习
单选题设有以下定义和程序: #include <iostream.h> class A1 { public: void showl() { cout<<"class A1"<<end1; } }; Class A2 : public A1 { public: void show2() { cout<<"Class A2"<<end1; } }; Class A3 : protected A2 { public: void show3() { cout<<”Class A土”<<end1; } }; void main() { A1 obj1; A2 obj2; A3 obj3; } 则以下不合语法的调用语句是 ____ 。
进入题库练习
单选题有如下程序: #include using namespace std; class VAC { public: int f() const { return 3; } int f() { return 5; } }; int main() { VAC v1; const VAC v2; cout<
进入题库练习
单选题T列叙述中正确的是
进入题库练习