整数0
不定值
逻辑真
逻辑假
第1题:
( 12 )有如下类定义和变量定义:
class A{
publie:
A () {data=0;}
~A () {}
int GetData ( ) coast { return data;}
void SetData ( int n ) {data=n;}
private:
int data;
};
ccnst A a;
A b;
下列函数调用中错误的是
A ) a .GetData ( ) ;
B ) a .SetData ( 10 ) ;
C ) b .GetData ( ) ;
D ) b .SetData ( 10 ) ;
第2题:
如果有定 LOCAL data, data 的初值是:
A) 整数 0
B) 不定值
C) 逻辑真
D) 逻辑假
第3题:
下列标识符定义正确的是( )。
A.3DATA
B.DATA_3
C.DATA3
D.DATA3
第4题:
有如下类定义和变量定义:
class A{
public:
A(){data=O; }
一A(){}
int GetData()const{ retum data; }
void SetData(int n) {data=n; }
private:
int data;
};
const A a;
A b;
下列函数调用中错误的是
A.a.GetData();
B.a.SetData(10);
C.b.GetData();
D.b.SetData(10);
第5题:
设有定义:
则以下赋值语句中错误的是( )。
A.data2=(2,6);
B.data2=datal;
C.data;real=datal.real;
D.data2.real=datal.unreal;
第6题:
设有定义:
struct complex
{ int real,unreal;} datal={1,8},data2;
则以下赋值语句中错误的是
A.Data2=Data1;
B.Data2=(2,6);
C.Data2.Rea1=Data1.Real;
D.Data2.Real=Datal.unRea
第7题:
设有如下定义:
struct sk
{ int m;
floatx;
}data,*q;
若要使q指向data中的m域,正确的赋值语句是( )。
A)q=&data.m;
B)*q=data.m;
C)q=(struct sk*)&data.m;
D)q=(struct sk*)data.m;
第8题:
Regarding disk scrub, which two of these occur to the data on any local drives upon disassociation? ()
第9题:
设已定义浮点型变量data,以二进制代码方式把data的值写入输出文件流对象outfile中,正确的语句是()
第10题:
A Company.com developer chooses to avoid using SingleThreadModel but wants to ensure that data is updated in a thread-safe manner. Which two can support this design goal?()
第11题:
It specifies the login authentication method list named console-in using the local user database on the router
It specifies the login authorization method list named console-in using the local RADIUS username-password data base
It specifies the login authentication list named console-in using the local username- password data base on the router
It specifies the login authorization method list named console-in using the local username- password data base on the router
第12题:
If disk scrub is enabled, all BIOS settings for the server are erased.
If disk scrub is enabled, all the data access on any local drives is destroyed.
If disk scrub is enabled, the LSI active RAID is destroyed but data is still preserved.
If disk scrub is disabled, all data on any local drives is preserved, including the local storage configuration.
If disk scrub is enabled, all data on any local drives is preserved, including the local storage configuration.
第13题:
( 10 )类 Sample 的构造函数将形参 data 赋值给数据成员 data 。请将类定义补充完整。
class Sample{
public:
Sample(int data=0);
Private:
Int data;
};
Sample::Sample(int data){
【 10 】
}
第14题:
设有如下定义:
struck sk
{ int a;
float b;
} data;
int *p;
若要使P指向data中的a域,正确的赋值语句是
A.p=&a;
B.p=data.a;
C.p=&data.a;
D.*p=data.a;
第15题:
设有下列定义:
struct sk
{ int m;
float x;
}data,*q;
若要使q指向data中的m域,正确的赋值语句是( )。
A.q=&data.m;
B.*q=data.m;
C.q=(struct sk*)&data.m;
D.q=(struct sk*)data.m;
第16题:
设有定义: Struct complex {int real,unreal;}data1={1,8},data2; 则以下赋值语句中错误的是( )。
A.data2={data1.rea1,data1.unrea1};
B.data2=(2,6);
C.data2.rea1=data1->rea1;
D.data2->rea1=data1.unrea1;
第17题:
设有以下定义: struck sk { int a; float b; }data; int *p; 若要使p指向data中的a域,正确的赋值语句是( )。
A.p=&a;
B.p=data.a;
C.p=&data.a;
D.*p=data.a;
第18题:
A.NO DATA FOUND
B.DATA_NOT_FOUND
C.NO_DATA_FOUND
D.DATA_NO_FOUND
第19题:
若有如下定义: struct sk{ int a; int b; }data,*p=&data; 则对data中的成员x的正确引用的是()。
第20题:
What is the objective of the aaa authentication login console-in local command?()
第21题:
设有如下定义,structsk{inta;floatb;}data,*p=&data;则对data中的a成员的正确引用是()。
第22题:
(*p).a
(*p).data.a
p->data.a
p.data.a
第23题:
Store the data in a local variable.
Store the data in an instance variable.
Store the data in the HttpSession object.
Store the data in the ServletContext object.
Store the data in the ServletRequest object.
第24题:
Store the data in a local variable.
Store the data in an instance variable.
Store the data in the HttpSession object.
Store the data in the ServletContext object.
Store the data in the ServletRequest object.