Cnp Quiz 4 (Cse A)

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Kallaanshuman
K
Kallaanshuman
Community Contributor
Quizzes Created: 1 | Total Attempts: 301
Questions: 15 | Attempts: 301

SettingsSettingsSettings
Computer Quizzes & Trivia

.


Questions and Answers
  • 1. 

    If destination receives a datagram that did not visit one of the routers listed in strict-source-route option filed then

    • A.

      It redirects the datagram to that router which is not visited

    • B.

      It simply discards the datagram

    • C.

      It processes the datagram in usual manner

    • D.

      It accepts the datagram but warns the router sending the datagram

    Correct Answer
    B. It simply discards the datagram
    Explanation
    If the destination receives a datagram that did not visit one of the routers listed in the strict-source-route option field, it simply discards the datagram. This means that the destination does not process or forward the datagram further, and it is effectively dropped or ignored.

    Rate this question:

  • 2. 

    Which IP address an intermediate router inserts if record-route option is being used?

    • A.

      IP address of the network to which the outgoing link is connected

    • B.

      IP address of the network to which the incoming link is connected

    • C.

      IP address of its outgoing interface

    • D.

      IP address of the next router

    Correct Answer
    C. IP address of its outgoing interface
    Explanation
    When the record-route option is being used, an intermediate router inserts the IP address of its outgoing interface. This is because the record-route option allows a packet to record the IP addresses of each router it passes through. By inserting its outgoing interface IP address, the router is indicating the specific interface through which the packet is being forwarded. This information can be useful for troubleshooting network issues or analyzing the path taken by a packet.

    Rate this question:

  • 3. 

    What can appear after the option ‘end-of-option’ in IPv4 datagram?

    • A.

      No-operation option

    • B.

      End-of-option option

    • C.

      Timestamp option

    • D.

      Payload

    Correct Answer
    D. Payload
    Explanation
    The payload can appear after the option "end-of-option" in an IPv4 datagram. The payload refers to the actual data that is being transmitted in the datagram. It can include any information or message that needs to be sent from the source to the destination. The options mentioned in the question, such as no-operation option, end-of-option option, and timestamp option, are all additional features or fields that can be included in the datagram, but the payload is the main content of the message.

    Rate this question:

  • 4. 

    If fragmentation occurs then which fields are changed in IPv4 header (assume empty option field)?

    • A.

      Total length, M bit of flag, Fragmentation offset, TTL and Header Checksum

    • B.

      HLEN, Total length, Fragmentation offset, TLL and Header Checksum

    • C.

      Total length, Identification, Fragmentation offset, TTL and Header Checksum

    • D.

      Identification, Total length, M bit of flag and Fragmentation offset

    Correct Answer
    A. Total length, M bit of flag, Fragmentation offset, TTL and Header Checksum
    Explanation
    When fragmentation occurs in IPv4, the fields that are changed in the header are the Total length, M bit of flag, Fragmentation offset, TTL, and Header Checksum. The Total length field is updated to reflect the new length of the fragmented packet. The M bit of flag is set to indicate whether there are more fragments or not. The Fragmentation offset field specifies the position of the fragment within the original packet. The TTL (Time to Live) field is decremented to indicate the remaining number of hops the packet can take. Finally, the Header Checksum field is recalculated to ensure data integrity.

    Rate this question:

  • 5. 

    To determine the number of the last byte in a fragment we need to know

    • A.

      HLEN

    • B.

      Fragmentation offset

    • C.

      Total length

    • D.

      All the above

    Correct Answer
    D. All the above
    Explanation
    To determine the number of the last byte in a fragment, we need to consider all the given factors. HLEN (Header Length) is important because it tells us the length of the IP header, which is necessary for calculating the position of the fragment within the original IP packet. The fragmentation offset is needed to determine the position of the fragment relative to the original packet. Lastly, the total length of the fragment is crucial in determining the number of the last byte. Therefore, all the given factors (HLEN, fragmentation offset, and total length) are necessary to determine the number of the last byte in a fragment.

    Rate this question:

  • 6. 

    What is the maximum possible size of the data portion of the IPv4 datagram?

    • A.

      65,515 bytes

    • B.

      65,535 bytes

    • C.

      65,475 bytes

    • D.

      65,460 bytes

    Correct Answer
    A. 65,515 bytes
    Explanation
    The maximum possible size of the data portion of the IPv4 datagram is 65,515 bytes. This is because the maximum size of an IPv4 datagram, including both the header and the data, is 65,535 bytes. The header of an IPv4 datagram is 20 bytes, so the remaining 65,515 bytes are available for the data portion.

    Rate this question:

  • 7. 

    In IPv4 layer, datagram is of

    • A.

      Fixed length

    • B.

      Variable length

    • C.

      Global length

    • D.

      0 length

    Correct Answer
    B. Variable length
    Explanation
    In IPv4 layer, the datagram is of variable length. This means that the size of the datagram can vary depending on the amount of data being transmitted. Unlike fixed length datagrams, variable length datagrams allow for more flexibility in terms of the amount of data that can be sent in a single packet. This is important as it allows for efficient utilization of network resources by adjusting the packet size based on the amount of data being sent.

    Rate this question:

  • 8. 

    An IP router with a Maximum Transmission Unit (MTU) of 1500 bytes has received an IP packet of size 4404 bytes with an IP header of length 20 bytes. The values of the relevant fields in the header of the third IP fragment generated by the router for this packet are  

    • A.

      MF bit: 1, Datagram Length: 1424; Offset: 185

    • B.

      MF bit: 0, Datagram Length: 1444; Offset: 370

    • C.

      MF bit: 1, Datagram Length: 1500; Offset: 37

    • D.

      MF bit: 0, Datagram Length: 1424; Offset: 2960

    Correct Answer
    B. MF bit: 0, Datagram Length: 1444; Offset: 370
    Explanation
    The given answer indicates that the third IP fragment generated by the router has a MF (More Fragments) bit value of 0, indicating that it is the last fragment of the original IP packet. The Datagram Length field is 1444 bytes, which includes the IP header length of 20 bytes. The Offset field is 370, indicating the position of the fragment within the original IP packet.

    Rate this question:

  • 9. 

    Which field helps to check rearrangement of the fragments?

    • A.

      Fragmentation offset

    • B.

      Flag

    • C.

      TTL

    • D.

      Identifier

    Correct Answer
    A. Fragmentation offset
    Explanation
    The fragmentation offset field helps to check the rearrangement of the fragments. This field indicates the position of the fragment within the original datagram. By comparing the fragmentation offsets of different fragments, the receiving device can determine the correct order in which the fragments should be reassembled to recreate the original datagram.

    Rate this question:

  • 10. 

    Each router in the list must be visited, but the datagram can visit other routers as well. This statement is true for:

    • A.

      No-Operation Option

    • B.

      Strict-source route

    • C.

      Loose source route

    • D.

      Timestamp

    Correct Answer
    C. Loose source route
    Explanation
    In a loose source route, the datagram must visit each router in the list, but it is allowed to visit other routers as well. This means that the datagram has some flexibility in its routing path, as long as it visits all the routers specified in the list. This is different from a strict-source route, where the datagram must strictly follow the specified path without deviation. The No-Operation Option and Timestamp options are unrelated to the concept of visiting routers, so they do not fit the description. Therefore, the correct answer is Loose source route.

    Rate this question:

  • 11. 

    Which field in IPv4 header allows de-multiplexing process when datagram reaches destination host

    • A.

      Timestamp

    • B.

      TTL

    • C.

      Fragmentation Offset

    • D.

      Protocol

    Correct Answer
    D. Protocol
    Explanation
    The field in the IPv4 header that allows the de-multiplexing process when a datagram reaches the destination host is the Protocol field. This field specifies the protocol used in the data portion of the IP packet, such as TCP, UDP, ICMP, etc. When the datagram arrives at the destination host, the Protocol field is examined to determine which higher-level protocol should handle the data. This allows the destination host to correctly deliver the packet to the appropriate application or service.

    Rate this question:

  • 12. 

    For an IPv4 datagram arrived the values of fragmentation offset, HLEN and total length fields are 200, 5 and 500 respectively. What is the number of first byte?

    • A.

      500

    • B.

      200

    • C.

      1600

    • D.

      800

    Correct Answer
    C. 1600
    Explanation
    The number of the first byte can be calculated by multiplying the value of the fragmentation offset by 8. In this case, the fragmentation offset is 200, so the number of the first byte would be 200 * 8 = 1600.

    Rate this question:

  • 13. 

    The TTL field has value 10. How many routers (max) can process this datagram?

    • A.

      11

    • B.

      5

    • C.

      10

    • D.

      1

    Correct Answer
    C. 10
    Explanation
    The Time to Live (TTL) field in an IP datagram represents the maximum number of hops (routers) that the datagram can pass through before being discarded. In this case, the TTL value is 10, which means that the datagram can be processed by a maximum of 10 routers. Once the datagram reaches the 11th router, it will be discarded as the TTL value will be reduced to 0. Therefore, the correct answer is 10.

    Rate this question:

  • 14. 

    A datagram is fragmented into three smaller datagrams. Which of the following is true?    

    • A.

      The do not fragment bit is set to 1 for all three datagrams.

    • B.

      The identification field is the same for all three datagrams.

    • C.

      The more fragment bit is set to 0 for all three datagrams.

    • D.

      The offset field is the same for all three datagrams.

    Correct Answer
    B. The identification field is the same for all three datagrams.
    Explanation
    In IP fragmentation, a datagram is divided into smaller fragments to be transmitted over a network. Each fragment retains the same identification field as the original datagram. This allows the receiving end to reassemble the fragments correctly based on the identification field. Therefore, the statement that the identification field is the same for all three datagrams is true.

    Rate this question:

  • 15. 

    A router reads the _______ address on a packet to determine the next hop.

    • A.

      MAC

    • B.

      Source

    • C.

      IP

    • D.

      ARP

    Correct Answer
    C. IP
    Explanation
    A router reads the IP address on a packet to determine the next hop. The IP address is a unique identifier assigned to each device on a network, and it helps the router determine the destination of the packet and the appropriate path to forward it. The MAC address, on the other hand, is used for communication within a local network and is not relevant for determining the next hop. The source address is the address of the sender, and ARP is a protocol used to map IP addresses to MAC addresses.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Aug 17, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 24, 2018
    Quiz Created by
    Kallaanshuman
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.