niusouti.com

Embedded systems always require the user to manipulate bits inregisters or variables. Given an integer variable a, write two code fragments.The first should set bit 5 of a. The second shnuld clear bit 5 of a. In bothcases, the remaining bits should be unm

题目

Embedded systems always require the user to manipulate bits in

registers or variables. Given an integer variable a, write two code fragments.

The first should set bit 5 of a. The second shnuld clear bit 5 of a. In both

cases, the remaining bits should be unmodified.


相似考题
更多“Embedded systems always require the user to manipulate bits inregisters or variables. Given an integer variable a, write two code fragments.The first should set bit 5 of a. The second shnuld clear bit 5 of a. In bothcases, the remaining bits should be unm”相关问题
  • 第1题:

    SONET Code Violations (CVs) totals in the PM tables are actually an accumulation of the number of ().

    A. J0 errors detected in a specified interval

    B. errors detected in a given Errored Second (ES)

    C. errors detected in a given Severely Errored Second (SES)

    D. errors the encryption algorithm detects in a specified interval

    E. Bit Interleaved Parity (BIP) errors detected in a specified interval


    参考答案:E

  • 第2题:

    设信息速率为sbit106/s,则2ASK、2PSK信号的谱零点带宽分别为()。

    • A、106bits/s,2X106bit/s
    • B、106bits/s,106bits/s
    • C、2X106bit/s,106bits/s
    • D、2X106bit/s,2X106bit/s

    正确答案:D

  • 第3题:

    Which two QoS classification and marking statements are true?()

    • A、 In a Frame Relay network, delay sensitive traffic is tagged with the discard eligible (DE) bit.
    • B、 In an MPLS network, the three most significant bits of the DSCP or the IP precedence of the IP packet are copied into the MPLS EXP field
    • C、 In an MPLS network, the MPLS EXP bits are used to identify up to 16 CoS values.
    • D、 The differentiated services code point (DSCP) field consists of the first three bits of the IP precedence field in the header of an IP packet.
    • E、 The 802.10 standard uses a three bitfield referred to as the user priority bits (PRI) to mark packets as belonging to a specific CoS.

    正确答案:B,E

  • 第4题:

    Which three statements about classification marking of traffic at Layer 2 are true? ()

    • A、a Frame Relay header includes a 1-bit discard eligible (DE) bit to provide the class of service (CoS)
    • B、an ATM header includes a 1-bit DE field to provide the CoS
    • C、an MPLS EXP field is inserted in the Layer 3 IP precedence field to identify the CoS
    • D、the CoS field only exists inside Ethernet frames when 802.1Q or Inter-Switch Link (ISL) trunking is used
    • E、in the IEEE 802.1p standard, three bits are used to identify the user priority bits for the CoS
    • F、in the IEEE 802.1q standard, six bits are used to identify the user priority bits for the CoS

    正确答案:A,D,E

  • 第5题:

    Which two statements about VPNv4 address are true? ()

    • A、The VPNv4 address is 128 bits long with a 128-bit long subnet mask
    • B、The VPNv4 address consists of an RD and an IPv4 address
    • C、The VPNv4 address is 96 bits long with a 64-bit long subnet mask
    • D、The VPNv4 address is 128 bits long with a 64-bit long subnet mask
    • E、The VPNv4 address consists of an RT and an IPv4 address
    • F、The VPNv4 address is 96 bits long with a 32-bit long subnet mask

    正确答案:B,F

  • 第6题:

    Pick the 4 valid ATM Cell Header fields:()

    • A、GFC-4 bits of generic flow control
    • B、Forward-explicit congestion notification(FECN)
    • C、VCI-16 bits of virtual channel identifier
    • D、CLP-1 bit of congestion loss
    • E、HEC-8 bit of header error control
    • F、ATM Discard Eligibility(DE)bit

    正确答案:A,B,D,E

  • 第7题:

    An administrator is configuring RAID 1 in a server.  The administrator has been given two matching 80GB SATA-2 hard drives, two SATA-2 cables, and a SATA-2 RAID adapter.  How should the administrator BEST configure these drives?()

    • A、Install one drive on the first channel and install the second drive on the second channel.
    • B、Install one drive on the first cable, on the first channel. Install the second drive on the secondcable, on the second channel.
    • C、Install both drives on the same channel. Cable both drives as the primary master on the samecable.
    • D、Install both drives on the same channel. On the same cable one drive should be set as primaryslave and the other drive as the primary master.

    正确答案:B

  • 第8题:

    单选题
    Which of the following is the MOST likely default configuration for a serial port?()
    A

    8 Data bits, Odd Parity, 1 stop bit

    B

    8 Data bits, Even Parity, 2 stop bits

    C

    8 Data bits, No Parity, 1.5 Stop bits

    D

    8 Data bits, No Parity, 1 Stop bit


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

  • 第9题:

    多选题
    Pick the 4 valid ATM Cell Header fields:()
    A

    GFC-4 bits of generic flow control

    B

    Forward-explicit congestion notification(FECN)

    C

    VCI-16 bits of virtual channel identifier

    D

    CLP-1 bit of congestion loss

    E

    HEC-8 bit of header error control

    F

    ATM Discard Eligibility(DE)bit


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

  • 第10题:

    多选题
    Which two statements about VPNv4 address are true? ()
    A

    The VPNv4 address is 128 bits long with a 128-bit long subnet mask

    B

    The VPNv4 address consists of an RD and an IPv4 address

    C

    The VPNv4 address is 96 bits long with a 64-bit long subnet mask

    D

    The VPNv4 address is 128 bits long with a 64-bit long subnet mask

    E

    The VPNv4 address consists of an RT and an IPv4 address

    F

    The VPNv4 address is 96 bits long with a 32-bit long subnet mask


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

  • 第11题:

    多选题
    Which two QoS classification and marking statements are true? ()
    A

    In a Frame Relay network, delay sensitive traffic is tagged with the discard eligible (DE) bit.

    B

    In an MPLS network, the three most significant bits of the DSCP or the IP precedence of the IP packet are copied into the MPLS EXP field.

    C

    In an MPLS network, the MPLS EXP bits are used to identify up to 16 CoS values.

    D

    The differentiated services code point (DSCP) field consists of the first three bits of the IP precedence field in the header of an IP packet.

    E

    The 802.1Q standard uses a three bit field referred to as the user priority bits (PRI) to mark packets as belonging to a specific CoS.


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

  • 第12题:

    多选题
    Which two QoS classification and marking statements are true?()
    A

    In a Frame Relay network, delay sensitive traffic is tagged with the discard eligible (DE) bit.

    B

    In an MPLS network, the three most significant bits of the DSCP or the IP precedence of the IP packet are copied into the MPLS EXP field

    C

    In an MPLS network, the MPLS EXP bits are used to identify up to 16 CoS values.

    D

    The differentiated services code point (DSCP) field consists of the first three bits of the IP precedence field in the header of an IP packet.

    E

    The 802.10 standard uses a three bitfield referred to as the user priority bits (PRI) to mark packets as belonging to a specific CoS.


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

  • 第13题:

    Which of the following is the MOST likely default configuration for a serial port?()

    • A、8 Data bits, Odd Parity, 1 stop bit
    • B、8 Data bits, Even Parity, 2 stop bits
    • C、8 Data bits, No Parity, 1.5 Stop bits
    • D、8 Data bits, No Parity, 1 Stop bit

    正确答案:D

  • 第14题:

    Which two QoS classification and marking statements are true? ()

    • A、 In a Frame Relay network, delay sensitive traffic is tagged with the discard eligible (DE) bit.
    • B、 In an MPLS network, the three most significant bits of the DSCP or the IP precedence of the IP packet are copied into the MPLS EXP field.
    • C、 In an MPLS network, the MPLS EXP bits are used to identify up to 16 CoS values.
    • D、 The differentiated services code point (DSCP) field consists of the first three bits of the IP precedence field in the header of an IP packet.
    • E、 The 802.1Q standard uses a three bit field referred to as the user priority bits (PRI) to mark packets as belonging to a specific CoS.

    正确答案:B,E

  • 第15题:

    To provide quality of service (QoS) for voice traffic in an IEEE 802.1 q network, which class of service (CoS) value should be used in the 3-bit, user priority bits (PRI) field? ()

    • A、The PRI field should contain the Cos value of 010
    • B、The PRI field should contain the Cos value of 011
    • C、The PRI field should contain the Cos value of 100
    • D、The PRI field should contain the Cos value of 101
    • E、The PRI field should contain the Cos value of 110
    • F、The PRI field should contain the CoS value of 111

    正确答案:D

  • 第16题:

    In computer networking a multicast address is an identifier for a group of hosts that have joined amulticast group. Multicast addressing can be used in the Link Layer (OSI Layer 2), such as Ethernet Multicast, as well as at the Internet Layer (OSI Layer 3) as IPv4 or IPv6 Multicast. Whichtwo descriptions are correct regarding multicast addressing?()

    • A、The first 23 bits of the multicast MAC address are 0x01-00-5E. This is a reserved value thatindicates a multicast application
    • B、The last 3 bytes (24 bits) of the multicast MAC address are 0x01-00-5E. This is a reservedvalue that indicates a multicast application
    • C、To calculate the Layer 2 multicast address, the host maps the last 23 bits of the IP address intothe last 24 bits of the MAC address. The high-order bit is set to 0
    • D、The first 3 bytes (24 bits) of the multicast MAC address are 0x01-00-5E. This is a reservedvalue that indicates a multicast application

    正确答案:C,D

  • 第17题:

    Which statement is correct regarding IPv6 addresses?()

    • A、An IPv6 address consists of 128 bits separated into eight 16-bit hexadecimal sections.
    • B、An IPv6 address consists of 64 bits separated into four 16-bit hexadecimal sections.
    • C、An IPv6 address consists of 128 bits separated into sixteen 8-bit hexadecimal sections.
    • D、An IPv6 address consists of 64 bits separated into eight 8-bit hexadecimal sections.

    正确答案:A

  • 第18题:

    What is the MD5 algorithm used for?()

    • A、takes a fixed-length message and produces a 128-bit message digest
    • B、takes a variable-length message and produces a 168-bit message digest
    • C、takes a message less than 2^64 bits as input and produces a 160-bit message digest
    • D、takes a variable-length message and produces a 128-bit message digest ActualTests.com

    正确答案:D

  • 第19题:

    You.create Windows.Forms.applications.by.using.the .NET Framework 3.5. You plan to use the Windows Installer to deploy a new application.   The application must meet the following requirements:  (1)Support deployment to 32bit and 64bit operating systems   (2)Use the 64bit Program Files folder when deployed to 64bit platforms    You need to ensure that the application is deployed appropriately.    What should you do?()

    • A、Create a single MSI file.Add a launch condition that is set to Version NT64
    • B、Create a single MSI file.Add a launch condition that is set to NOT Version NT64
    • C、Create an MSI file that is targeted to 64bit platforms.Create an MSI file that is targeted to 32bit platforms
    • D、Create a single MSI file.Create a merge module that contains the 32bit and 64bit code

    正确答案:C

  • 第20题:

    单选题
    What recommendation is given to the company?
    A

    It should expand its assets.

    B

    It should hire a foreign executive.

    C

    It should increase its workforce.

    D

    It should open an overseas subsidiary.


    正确答案: B
    解析:
    邮件第2段指出to extend its holdings,这样对Copper Media有利,故选A。意为“资产”的词汇holdings与答案中的assets意思相同。

  • 第21题:

    单选题
    To provide quality of service (QoS) for voice traffic in an IEEE 802.1 q network, which class of service (CoS) value should be used in the 3-bit, user priority bits (PRI) field? ()
    A

    The PRI field should contain the Cos value of 010

    B

    The PRI field should contain the Cos value of 011

    C

    The PRI field should contain the Cos value of 100

    D

    The PRI field should contain the Cos value of 101

    E

    The PRI field should contain the Cos value of 110

    F

    The PRI field should contain the CoS value of 111


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

  • 第22题:

    多选题
    In computer networking a multicast address is an identifier for a group of hosts that have joined amulticast group. Multicast addressing can be used in the Link Layer (OSI Layer 2), such as Ethernet Multicast, as well as at the Internet Layer (OSI Layer 3) as IPv4 or IPv6 Multicast. Whichtwo descriptions are correct regarding multicast addressing?()
    A

    The first 23 bits of the multicast MAC address are 0x01-00-5E. This is a reserved value thatindicates a multicast application

    B

    The last 3 bytes (24 bits) of the multicast MAC address are 0x01-00-5E. This is a reservedvalue that indicates a multicast application

    C

    To calculate the Layer 2 multicast address, the host maps the last 23 bits of the IP address intothe last 24 bits of the MAC address. The high-order bit is set to 0

    D

    The first 3 bytes (24 bits) of the multicast MAC address are 0x01-00-5E. This is a reservedvalue that indicates a multicast application


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

  • 第23题:

    单选题
    Which statement is correct regarding IPv6 addresses?()
    A

    An IPv6 address consists of 128 bits separated into eight 16-bit hexadecimal sections.

    B

    An IPv6 address consists of 64 bits separated into four 16-bit hexadecimal sections.

    C

    An IPv6 address consists of 128 bits separated into sixteen 8-bit hexadecimal sections.

    D

    An IPv6 address consists of 64 bits separated into eight 8-bit hexadecimal sections.


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