Cn Quiz-4 [IT-b]

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 Deepak Sinwar
D
Deepak Sinwar
Community Contributor
Quizzes Created: 1 | Total Attempts: 371
Questions: 10 | Attempts: 371

SettingsSettingsSettings
Cn Quiz-4 [IT-b] - Quiz


Questions and Answers
  • 1. 

    Regarding User Datagram Potocol (UDP), following is true

    • A.

      It has fixed sized of header

    • B.

      It is unreliable 

    • C.

      Checksum is optional

    • D.

      All the above 

    Correct Answer
    D. All the above 
    Explanation
    The given correct answer is "All the above". This means that all three statements mentioned in the question regarding User Datagram Protocol (UDP) are true. UDP does have a fixed-sized header, it is unreliable (as it does not guarantee delivery or ordering of packets), and the checksum in UDP is optional (it is not mandatory for every packet to have a checksum).

    Rate this question:

  • 2. 

    The process on a host is identified by

    • A.

      Sequence Number

    • B.

      Process ID

    • C.

      Port Number

    • D.

      Host Name

    Correct Answer
    C. Port Number
    Explanation
    The process on a host is identified by its port number. A port number is a 16-bit number that is used to uniquely identify a specific process or service running on a host. It allows multiple processes to run simultaneously on a host and ensures that the data packets are delivered to the correct process. By using different port numbers, multiple applications can communicate with the network at the same time without conflicts.

    Rate this question:

  • 3. 

    The authority to assign and control well known ports is 

    • A.

      IANA

    • B.

      ISP

    • C.

      ICANN

    • D.

      IETF

    Correct Answer
    C. ICANN
    Explanation
    ICANN stands for Internet Corporation for Assigned Names and Numbers. It is a non-profit organization that has the authority to assign and control well-known ports. ICANN is responsible for managing the domain name system (DNS) and coordinating the allocation of IP addresses. It ensures that the internet functions smoothly and effectively by overseeing the assignment of unique identifiers and protocols.

    Rate this question:

  • 4. 

    In Go-Back-N protocol, if receiver get an error-free packet with sequence number not equal to Rn then it 

    • A.

      Accepts the received packet and sends an ACK with acknowledgment number = Rn

    • B.

      Just accepts the received packet

    • C.

      Discards the received packet and sends an ACK with acknowledgment number = Rn

    • D.

      None of the above

    Correct Answer
    C. Discards the received packet and sends an ACK with acknowledgment number = Rn
    Explanation
    In the Go-Back-N protocol, if the receiver receives a packet with a sequence number not equal to Rn, it means that the packet is out of order. In this case, the receiver discards the received packet because it is not the expected packet. However, the receiver still needs to send an acknowledgment to the sender to inform it about the expected sequence number. Therefore, the receiver sends an ACK with acknowledgment number = Rn to indicate that it is expecting the next packet with sequence number Rn.

    Rate this question:

  • 5. 

    Read the following statements: (a) The port numbers ranging from 0 to 1,023 are assigned and controlled by ICANN. (b) Dynamic ports cannot be used as private port numbers (c) The port numbers ranging from 1024 to 49,151 are not controlled by ICANN. (d) Universal port numbers for servers are called well-known ports. Which of these statements are not correct?

    • A.

      (a) and (c)

    • B.

      (c) and (d)

    • C.

      (b) only

    • D.

      None of the above

    Correct Answer
    C. (b) only
    Explanation
    Statement (b) states that dynamic ports cannot be used as private port numbers. This statement is incorrect because dynamic ports can be used as private port numbers. Dynamic ports are typically used by client applications to establish connections with server applications, and they are assigned by the operating system from a range of available port numbers. These dynamic ports can be used as private port numbers for communication within a private network. Therefore, the correct answer is (b) only.

    Rate this question:

  • 6. 

    In stop and wait protocol, if expected packet reaches at the receiver but is erroneous then

    • A.

      Receiver simply discards the packet

    • B.

      Receiver send NACK to sender

    • C.

      Receiver detects and corrects the error

    • D.

      Receiver sends ACK

    Correct Answer
    A. Receiver simply discards the packet
    Explanation
    In the stop and wait protocol, if the expected packet reaches the receiver but is erroneous, the receiver simply discards the packet. This is because in the stop and wait protocol, the receiver expects a specific packet and if it is found to be erroneous, it is considered invalid and therefore discarded. The receiver does not send a NACK (negative acknowledgement) to the sender or attempt to correct the error. The correct packet will be retransmitted by the sender in this protocol.

    Rate this question:

  • 7. 

    In stop and wait protocol, maximum size of the send window is 

    • A.

      2m-1

    • B.

      1

    • C.

      2

    • D.

      2m

    Correct Answer
    B. 1
    Explanation
    In stop and wait protocol, the maximum size of the send window is 1. This means that the sender can only send one packet at a time and must wait for an acknowledgment before sending the next packet. This protocol ensures reliable delivery of packets as it allows for error detection and retransmission if necessary. The limited window size prevents congestion and ensures that the receiver can handle the incoming packets effectively.

    Rate this question:

  • 8. 

    In UDP, checksum is computed over

    • A.

      Entire UDP segment

    • B.

      Only on UDP header and Data Coming from Application Layer

    • C.

      Pseudo Header,  UDP Header and Data Coming from Application Layer

    • D.

      Pseudo Header plus UDP header

    Correct Answer
    C. Pseudo Header,  UDP Header and Data Coming from Application Layer
    Explanation
    The correct answer is "Pseudo Header, UDP Header and Data Coming from Application Layer". In UDP, the checksum is computed over the pseudo header, which includes the source and destination IP addresses, protocol number, and UDP length. It is also computed over the UDP header, which includes the source and destination port numbers, length, and checksum field itself. Finally, the checksum is computed over the data coming from the application layer, which is the actual payload of the UDP segment. This comprehensive checksum calculation ensures the integrity of the entire UDP segment.

    Rate this question:

  • 9. 

    Out-of-order delivery can be handled by 

    • A.

      Stop-and-wait protocol

    • B.

      Go-Back-N Protocol

    • C.

      Simple Protocol 

    • D.

      Selective Repeat Protocol

    Correct Answer
    D. Selective Repeat Protocol
    Explanation
    Selective Repeat Protocol is able to handle out-of-order delivery. In this protocol, the sender sends multiple packets before receiving an acknowledgment from the receiver. The receiver has a buffer to store the out-of-order packets and can reorder them before delivering them to the upper layer. This allows for efficient utilization of the network and reduces the delay caused by retransmissions. Additionally, Selective Repeat Protocol also provides error detection and retransmission of lost packets, making it a reliable choice for handling out-of-order delivery.

    Rate this question:

  • 10. 

    If a TCP connection is transferring a file of 1000 bytes. The first byte is numbered 10001. What is the sequence number of the segment if all data is sent in only one segment

    • A.

      10000

    • B.

      10001

    • C.

      11001

    • D.

      12001

    Correct Answer
    B. 10001
    Explanation
    The sequence number of the segment would be 10001. This is because the first byte is numbered 10001, and since all data is sent in only one segment, the sequence number of the segment would be the same as the sequence number of the first byte.

    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
  • Mar 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Apr 02, 2019
    Quiz Created by
    Deepak Sinwar
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.