What is the ob

题目

What is the objective of the Cisco Compatible Extensions program?()

  • A、to provide access to proprietary Cisco IOS software code in order to expand the number of vendors writing wireless code
  • B、to provide Cisco engineers with the opportunity to certify that any wireless devices that are made by third parties are compatible with Cisco wireless products
  • C、to provide customers with a broad range of WLAN client devices that have been tested for interoperability with Cisco Aironet innovations
  • D、to provide third parties with Cisco hardware in order to encourage the development of radical innovation in the area of wireless
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

S7-300/400PLC在启动时要调用的组织块是()。

A、OB1

B、OB35

C、OB82

D、OB100


参考答案:D

第2题:

有如下程序: include using namespace std; class Obj { static in

有如下程序: #include <iostream> using namespace std; class Obj { static int i; public: Obj( ){i++;} ~Obj(){i--;} static int getVal( ){ return i;} }; int Obj::i=0; void f() {Obj ob2; cout<<ob2.getVal( ); } int main( ){ Obj ob1; f(); Obj *ob3=ew Obj; cout<<ob3->getVal( ); delete ob3; cout<<Obj::getVal( ); return 0; } 程序的输出结果是

A.232

B.231

C.222

D.221


正确答案:D
解析:本题主要考查的是静态成员。静态成员的特性是不管这个类创建了多少个对象,它的静态成员都只有一个拷贝(副本),这个副本被所有属于这个类的对象共享。本例中,Obj类定义了一个静态数据成员i,并初始化为0。在主函数中,首先定义了1个该类对象ob1,所以构造函数被执行1次,i被加1。然后调用函数f(),该函数中又定义了一个对象ob2,此时i再次加1变成2,然后通过静态成员函数getVal()输出i的值2。f()函数结束了,局部变量ob2被释放,故析构函数被调用了1次,i变成1。回到主函数中,又动态创建了1个对象并让指针ob3指向它,所以i变成2,接着输出的值为2。最后,释放动态创建的那个对象,i变为1,所以最后输出的值为1。因此,程序最终输出结果为221,应该选择D。

第3题:

生成程序时,自动生成的块是()。

A、OB100

B、OB1

C、FC1

D、FB1


参考答案:B

第4题:

使用VC6打开考生文件夹下的工程test38_1,此工程包含一个源程序文件test38_1.cpp,但该程序运行有问题,请改正函数中的错误,使该程序的输出结果为:

2 is a factor of 10

源程序文件test38_1.cpp清单如下:

include <iostream.h>

class myclass

{

/***************** found *****************/

int n,d

public:

myclass(int i, int j){ n=i; d=j; }

friend int factor( myclass ob);

};

/***************** found *****************/

int myclass::factor(myclass ob)

{

/***************** found *****************/

if(ob.n%ob.d)

return 1;

else

return 0;

}

void main()

{

myclass ob1(10,2),ob2(13,3);

if(factor(ob1))

cout<<"2 is a factor of 10\n";

if(factor(ob2))

cout<<"3 is not a factor of 13\n";

}


正确答案:(1) 错误:int nd 正确;int nd; (2) 错误:int myclass::factor(myclass ob) 正确:int factor(myclass ob) (3) 错误:if(ob.n%ob.d) 正确:if(ob.n%ob.d))
(1) 错误:int n,d 正确;int n,d; (2) 错误:int myclass::factor(myclass ob) 正确:int factor(myclass ob) (3) 错误:if(ob.n%ob.d) 正确:if(ob.n%ob.d)) 解析:(1)主要考查考生对于变量定义的理解,同类型的变量定义中间使用逗号分开,同时可以进行初始化,但是在整个定义的结尾必须使用分号,这是C++的规定:
(2)主要考查考生是否掌握了友元函数的定义,友元是在类的内部声明,类的外部实现的一种特殊的函数,它可以访问类内的所有成员,不过在类外的实现和调用的时候均不需要使用作用域符号“::”限制:
(3)主要考查考生对于if条件语句的掌握,只有括号内的条件为真,即值为1时,才执行if后面的语句,根据题目要求应该执行的是对象ob1,即2可以整除10,所以应该定义函数factor的返回值为能整除返回1,否则为0,而能够整除即取余运算值为0,所以在判断前应该加上非运算。

第5题:

标注直线OB长度必需的方法是什么?()

A、点选OB两点,在任意位置放置

B、点选OB两点,在以OB为对角点的矩形区域放置

C、点选OB直线,在任意位置放置

D、B和C都可以


参考答案:C

第6题:

OB10经OB1调用后才能执行。()

此题为判断题(对,错)。


参考答案:错

第7题:

CAS-OB工艺中OB是指()。

A、吹氩气

B、吹氧气

C、吹氮气

D、吹空气


参考答案:B

第8题:

若在组织块OB1中需调用FB1,在FB1中又需调用FC1。则它们的编程先后顺序为:()。

A、OB1,FB1,FC1

B、FC1,FB1,OB1

C、OB1,FC1,FB1

D、FB1,FC1,OB1


参考答案:B

第9题:

西门子S7-400系列PLC用户程序的主程序是()。

A、OB102

B、OB100

C、OB101

D、OB1


参考答案:D

第10题:

有如下程序:include using namespace std;class Obj { static int i;public:Obj(){i+

有如下程序:#include <iostream>using namespace std;class Obj { static int i;public: Obj(){i++;} -Obj(){i--;} static int getVal(){return i;} };int Obj::i=0;void f(){Obj ob2; cout<<ob2.getVal(); }hat main(){ Obj ob1; f(); Obj *ob3=new Obj; cout<<ob3->getVal(); delete ob3; cout<<Obj:: getVal(); return (); }程序的输出结果是( )。

A.232

B.231

C.222

D.221


正确答案:D