参考答案和解析
正确答案:B
答案为B。过去曾经需要12 个兔子测试疫苗样本,现在只需要6 个。used to do “曾经”; be used to doing sth.“习惯于做某事”。
更多“It ______ 12 rabbits to test a sample of vaccine, now it takes only 6.A. used to takin ”相关问题
  • 第1题:

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

    n=2

    n=5

    n=7

    源程序文件test13_1清单如下:

    include<iostream.h>

    class Sample

    {

    int n;

    public:

    /*************** found ************+***/

    Sample()

    Sample(int i){n=i;}

    /***************** found ********+**********/

    void add(Sample s1,Sample s2)

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

    {

    this.n=s1->n+s2.n;

    }

    void disp(){cout<<"n="<<n<<endl;}

    };

    void main()

    {

    Sample s1(2),s2(5),s3;

    s3.add(&s1,s2);

    s1.disp();

    s2.disp();

    s3.disp();

    }


    正确答案:(1)错误:Sample() 正确:Sample(){} (2)错误:void add(Sample s1Sample s2) 正确:void add(Sample *s1Sample s2) (3)错误:this.n=s1->n+s2.n; 正确:this->n=s1->n+s2.n;
    (1)错误:Sample() 正确:Sample(){} (2)错误:void add(Sample s1,Sample s2) 正确:void add(Sample *s1,Sample s2) (3)错误:this.n=s1->n+s2.n; 正确:this->n=s1->n+s2.n; 解析:(1)主要考查考生对于类的成员函数定义的掌握,应该使用1)作为空的函数体,这是不能省略的;
    (2)主要考查考生对于指针调用的掌握,根据函数体中对于s1的使用可以看出,它是一个指针类型的变量,调用时实参应该使用“*”,形参使用“&”;
    (3)主要考查this指针的使用,this是指向当前对象的指针,应该使用“->”访问成员。

  • 第2题:

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

    fun (Sample &p) 1 2

    fun (Sample *p) 3 4

    20 10

    源程序文件test12_1清单如下:

    include<iostream .h>

    class Sample

    {

    private:

    int x,y;

    static int z;

    public:

    Sample(int a,int b){ x=a;y=b; }

    void fun(Sample &p);

    void fun(Sample *p);

    static void print(Sample s);

    };

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

    int z=10;

    void Sample::fun(Sample &p)

    {

    x=p.K;y=p.y;

    cout<<"fun(Sample &p)"<<" "<<x<<" "<<y<<endl;

    }

    void Sample::fun(Sample *p)

    {

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

    x=p.x; y=p.y;

    cout<<"fun(Sample *p) "<<" '<<x<<" "<<y<<endl;

    }

    void Sample::print (Sample s)

    {

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

    x=20;

    cout<<s. x<<" "<<z<<endl;

    }

    void main()

    {

    Sample p(1,2),q(3,4);

    p. fun(p);

    p. fun(&q);

    p. print(p);

    }


    正确答案:(1)错误:int z=10; 正确:int Sample::z=10; (2)错误:x=p.x;y=p.y; 正确;x=p->x;y=p->y; (3)错误:x=20; 正确;s.x=20;
    (1)错误:int z=10; 正确:int Sample::z=10; (2)错误:x=p.x;y=p.y; 正确;x=p->x;y=p->y; (3)错误:x=20; 正确;s.x=20; 解析:(1)主要考查考生对于静态成员初始化定义的理解,静态成员使用关键字static修饰,应对其进行类体外初始化,格式为数据类型“类名::静态变量名:初始值”;
    (2)主要考查考生对于指针与引用区别的掌握,x和y都是指针类型的变量,应使用“->”调用类的成员;
    (3)主要考查考生对于静态成员函数的掌握,在静态成员函数中使用非静态成员,需要用对象来引用。

  • 第3题:

    An administrator needs to apply a Technology Level update. During the preview install, the output indicates that there is insufficientspace in the /usr filesystem. Review of the root volume group indicates there are no available physical partitions, but the /test jfs2 filesystem is only 8% used.What is the most efficient method to use the available space in the /test filesystem to apply theupdate?()

    A.Use chfs to reduce the /test filesystem

    B.Use cplv to copy the /test filesystem to a smaller logical volume

    C.Use migratepv l to move the /test filesystem to a different volume group

    D.Backup the /test filesystem, remove it, and recreate it with a smaller size


    参考答案:A

  • 第4题:

    6.

    A. what

    B. how

    C. why

    D. where


    正确答案:B
    6.B【解析】how they do it中要有宾语it,而what they do后面的宾语其实就是代词what。

  • 第5题:

    All wire rope used in shipboard cargo gear must be identified and described in a certificate. The certificate shall certify all of the following EXCEPT the ______.

    A.date of the test

    B.load at which a test sample broke

    C.name of the vessel

    D.number of strands and of wires in each strand


    正确答案:C
    在船上货物设备上所有使用的钢丝绳必须被鉴别和签发证书。证书证明所有下列情况除了船名。

  • 第6题:

    End users are failing to log in to the network. Which command is used on the ERX Edge Router to validate communications with the RADIUS server?()

    • A、test ppp aaa
    • B、test aaa ppp
    • C、test radius user
    • D、test user radius

    正确答案:B

  • 第7题:

    A user copied files from a CD and now the files can only be opened as read-only. Which of the following utilities can be used to allow the user the ability to edit the files?()

    • A、EDIT
    • B、CHMOD
    • C、ATTRIB
    • D、CONVERT

    正确答案:C

  • 第8题:

    which one of the following accurately describes field names?()

    • A、they must be unique in a database  
    • B、they can only be used once in a view  
    • C、they can only used once on each form  
    • D、they can be used mulriple times on a form 

    正确答案:C

  • 第9题:

    The EMPLOYEES table is stored in the SAMPLE tablespace.  The corresponding IPK_EMP index for the EMPLOYEES table’s primary key is stored in the INDX tablespace.  Out of 12 partitions, only partition P1 of the SALES table is stored in the SAMPLE tablespace.  Which object will be exported by this command?()   exp system/manager tablespaces=SAMPLE

    • A、Only the EMPLOYEES table.
    • B、Only the EMPLOYEES table and its corresponding primary key index.
    • C、The EMPLOYEES table and partition P1.
    • D、The EMPLOYEES table, IPK_EMP index, and the SALES table.

    正确答案:D

  • 第10题:

    单选题
    This machine ()out of order very often, but now it works well.
    A

    is used to be

    B

    was used to be

    C

    used to be

    D

    was used to


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

  • 第11题:

    单选题
    SPSS软件中,完成两个独立总体均值是否相等的假设检验的操作是()
    A

    Analyze→Compare Means→One-Sample T Test

    B

    Analyze→Compare Means→Independent-Sample T Test

    C

    Analyze→Compare Means→Paired-Sample T Test

    D

    Analyze→Nonparametric Test→Binominal


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

  • 第12题:

    单选题
    All wire rope used in shipboard cargo gear must be identified and described in a certificate. The certificate shall certify all of the following EXCEPT the().
    A

    date of the test

    B

    load at which a test sample broke

    C

    name of the vessel

    D

    number of strands and of wires in each strand


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

  • 第13题:

    Given:11. public void go(int x) {Which statement is true?()

    A.All of the assert statements are used appropriately.

    B.Only the assert statement on line 12 is used appropriately.

    C.Only the assert statement on line 15 is used appropriately.

    D.Only the assert statement on line 18 is used appropriately.

    E.Only the assert statements on lines 12 and 15 are used appropriately.

    F.Only the assert statements on lines 12 and 18 are used appropriately.

    G.Only the assert statements on lines 15 and 18 are used appropriately.


    参考答案:G

  • 第14题:

    A user copied files from a CD and now the files can only be opened as read-only. Which of the following utilities can be used to allow the user the ability to edit the files?()

    A.EDIT

    B.CHMOD

    C.ATTRIB

    D.CONVERT


    参考答案:C

  • 第15题:

    ( )Her son __________ Coke, but now he __________ milk.

    A.used to drink;is used to drinking

    B.used to drinking;drinks

    C.is used to drinking;used to drink

    D.is used to drink;is drinking


    正确答案:A

  • 第16题:

    ● Since RAM is only active when the computer is on, your computer uses disto store information even when the computer is off. Which of the following itrue? (74)

    (74)

    A.When your computer is on, only RAM is used to store information

    B.When your computer is on, only disk drives are used to storinformation.

    C.When your computer is off, only RAM is used to store information

    D.When your computer is off, only disk drives are used to storinformation.


    正确答案:D

  • 第17题:

    Which two statements are true about the hashCode method?()

    • A、 The hashCode method for a given class can be used to test for object equality and object inequality for that class.
    • B、 The hashCode method is used by the java.util.SortedSet collection class to order theelements within that set.
    • C、 The hashCode method for a given class can be used to test for object inequality, but NOT object equality, for that class.
    • D、 The only important characteristic of the values returned by a hashCode method is that the distribution of values must follow a Gaussian distribution.
    • E、 The hashCode method is used by the java.util.HashSet collection class to group the elements within that set into hash buckets for swift retrieval.

    正确答案:C,E

  • 第18题:

    Hemp rope rots easily when it is wet. So it is now used only for “small stuff” such as ().

    • A、mooring and lashing ropes
    • B、seizing and serving ropes
    • C、cargo-handling and seizing ropes
    • D、wooden ropes

    正确答案:B

  • 第19题:

    A system administrator used the savevg command to back up the testvg each night. There is now a requirement to exclude the /test/static filesystem from the backup. How can this be accomplished?()

    • A、Use the -X flag on the savevg command
    • B、Put an entry in the /etc/exclude.testvg file
    • C、Remove the /test/static entries from the /vgdata/testvg.data file
    • D、Use the touch command to create /test/static/.exclude before using savevg

    正确答案:B

  • 第20题:

    An administrator needs to apply a Technology Level update. During the preview install, the output indicates that there is insufficient space in the /usr filesystem. Review of the root volume group indicates there are no available physical partitions, but the /test jfs2 filesystem is only 8% used.  What is the most efficient method to use the available space in the /test filesystem to apply the update?()

    • A、Use chfs to reduce the /test filesystem
    • B、Use cplv to copy the /test filesystem to a smaller logical volume
    • C、Use migratepv l to move the /test filesystem to a different volume group
    • D、Backup the /test filesystem, remove it, and recreate it with a smaller size

    正确答案:A

  • 第21题:

    单选题
    Freon 12 which is used to produce intense cold is normally a () when at atmospheric pressure and temperature.
    A

    liquid

    B

    gas

    C

    solid

    D

    water only


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

  • 第22题:

    多选题
    Which two statements are true about the hashCode method?()
    A

    The hashCode method for a given class can be used to test for object equality and object inequality for that class.

    B

    The hashCode method is used by the java.util.SortedSet collection class to order theelements within that set.

    C

    The hashCode method for a given class can be used to test for object inequality, but NOT object equality, for that class.

    D

    The only important characteristic of the values returned by a hashCode method is that the distribution of values must follow a Gaussian distribution.

    E

    The hashCode method is used by the java.util.HashSet collection class to group the elements within that set into hash buckets for swift retrieval.


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

  • 第23题:

    单选题
    It takes at least five to ten years______it is possible to test this medicine on human patients.
    A

    before

    B

    since

    C

    after

    D

    when


    正确答案: D
    解析: