An operator is asked to verify the exact location of the default JRE binary. The following commands were run: $ which java /usr/bin/java $ ls -l /usr/bin/java lrwxrwxrwx 1 root other 23 Jan 27 2006 /usr/bin/java -> ../jre1.5.0_06/bin/java Based on the co

题目

An operator is asked to verify the exact location of the default JRE binary. The following commands were run: $ which java /usr/bin/java $ ls -l /usr/bin/java lrwxrwxrwx 1 root other 23 Jan 27 2006 /usr/bin/java -> ../jre1.5.0_06/bin/java Based on the command outputs above, what is the path to the java executable file?()

  • A、/usr/bin/java
  • B、/usr/jre1.5.0_06/bin/java
  • C、/usr/bin/jre1.5.0_06/bin/java
  • D、/usr/bin/java/jre1.5.0_06/bin/java

相似考题
更多“An operator is asked to verify ”相关问题
  • 第1题:

    如果表达式-x/y中的“--”和“/”是作为友元函数重载的运算符,采用运算符函数用格式,该表达式还可表示为( )。

    A.operator/(x.operator--(),y);

    B.operator/(operator--(x),y);

    C.x.operator--().operator/(y);

    D.y.operator/(operator--(x));


    正确答案:B
    解析: 本题考核运算符的重载。假定已经作为某个类的成员函数重载了二元运算符+,且c1、c2都是该类的对象,则c1。operator+(c2)与c1+c2含义相同。如果+作为该类的非成员函数重载,则operator+(c1,c2)与c1+c2含义相同。同理,运算符“/”作为友元函数重载,则(--x)/y与表达式operator/((--x),y)相同。前缀运算符“--”作为友元函数重载,则--x与operator--(x)相同,所以组合起来是operator/(operator-(x),y);,即B选项。

  • 第2题:

    如果在表达式++x/y中,++是作为友元函数重载的,/是作为成员函数重载的,则该表达式还可为

    A.(operator++(x) ) .operator/(y)

    B.(operator++(0) ) .operator/(y)

    C.operator/((operator++(x,0) ) ,y)

    D.operator/((operator++(0) ) ,y)


    正确答案:A
    解析:C++中用成员函数重载++x为:x. operator++( ) ,用友元函数重载++x为:operator ++(x) ,用成员函数重载x/y为:x. operator/(y) ,用友元函数重载x/y为:operator/(x, y) 。

  • 第3题:

    如果表达式y*x++中,“*”是作为成员函数重载的运算符,“++”是作为友元函数重载的运算符,采用运算符函数调用格式,该表达式还可表示为

    A.x.operator++(0).operator*(y);

    B.operator*(x.operator++(0),y);

    C.y.operator*(operator++(x,0))

    D.operator*(operator++(x,0),y)


    正确答案:C
    解析:本题考核运算符的重载。假定已经作为某个类的成员函数重载了二元运算符+,且c1,c2都是该类的对象,则c1.operator+(c2)与c1+c2含义相同。如果+作为该类的非成员函数重载,则operator+(c1,c2)与c1+c2含义相同。同理,运算符*作为成员函数重载,则y*(x++)与 y.operator*(x++)含义相同,后缀++作为友元函数重载,那么x++与operator++(x,0)含义相同,所以选项 C是正确的。

  • 第4题:

    An operator is asked to rewind and eject a tape from a system. Which command will accomplish this without touching the tape drive?()

    A. tctl reset

    B. tctl rewind

    C. tctl return

    D. tctl rewoffl


    参考答案:A

  • 第5题:

    An operator has been asked if a system was rebooted. Which of the following commands should be used to determine if a reboot has occurred?()

    A. The name?command.The ?name?command.

    B. The ptime?command.The ?ptime?command.

    C. The hutdown ast?command.The ?hutdown ?ast?command.

    D. The ?etc/rc.shutdown?command.


    参考答案:B

  • 第6题:

    Refer to the exhibit. The Route.com company is running EIGRP between all the r outers. Currently, if one of the LAN links (LAN1 or LAN2) at the headquarters flaps (goes up and down), the HQRTR1 and HQ - RTR2 routers will experience high CPU usage and have a long EIGRP convergence time. As the new network administrator, you are asked to investigate this situation and determine if there is a quick way to resolve this issue. Which is the most important thing that you can quickly verify first to resolve this issue?()

    A. Verify that the bandwidth setting on all WAN links is correct.

    B. Verify that the HQ - RTR1 and HQ - RTR2 routers are configured to send only a default route to all the spoke routers.

    C. Verify that the HQ - RTR1 and HQ - RTR2 routers are configured for EIGRP Nonstop Forwarding.

    D. Verify that all the spoke routers are co nfigured for autosummarization.

    E. Verify that all the spoke routers are configured as EIGRP stub.


    参考答案:E

  • 第7题:

    如果表达式++j*k中的“++”和“*”都是重载的友元运算符,则采用运算符函数调用格式,该表达式还可以表示为()

    • A、operator*(j.operator++(),k)
    • B、operator*(operator++(j),k)
    • C、operator++(j).operator*(k)
    • D、operator*(operator++(j),)

    正确答案:B

  • 第8题:

    An operator just completed a repair to a disk subsystem that contains a disk heartbeat. Before returning the system back into production mode, there is a requirement to verify the disk heartbeat is functioning.  How should the operator determine if the disk heartbeat network functioning?()   

    • A、 Use the clinfo command to monitor the disk heartbeat
    • B、 Use the mail command to check for messages form HACMP
    • C、 Use the dhbread command to verify the disk heartbeat link
    • D、 Use the clstat command to verify the appropriate network connections are available

    正确答案:D

  • 第9题:

    An operator has been asked if a system was rebooted. Which of the following commands should be used to determine if a reboot has occurred?()

    • A、The name?command.The ?name?command.
    • B、The ptime?command.The ?ptime?command.
    • C、The hutdown ast?command.The ?hutdown ?ast?command.
    • D、The ?etc/rc.shutdown?command.

    正确答案:B

  • 第10题:

    单选题
    An operator just completed a repair to a disk subsystem that contains a disk heartbeat. Before returning the system back into production mode, there is a requirement to verify the disk heartbeat is functioning.  How should the operator determine if the disk heartbeat network functioning?()
    A

     Use the clinfo command to monitor the disk heartbeat

    B

     Use the mail command to check for messages form HACMP

    C

     Use the dhbread command to verify the disk heartbeat link

    D

     Use the clstat command to verify the appropriate network connections are available


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

  • 第11题:

    单选题
    The representative of the committee was asked to verify his earlier statement.
    A

    confirm

    B

    withdraw

    C

    repeat

    D

    modify


    正确答案: B
    解析:
    句意:要求委员会的代表证实他以前的发言。confirm证实;确定。verify核实;查证。withdraw收回,撤回。repeat重复。modify修改;修饰。

  • 第12题:

    单选题
    An operator has been asked if a system was rebooted. Which of the following commands should be used to determine if a reboot has occurred?()
    A

    The name?command.The ?name?command.

    B

    The ptime?command.The ?ptime?command.

    C

    The hutdown ast?command.The ?hutdown ?ast?command.

    D

    The ?etc/rc.shutdown?command.


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

  • 第13题:

    将x+y*z中的“+”用成员函数重载,“*”是友元函数重载应写为( )。 A.operator+(operator*(y,z))SX

    将x+y*z中的“+”用成员函数重载,“*”是友元函数重载应写为( )。

    A.operator+(operator*(y,z))

    B.x.operator+(operator*(y,z))

    C.x.operator+(X*(y,z))

    D.x+(operator*(y,z))


    正确答案:B
    B。【解析】在定义了重载运算符后的函数后,函数operator+重载了运算符“+”。如果在类以外的其他地方定义了一个函数,在类体中用friend对该函数进行声明,此函数就称为本类的友元函数。“*”用友元函数重载就是运算符函数不作为成员函数,而把它放在类外,“*”被改写为“operator*”。“+”为成员函数重载,X.operator+。所以“x+y*z”被改写为“x.operator+(operator*(y,z))”。

  • 第14题:

    如果表达式++x/y中,+ +是作为友元函数重载的,/是作为成员函数重载的,则该表达式还可为( )。

    A.(operator + +(x)).operator/(y)

    B.(operator + +(0)).operatr/(y)

    C.operator/((operator + + (x,0)),y)

    D.operator/((operator + + (0)),y)


    正确答案:A

  • 第15题:

    如果表达式++x/y中,++是作为友元函数重载的,/是作为成员函数重载的,则该表达式还可为( )。

    A.(operator++(x)).operator/(y)

    B.(operator++(0)).operatr/(y)

    C.operator/((operator++(x,0)),y)

    D.operator/((operator++(0)),y)


    正确答案:A

  • 第16题:

    An operator wants to move all files inside the directory /home/operator to the current directory. Which of the following commands will complete the task?()

    A. mv /home/operator .

    B. mv /home/operator/* .

    C. mv /home/operator ../..

    D. mv /home/operator/all ../home/operator


    参考答案:B

  • 第17题:

    Certkiller .com has asked you to develop an application that displays the properties for all Certkiller.com‘s network drives.The information generated by this application will be utilized by Certkiller .com‘s network administrators to verify client setups.You need to ensure that these requirements are fully satisfied.What should you do?()

    A.

    B.

    C.

    D.


    参考答案:C

  • 第18题:

    Which configuration command builds a read-write SNMP community named operator?()

    • A、Snmp-server community operator.
    • B、Snmp-server operator community.
    • C、Snmp-server community operator rw.
    • D、Snmp-server operator community rw

    正确答案:C

  • 第19题:

    An operator is asked to shutdown the telnet service for security reasons. What are the appropriate commands to achieve this?()

    • A、comment out telnetd in /etc/services refresh -s inetd
    • B、comment out telnetd in /etc/inetd.conf refresh -s inetd
    • C、comment out telnetd in /etc/rc.tcpip refresh -s telnetd
    • D、comment out telnetd in /etc/inetd.conf refresh -s telnetd

    正确答案:B

  • 第20题:

    An operator wants to move all files inside the directory /home/operator to the current directory. Which of the following commands will complete the task?()

    • A、mv /home/operator .
    • B、mv /home/operator/* .
    • C、mv /home/operator ../..
    • D、mv /home/operator/all ../home/operator

    正确答案:B

  • 第21题:

    单选题
    Which configuration command builds a read-write SNMP community named operator?()
    A

    Snmp-server community operator.

    B

    Snmp-server operator community.

    C

    Snmp-server community operator rw.

    D

    Snmp-server operator community rw


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

  • 第22题:

    单选题
    An operator is asked to verify the exact location of the default JRE binary. The following commands were run: $ which java /usr/bin/java $ ls -l /usr/bin/java lrwxrwxrwx 1 root other 23 Jan 27 2006 /usr/bin/java -> ../jre1.5.0_06/bin/java Based on the command outputs above, what is the path to the java executable file?()
    A

    /usr/bin/java

    B

    /usr/jre1.5.0_06/bin/java

    C

    /usr/bin/jre1.5.0_06/bin/java

    D

    /usr/bin/java/jre1.5.0_06/bin/java


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

  • 第23题:

    单选题
    An operator is asked to rewind and eject a tape from a system. Which command will accomplish this without touching the tape drive?()
    A

    tctl reset

    B

    tctl rewind

    C

    tctl return

    D

    tctl rewoffl


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