更多“Ask Mr.Brown, or any other person (). ”相关问题
  • 第1题:

    标准IP访问表的基本格式为:access-list[listnumber][permit|deny][host/any][sourceaddress][wildcard-ask][log],其中wi1dcardmask表示()。

    A.源地址

    B.表号范围

    C.通配符屏蔽码

    D.子网掩码


    参考答案:C

  • 第2题:

    针对下列程序段,需要( )个测试用例才可以满足语句覆盖的要求。
    switch(value){case 0:other=30;break;case 1:other=50;break;case 2:other=300;case 3:other=other/value;break;default:other=other*value;}

    A.2
    B.3
    C.4
    D.5

    答案:C
    解析:
    本题考查白盒测试用例设计方法--语句覆盖法的概念。语句覆盖(Statement Coverage)的含义是:选择足够多的测试数据,使被测程序中的每条语句至少执行一次。

  • 第3题:

    1、针对下列程序段,需要()个测试用例才可以满足语句覆盖的要求。 switch (value ) { case 0: other = 30; break; case 1: other = 50; break; case 2: other = 300; case 3: other = other/value; break; default: other = other * value; }

    A.2

    B.3

    C.4

    D.5


    4

  • 第4题:

    Mr.Brown,and not I,________chosen to be the representative of the class.

    A.is
    B.am
    C.are
    D.have been

    答案:A
    解析:
    暂无解析

  • 第5题:

    Person类可能的拷贝构造函数格式为:

    A.Person(){}

    B.Person(Person *p){}

    C.Person(Person &p){}

    D.Person(Person p){}


    Person(const Person& p);

  • 第6题:

    【计算题】(6-9)定义Person类(属性有姓名,年龄),完成如下任务: (1)在Test类中定义方法Boolean contains(Person[]per,Person temp),该方法判断Person数组是否有Person对象temp,如果数组中存在与per相同的Person对象返回boolean; (2)定义showPerson(Person[] per)输出Person对象数组所有元素; (3)对上面定义的方法进行测试。


    TestHashCode.java