Is an open standard promotes interoperability among the wireless client adapters and dial-in servers from different vendors.()A、HTTPB、SSIDC、WEPD、EAP

题目

Is an open standard promotes interoperability among the wireless client adapters and dial-in servers from different vendors.()

  • A、HTTP
  • B、SSID
  • C、WEP
  • D、EAP

相似考题
更多“Is an open standard promotes int”相关问题
  • 第1题:

    OSI参考模型中的OSI表示的是()。

    A.Organization Standard Institute

    B.Organization Standard Inter connection

    C.Open System Internet

    D.Open System Inter connection


    正确答案:D

  • 第2题:

    请把下述代码加上异常处理。

    int MyWriteFile(CString strFileName, CString strText)

    {

    int nRet = 0;

    CFile myFile;

    myFile.Open(strFileName, CFile::modeWrite|CFile::shareExclusive|CFile::modeCreate,

    NULL);

    int nLen = strText.GetLength();

    myFile.Write((char*)(LPCSTR)strText, nLen);

    myFile.Close();

    return nRet;

    }


    正确答案:
     

  • 第3题:

    请认真阅读以下关于某传输系统的技术说明、状态转换图及C++代码,根据要求回答问题1和问题2。

    【说明】

    传输门是传输系统中的重要装置。传输门具有Open(打开)、Closed(关闭)、Opening(正在打开)、StayOpen(保持打开)和Closing(正在关闭)5种状态。触发状态的转换事件有click、complete和timeout 3种,事件与其相应的状态转换如图6-18所示。

    下面的【C++代码1】与【C++代码2】分别用两种不同的设计思路对传输门进行状态模拟,请填补代码段中的空缺语句。

    【C++代码1】

    const int CLOSED = 1; const int PENING = 2;

    const int PEN = 3; const int CLOSING = 4;

    const int STAYOPEN = 5; //定义状态变量,用不同整数表示不同状态

    class Door {

    private:

    private:

    int state; //传输门当前状态

    void setState(int state) { this->state = stale; } //设置当前状态

    public:

    Door () :state (CLOSED) { };

    void getState() { //根据当前状态输出相应的字符串

    switch(state) {

    case OPENING: cout <<"OPENING" << endl; break;

    case CLOSED: cout << "CLOSED" << endl; break;

    case OPEN: cout << "OPEN" << endl; break;

    case CLOSING: cout << "CLOSING" << endl; break;

    case STAYOPEN: cout << "STAYOPEN" << endl; break;

    }

    }

    void click() { //发生click事件时进行状态转换

    if ( (1) ) setState(OPENING);

    else if ( (2) ) setState(CLOSING);

    else if ( (3) ) setState(STAYOPEN);

    }

    void timeout() { //发生timeout事件时进行状态转换

    if (state == OPEN) setState(CLOSING);

    }

    void complete() { //发生complete事件时进行状态转换

    if (state == OPENING) setState(OPEN);

    else if (state == CLOSING) setState(CLOSED);

    }

    };

    int main(){

    Door aDoor;

    aDoor.getState(); aDoor.click(); aDoor.getState(); aDoor.complete();

    aDoor.getState(); aDoor.click(); aDoor.getState(); aDoor.click();

    aDoor.getState(); return 0;

    }

    【C++代码2】

    class Door {

    public:

    DoorState *CLOSED, *OPENING, *OPEN, *CLOSING, *STAYOPEN, *state;

    Door();

    virtual ~Door() { ... //释放申请的内存,此处代码省略};

    void s


    正确答案:(1)state==CLOSED || state==CLOSING (2)state==OPENING || state==STAYOPEN (3)state==OPEN (4)state->click() (5)state->timeout() (6)state->complete() (7)door->setState(door->OPENING)
    (1)state==CLOSED || state==CLOSING (2)state==OPENING || state==STAYOPEN (3)state==OPEN (4)state->click() (5)state->timeout() (6)state->complete() (7)door->setState(door->OPENING) 解析:这是一道要求读者掌握状态转换图的程序设计与实现的综合题。本试题的解答思路如下。
    根据(1)空缺处所在的程序段给出的注释信息“发生click事件时进行状态转换”可知,(1)空缺处所在的方法为click,表示当发生click事件时应该发生什么状态转换。找出传输门响应事件与其状态转换图(见图6-18)与click事件相关的内容,并特别注意箭头所指的方向。由于发生click事件前的状态Closed、Closing分别跳转到状态Opening,因此(1)空缺处所填写的内容是“state == CLOSED || state == CLOSING”。
    同理,由如图6-18所示中的状态转换关系可知,发生click事件前的状态Opening、Stayopen分别跳转到状态Closing,即(2)空缺处所填写的内容是“state == OPENING || state == STAYOPEN”;发生click事件前的状态Open跳转到状态StayOpen,即(3)空缺处所填写的内容是“state == OPEN”。
    仔细阅读【C++代码2】程序段,由语句“private DoorState state=CLOSED;”可知,类Door的state成员变量用于记录类Door所处的状态,而state变量的类型为Doorstate*。由语句“virtual void click(){}”、“virtual void complete(){}”和“virtual void timeout(){}”可知,Doorstate中分别具有click、timeout和 complete方法用来响应对应的事件。根据(4)空缺处所在程序段“voidDoor::click()”可得,(4)空缺处所填写的内容是“state->click()”。
    同理,根据(5)空缺处所在程序段“void Door::timeout()”可得,(5)空缺处所填写的内容是“state->timeout()”:根据(6)空缺处所在程序段“void Door::complete()”可得,(6)空缺处所填写的内容是“state->complete()”。
    根据(7)空缺处所在程序段给出的注释信息“定义一个基本的Closed状态”和语句“void DoorClosed::click()”可知,(7)空缺处所填写的内容与传输门当前状态为Closed且发生Click事件时状态的迁移有关。结合如图6-18所示中的状态转换关系可知,在Click事件下Closed状态将迁移到Opening,因此(7)空缺处应该将传输门的状态设置为Opening。由于Doorstate变量存储了当前其存储的传输门的实例,因此可直接调用其方法setState设置状态。同时考虑到传输门的状态采用类的实例变量表示,故(7)空缺处所填写的内容为“door->setState(door->OPENING)”。

  • 第4题:

    Which protocol is an open standard protocol framework that is commonly used in VPNs,to provid secure end-to-end communication?()

    A. L2TP

    B. IPsec

    C. PPTP

    D.RSA


    参考答案:B

  • 第5题:

    What will be the result of attempting to compile and run the following code?()   public class Q6b0c {   public static void main(String args[]) {  int i = 4;  float f = 4.3;   double d = 1.8;   int c = 0;   if (i == f) c++;   if (((int) (f + d)) == ((int) f + (int) d))  c += 2;   System.out.println(c);   }   }  

    • A、The code will fail to compile.
    • B、0 will be written to the standard output.
    • C、1 will be written to the standard output.
    • D、2 will be written to the standard output.
    • E、3 will be written to the standard output.

    正确答案:A

  • 第6题:

    OSI参考模型中的OSI表示的是()

    • A、Organization Standard Institute
    • B、Organization Standard Interconnection
    • C、Open System Internet
    • D、Open System Interconnection

    正确答案:D

  • 第7题:

    When open for an XPage, Standard views in the Domino Designer include all of the following EXCEPT?()

    • A、Application
    • B、Source
    • C、Properties
    • D、Package

    正确答案:D

  • 第8题:

    What will be written to the standard output when the following program is run?()   public class Qcb90 {   int a;   int b;   public void f() {  a = 0;   b = 0;   int[] c = { 0 };   g(b, c);   System.out.println(a + " " + b + " " + c[0] + " ");   }   public void g(int b, int[] c) {   a = 1;  b = 1;  c[0] = 1;  }   public static void main(String args[]) {   Qcb90 obj = new Qcb90();   obj.f();   }   }  

    • A、0 0 0
    • B、0 0 1
    • C、0 1 0
    • D、1 0 0
    • E、1 0 1

    正确答案:E

  • 第9题:

    单选题
    What will be the result of attempting to compile and run the following program?()   public class Q28fd {   public static void main(String args[]) {   int counter = 0;   l1:   for (int i=10; i i) break l2;   if (i == j) {   counter++;   continue l1;   }   }   counter--;   }   System.out.println(counter);  }   }
    A

    The program will fail to compile.

    B

    The program will not terminate normally.

    C

    The program will write 10 to the standard output.

    D

    The program will write 0 to the standard output.

    E

    The program will write 9 to the standard output.


    正确答案: A
    解析: 暂无解析

  • 第10题:

    单选题
    What promotes Third Part Logistics developing its business? ()
    A

    Outsourcing 

    B

    Transporting  

    C

    Warehousing  

    D

    Distributing


    正确答案: C
    解析: 暂无解析

  • 第11题:

    单选题
    What will be written to the standard output when the following program is run?()   class Base {  int i;  Base() {   add(1);   }   void add(int v) {  i += v;  }   void print() {  System.out.println(i);  }   }   class Extension extends Base {  Extension() {  add(2);  }   void add(int v) {  i += v*2;  }  }   public class Qd073 {   public static void main(String args[]) {  bogo(new Extension());  }   static void bogo(Base b) {  b.add(8);  b.print();   }   }
    A

    9

    B

    18

    C

    20

    D

    21

    E

    22


    正确答案: E
    解析: 暂无解析

  • 第12题:

    单选题
    If you needed to transport traffic coming from multiple VLANs (connected between switches), and  your CTO was insistent on using an open standard,which protocol would you use?()
    A

    802.11B

    B

    spanning-tree

    C

    802.1Q

    D

    ISL

    E

    VTP

    F

    Q.921


    正确答案: E
    解析: 暂无解析

  • 第13题:

    以下程序的执行结果是【】。 include include include int ma

    以下程序的执行结果是【 】。

    include <iostream.h>

    include <fstream.h>

    include <stdlib.h>

    int main()

    {

    fstream outfile, infile;

    outfile.open("D:\\text.dat",ios::out);

    if(!outfile)

    {

    cout<<"text.dat can't open"<<end1


    正确答案:1:1234567890/2:abcdfghij
    1:1234567890/2:abcdfghij 解析:本题考核文件的I/O操作。先来了解eof()成员函数,该函数返回非0值表示已到文件结尾。程序首先定义fstream类的2个对象 outfile和infile。然后在文件text.dat写入两行字符串“1234567890”和“abcdefghii”。最后用getline()函数读取出来存入字符数组textline[40]中,并按行显示出来。程序中的两个if语句是用于打开文件失败的异常处理。

  • 第14题:

    有以下程序:include include using namespace std;int main ( ){ ofstream

    有以下程序: #include <iostream> #include <fstream> using namespace std; int main ( ) { ofstream ofile; char ch; ofile.open ("abc.txt"); cin>>ch; while (ch!='#' ) { cin>>ch; ofile.put(ch);

    A.程序编译时出错

    B.abc#

    C.abc

    D.#


    正确答案:C
    解析:本题程序的功能是将从键盘终端输入的内容存储到指定的文件中。

  • 第15题:

    Is an open standard promotes interoperability among the wireless client adapters and dial-in servers from different vendors.()

    A.WEP

    B.HTTP

    C.SSID

    D.EAP


    参考答案:D

  • 第16题:

    Which statements can be inserted at the indicated position in the following code to make the program write 1 on the standard output when run?()  public class Q4a39 {  int a = 1;   int b = 1;   int c = 1;   class Inner {   int a = 2;  int get() {   int c = 3;   // insert statement here  return c;   }   }  Q4a39() {   Inner i = new Inner();   System.out.println(i.get());  }   public static void main(String args[]) {   new Q4a39();   }   }  

    • A、c = b;
    • B、c = this.a;
    • C、c = this.b;
    • D、c = Q4a39.this.a;
    • E、c = c;

    正确答案:A,D

  • 第17题:

    If you needed to transport traffic coming from multiple VLANs (connected between switches), and  your CTO was insistent on using an open standard,which protocol would you use?()

    • A、802.11B
    • B、spanning-tree
    • C、802.1Q
    • D、ISL
    • E、VTP
    • F、Q.921

    正确答案:C

  • 第18题:

    Which protocol is an open standard protocol framework that is commonly used in VPNs,to provid secure end-to-end communication?()

    • A、L2TP
    • B、IPsec
    • C、PPTP
    • D、RSA

    正确答案:B

  • 第19题:

    What will be the result of attempting to compile and run the following program?()   public class Q28fd {   public static void main(String args[]) {   int counter = 0;   l1:   for (int i=10; i<0; i--) {   l2:  int j = 0;   while (j < 10) {   if (j > i) break l2;   if (i == j) {   counter++;   continue l1;   }   }   counter--;   }   System.out.println(counter);  }   }   

    • A、The program will fail to compile.
    • B、The program will not terminate normally.
    • C、The program will write 10 to the standard output.
    • D、The program will write 0 to the standard output.
    • E、The program will write 9 to the standard output.

    正确答案:A

  • 第20题:

    You want to create a template to be used as a standard for all company reports. What is the easiest way to do this?()

    • A、Open an existing template file, rename it and modify the template objects. 
    • B、Open the report wizard and create a new template. 
    • C、Open the layout model and copy the paste items from the default templates provided in report builder. 
    • D、Templates cannot be modified in release 2.

    正确答案:A

  • 第21题:

    单选题
    What will be the result of attempting to compile and run the following code?()   public class Q6b0c {   public static void main(String args[]) {  int i = 4;  float f = 4.3;   double d = 1.8;   int c = 0;   if (i == f) c++;   if (((int) (f + d)) == ((int) f + (int) d))  c += 2;   System.out.println(c);   }   }
    A

    The code will fail to compile.

    B

    0 will be written to the standard output.

    C

    1 will be written to the standard output.

    D

    2 will be written to the standard output.

    E

    3 will be written to the standard output.


    正确答案: D
    解析: 暂无解析

  • 第22题:

    多选题
    Which statements can be inserted at the indicated position in the following code to make the program write 1 on the standard output when run?()  public class Q4a39 {  int a = 1;   int b = 1;   int c = 1;   class Inner {   int a = 2;  int get() {   int c = 3;   // insert statement here  return c;   }   }  Q4a39() {   Inner i = new Inner();   System.out.println(i.get());  }   public static void main(String args[]) {   new Q4a39();   }   }
    A

    c = b;

    B

    c = this.a;

    C

    c = this.b;

    D

    c = Q4a39.this.a;

    E

    c = c;


    正确答案: A,D
    解析: 暂无解析

  • 第23题:

    单选题
    What will be written to the standard output when the following program is run?()   public class Q8499 {   public static void main(String args[]) {  double d = -2.9;   int i = (int) d;  i *= (int) Math.ceil(d);  i *= (int) Math.abs(d);   System.out.println(i);   }   }
    A

    12

    B

    18

    C

    8

    D

    9

    E

    27


    正确答案: D
    解析: 暂无解析