Which statements concerning the switch construct are true?()  A、All switch statements must have a default label.B、There must be exactly one label for each code segment in a switch statement.C、The keyword continue can never occur within the body of a switc

题目

Which statements concerning the switch construct are true?()  

  • A、All switch statements must have a default label.
  • B、There must be exactly one label for each code segment in a switch statement.
  • C、The keyword continue can never occur within the body of a switch statement.
  • D、No case label may follow a default label within a single switch statement.
  • E、A character literal can be used as a value for a case label.

相似考题
参考答案和解析
正确答案:E
更多“Which statements concerning the switch construct are true?()  A、All switch statements must have a default label.B、There must be exactly one label for each code segment in a switch statement.C、The keyword continue can never occur within the body of a switc”相关问题
  • 第1题:

    A new switch is installed in the Testking network. This switch is to be configured sothat VLAN information will be automatically distributed to all the other Cisco Catalyst switches in the network.Which of the conditions below have to be met in order for this to occur?()

    A. The switch that will share the VLAN information must be in the VTP Server mode.

    B. The switches must be in the same VTP domain.

    C. The switch that will share the VLAN information must be configured as the root bridge.

    D. The switches must be configured to use the same VTP version.

    E. The switches must be configured to use the same STP version.

    F. The switches must be configured to use the same type of ID tagging.

    G. The switches must be connected over VLAN trunks.


    参考答案:A, B, F

  • 第2题:

    Which three statements about VTP features are true?()

    A.When properly configured,VTP minimizes VLAN misconfigurations and configuration inconsistencies

    B.Each broadcast domain on a switch can have its own unique VTP domain

    C.VTP works at Layer 3 of the OSI model and requires that a management VLAN IP address be configured.

    D.When properly configured,VTP maintains VLAN configuration consistency and accelerates trunk link negotiation.

    E.VTP pruning is used to increase available bandwidth in trunk links

    F.Client,server,and transparent are valid VTP modes

    G. To configure a switch to be part of two VTP domains,each domain must have its own passwords


    参考答案:A, E

  • 第3题:

    You have configured voice VLANs on Catalyst switch R1.  Which two statements are true about the  operation of voice VLANs on this device? ()

    • A、 When the voice VLAN feature is enabled, all untagged traffic is sent according to the default  CoS priority of the port.
    • B、 Enabling voice VLANs enables the switch to create multiple queues for traffic that is entering a  port.
    • C、 When voice VLANs are configured on a trunk link, UplinkFast must also be enabled.
    • D、 Voice VLANs are configured to enable the switch to forward frames marked with the proper  CoS values over separate physical links.
    • E、 Enabling voice VLANs enables the switch to forward frames with a specific 802.1P marking.

    正确答案:A,E

  • 第4题:

    An administrator would like to configure a switch over a virtual terminal connection from locations outside of the local LAN. Which of the following are required in order for the switch to be configured from a remote location? ()

    • A、The switch must be configured with an IP address,subnet mask,and default gateway.
    • B、The switch must be connected to a router over a VLAN trunk.
    • C、The switch must be reachable through a port connected to its management VLAN.
    • D、The switch console port must be connected to the Ethernet LAN.
    • E、The switch management VLAN must be created and have a membership of at least one switch port.
    • F、The switch must be fully configured as an SNMP agent.

    正确答案:A,C

  • 第5题:

    You need to configure port security on switch R1.  Which two statements are true about this  technology? ()

    • A、 Port security can be configured for ports supporting VoIP.
    • B、 With port security configured, four MAC addresses are allowed by default.
    • C、 The network administrator must manually enter the MAC address for each device in order for  the switch to allow connectivity.
    • D、  Withsecurity configured, only one MAC addresses is allowed by default.  
    • E、 Port security cannot be configured for ports supporting VoIP.

    正确答案:A,D

  • 第6题:

    Which two statements are true regarding an Ethernet collision domain?()

    • A、If a switch is used, the collision domain is limited to each device and the switch.
    • B、If a hub is used, the collision domain is limited to each device and the hub.
    • C、If a hub is used, the collision domain includes all devices connected to the hub.
    • D、If a switch is used, the collision domain includes all devices connected to the switch.

    正确答案:A,C

  • 第7题:

    Which two statements are true regarding an Ethernet collision domain?()

    • A、The likelihood of collisions occurring increases when a switch is used.
    • B、The likelihood of collisions occurring increases when a hub is used.
    • C、If a hub is used, the collision domain is limited to each device and the hub.
    • D、If a switch is used, the collision domain is limited to each device and the switch.

    正确答案:B,D

  • 第8题:

    多选题
    Concerning the figure below, if a =b, which of the following statements must be true? (Indicate all such statements.)
    A

    c=d

    B

    l and k are parallel

    C

    m and l are perpendicular


    正确答案: C,B
    解析:
    根据题目中的已知信息无法推断出各直线的关系,因此B、C均不正确;而由图示可知,c和d分别是a和b的补角,由于a=b,所以c=d,A项正确。

  • 第9题:

    多选题
    Which three statements about VTP features are true?()
    A

    When properly configured,VTP minimizes VLAN misconfigurations and configuration inconsistencies

    B

    Each broadcast domain on a switch can have its own unique VTP domain

    C

    VTP works at Layer 3 of the OSI model and requires that a management VLAN IP address be configured.

    D

    When properly configured,VTP maintains VLAN configuration consistency and accelerates trunk link negotiation.

    E

    VTP pruning is used to increase available bandwidth in trunk links

    F

    Client,server,and transparent are valid VTP modes

    G

    To configure a switch to be part of two VTP domains,each domain must have its own passwords


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

  • 第10题:

    多选题
    An administrator would like to configure a switch over a virtual terminal connection from locations outside of the local LAN. Which of the following are required in order for the switch to be configured from a remote location? ()
    A

    The switch must be configured with an IP address,subnet mask,and default gateway.

    B

    The switch must be connected to a router over a VLAN trunk.

    C

    The switch must be reachable through a port connected to its management VLAN.

    D

    The switch console port must be connected to the Ethernet LAN.

    E

    The switch management VLAN must be created and have a membership of at least one switch port.

    F

    The switch must be fully configured as an SNMP agent.


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

  • 第11题:

    多选题
    Which two statements about login classes correctly define their usage within the JUNOS software?()
    A

    A different login class must be configured for each user.

    B

    Individual commands can be explicitly allowed or denied.

    C

    A user must be assigned to one of the default login classes.

    D

    Each login class is associated with one or more permissions flags.


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

  • 第12题:

    单选题
    Which statements concerning the switch construct are true?()
    A

    All switch statements must have a default label.

    B

    There must be exactly one label for each code segment in a switch statement.

    C

    The keyword continue can never occur within the body of a switch statement.

    D

    No case label may follow a default label within a single switch statement.

    E

    A character literal can be used as a value for a case label.


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

  • 第13题:

    Refer to the exhibit. The output that is shown is generated at a switch. Which three of these statements are true? ()

    A.All ports will be in a state of discarding, learning, or forwarding.

    B.Thirty VLANs have been configured on this switch.

    C.The bridge priority is lower than the default value for spanning tree.

    D.All interfaces that are shown are on shared media.

    E.All designated ports are in a forwarding state.

    F.The switch must be the root bridge for all VLANs on this switch.


    参考答案:A, C, E

  • 第14题:

    Which three statements about VTP features are true?()

    • A、When properly configured,VTP minimizes VLAN misconfigurations and configuration inconsistencies
    • B、Each broadcast domain on a switch can have its own unique VTP domain
    • C、VTP works at Layer 3 of the OSI model and requires that a management VLAN IP address be configured.
    • D、When properly configured,VTP maintains VLAN configuration consistency and accelerates trunk link negotiation.
    • E、VTP pruning is used to increase available bandwidth in trunk links
    • F、Client,server,and transparent are valid VTP modes
    • G、To configure a switch to be part of two VTP domains,each domain must have its own passwords

    正确答案:A,E,F

  • 第15题:

    Which two statements are true regarding an Ethernet collision domain?()

    • A、If a switch is used, the collision domain is limited to each device and the switch
    • B、If a hub is used, the collision domain is limited to each device and the hub
    • C、If a hub is used, the collision domain includes all devices connected to the hub
    • D、If a switch is used, the collision domain includes all devices connected to the switch

    正确答案:A,C

  • 第16题:

    An administrator would like to configure a switch over a virtual terminal connection from locations outside of the local LAN. Which of the following are required in order for the switch to be configured from a remote location? ()

    • A、The switch must be configured with an IP address, subnet mask, and default gateway.
    • B、The switch must be connected to a router over a VLAN trunk.
    • C、The switch must be reachable through a port connected to its management VLAN.
    • D、The switch console port must be connected to the Ethernet LAN.
    • E、The switch management VLAN must be created and have a membership of at least one switch

    正确答案:A,C

  • 第17题:

    You are configuring a new Catalyst switch that you want to manage remotely from workstations on other network segments within your enterprise.Which of the following are required to allow remote management of the switch over IP?()

    • A、The switch name must match the workgroup name of the local network.
    • B、The switch must be configured with an IP address and default gateway.
    • C、The remote workstations must have access to the management VLAN of the switch.
    • D、CDP must be enabled on the switch so that it can be located by other devices on the network.

    正确答案:B,C

  • 第18题:

    Which two statements about login classes correctly define their usage within the JUNOS software?()

    • A、A different login class must be configured for each user.
    • B、Individual commands can be explicitly allowed or denied.
    • C、A user must be assigned to one of the default login classes.
    • D、Each login class is associated with one or more permissions flags.

    正确答案:B,D

  • 第19题:

    多选题
    Which two statements are true regarding an Ethernet collision domain?()
    A

    If a switch is used, the collision domain is limited to each device and the switch.

    B

    If a hub is used, the collision domain is limited to each device and the hub.

    C

    If a hub is used, the collision domain includes all devices connected to the hub.

    D

    If a switch is used, the collision domain includes all devices connected to the switch.


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

  • 第20题:

    多选题
    An administrator would like to configure a switch over a virtual terminal connection from locations outside of the local LAN. Which of the following are required in order for the switch to be configured from a remote location? ()
    A

    The switch must be configured with an IP address, subnet mask, and default gateway.

    B

    The switch must be connected to a router over a VLAN trunk.

    C

    The switch must be reachable through a port connected to its management VLAN.

    D

    The switch console port must be connected to the Ethernet LAN.

    E

    The switch management VLAN must be created and have a membership of at least one switch


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

  • 第21题:

    多选题
    You need to configure port security on switch R1.  Which two statements are true about this  technology? ()
    A

    Port security can be configured for ports supporting VoIP.

    B

    With port security configured, four MAC addresses are allowed by default.

    C

    The network administrator must manually enter the MAC address for each device in order for  the switch to allow connectivity.

    D

      Withsecurity configured, only one MAC addresses is allowed by default.

    E

    Port security cannot be configured for ports supporting VoIP.


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

  • 第22题:

    多选题
    Which two statements are true regarding an Ethernet collision domain?()
    A

    If a switch is used, the collision domain is limited to each device and the switch

    B

    If a hub is used, the collision domain is limited to each device and the hub

    C

    If a hub is used, the collision domain includes all devices connected to the hub

    D

    If a switch is used, the collision domain includes all devices connected to the switch


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

  • 第23题:

    多选题
    Refer to the exhibit. The output that is shown is generated at a switch. Which three of these statements are true? ()
    A

    All ports will be in a state of discarding, learning, or forwarding.

    B

    Thirty VLANs have been configured on this switch.

    C

    The bridge priority is lower than the default value for spanning tree.

    D

    All interfaces that are shown are on shared media.

    E

    All designated ports are in a forwarding state.

    F

    The switch must be the root bridge for all VLANs on this switch.


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