chapter

    Network Models, Data Link Control, Error Detection and Multiple Access Short Notes for Gate Cs

    Network Models, Data Link Control, Error Detection and Multiple Access short notes for GATE CS: 4 study cards covering concepts, formulas, shortcuts and exam

    Network Models Data Link Control Error Detection and Multiple Access short notes

    Topic Summary: ARP and Addressing Cheat Sheet

    Summary

    Topic Summary: ARP and Addressing Cheat Sheet

    1. ARP Mechanics

    • Purpose: Resolve IPv4 Address MAC Address.
    • Request: Broadcast (FF:FF:FF:FF:FF:FF).
    • Reply: Unicast (To Requester's MAC).
    • Scope: Local LAN only (Routers block ARP).

    2. Packet Traversal

    • IP Addresses: Constant (Source Destination).
    • MAC Addresses: Change at every Hop (Source Next Hop).

    3. TCP Behavior

    • Piggybacking: Allowed. A segment can carry Data + ACK simultaneously.

    4. OSI Layers

    • Network: Routing, Logical Addressing (IP).
    • Data Link: Framing, Physical Addressing (MAC), Error Detection.
    • Transport: End-to-End Reliability (TCP).

    Flow Control Cheat Sheet

    Summary

    Quick Revision: Flow Control Formulas

    Concept Formula / Rule
    Transmission Time ()
    Propagation Delay ()
    Ratio 'a'
    Stop-and-Wait
    Sliding-Window
    Min Window for 100%
    Sequence Number Bits (Stop-and-Wait always needs 1 bit)

    Quick Reference: CRC and Hamming

    Quick Reference: CRC and Hamming

    • CRC Divisor: Degree polynomial -bit divisor. Remainder is exactly bits.
    • CRC Arithmetic: XOR subtraction only (no borrows).
    • Hamming Positions: Check bits at . Data at .
    • Hamming Syndrome: . Decimal value of = exact error position.
    • Error-Free Probability: for independent bits with flip probability .

    1 more card in this chapter

    Try a question

    Answer it here to see how it works. Nothing is recorded until you sign in.

    Question 1
    Level 1: Warm-up

    Assertion (A): ARP requests are strictly confined to the local LAN segment and are not forwarded by routers.

    Reason (R): ARP requests are encapsulated in IP packets with a Time-To-Live (TTL) value of 1.

    Which of the following is correct?

    Question 2
    Level 1: Warm-up

    Which of the following events is IMPOSSIBLE for an IP packet traversing multiple routers from source to destination, assuming no Network Address Translation (NAT) is used?

    Question 3
    Level 1: Warm-up

    A sliding-window protocol is used over a lossless link with a bandwidth of 5 Mbps. The frame size is 5000 bits, and the one-way propagation delay is 15 ms. Assuming negligible processing and acknowledgement transmission times, what is the minimum integer window size required to achieve 100% link utilization?

    Question 4
    Level 1: Warm-up

    Match the protocol/data unit in List I with its correct addressing characteristic in List II.

    \textbf{List I:}

    (P) ARP Request Frame

    (Q) IP Packet (traversing routers)

    (R) Ethernet Frame (traversing routers)

    (S) TCP Segment

    \textbf{List II:}

    (1) Destination MAC is

    (2) Destination IP address remains constant end-to-end

    (3) Destination MAC address changes at every router hop

    (4) Destination port number remains constant end-to-end

    Question 5
    Level 1: Warm-up

    Consider the following statements regarding network addressing formats:

    (I) An IPv4 address is 32 bytes long.

    (II) A MAC address is 48 bits long.

    Which of the following is TRUE?

    Question 6
    Level 1: Warm-up

    Consider four different network links configured for a sliding-window protocol. Rank the links in increasing order of the minimum window size () required to achieve 100% utilization, assuming negligible acknowledgement transmission time.

    (P) Transmission time ms, Propagation delay ms

    (Q) Transmission time ms, Propagation delay ms

    (R) Transmission time ms, Propagation delay ms

    (S) Transmission time ms, Propagation delay ms

    Question 7
    Level 1: Warm-up

    A sliding-window protocol is designed for a link with a bandwidth of 10 Mbps and a round-trip propagation delay of 20 ms. The frame size is 2000 bits. What is the minimum number of bits required for the sequence number field to achieve full link utilization, assuming negligible acknowledgement transmission time?

    Question 8
    Level 1: Warm-up

    For a sliding-window protocol to achieve 100% link utilization, the window size must satisfy . If the propagation delay is 10 ms and the transmission time is 5 ms, what is the minimum integer value of required?

    Question 9
    Level 1: Warm-up

    In a CSMA/CD network, the maximum propagation delay between any two nodes is . What is the minimum transmission time required for a frame to guarantee that the sender can detect a collision, expressed as a multiple of ?

    Question 10
    Level 1: Warm-up

    A communication link has a bandwidth of 10 Mbps and a one-way propagation delay of 5 ms. The data frame size is 10,000 bits. Assuming the acknowledgement transmission time is negligible, what is the value of the parameter 'a' (the ratio of propagation delay to transmission time) for this link?

    Free preview ends here

    Login to view the complete short notes

    Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.

    Explore complete test series, official past papers, and chapter-wise study tools.

    Why MastersUp

    Personalised first. High quality throughout.

    Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.

    Built around you, not around a syllabus PDF

    Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.

    Revision that hits your weak spots

    We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.

    Questions calibrated to the real exam

    Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.

    Notes written for recall, not for volume

    Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.

    One place for everything

    Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.

    Honest progress

    No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.

    Unlock the whole course

    Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.

    Network Models, Data Link Control, Error Detection and Multiple Access Short Notes for GATE CS

    Network Models, Data Link Control, Error Detection and Multiple Access short notes for GATE CS: 4 study cards covering concepts, formulas, shortcuts and exam traps, plus solved practice questions.

    Topic Summary: ARP and Addressing Cheat Sheet

    Summary

    Topic Summary: ARP and Addressing Cheat Sheet

    1. ARP Mechanics

    • Purpose: Resolve IPv4 Address MAC Address.
    • Request: Broadcast (FF:FF:FF:FF:FF:FF).
    • Reply: Unicast (To Requester's MAC).
    • Scope: Local LAN only (Routers block ARP).

    2. Packet Traversal

    • IP Addresses: Constant (Source Destination).
    • MAC Addresses: Change at every Hop (Source Next Hop).

    3. TCP Behavior

    • Piggybacking: Allowed. A segment can carry Data + ACK simultaneously.

    4. OSI Layers

    • Network: Routing, Logical Addressing (IP).
    • Data Link: Framing, Physical Addressing (MAC), Error Detection.
    • Transport: End-to-End Reliability (TCP).

    Flow Control Cheat Sheet

    Summary

    Quick Revision: Flow Control Formulas

    Concept Formula / Rule
    Transmission Time ()
    Propagation Delay ()
    Ratio 'a'
    Stop-and-Wait
    Sliding-Window
    Min Window for 100%
    Sequence Number Bits (Stop-and-Wait always needs 1 bit)

    Quick Reference: CRC and Hamming

    Quick Reference: CRC and Hamming

    • CRC Divisor: Degree polynomial -bit divisor. Remainder is exactly bits.
    • CRC Arithmetic: XOR subtraction only (no borrows).
    • Hamming Positions: Check bits at . Data at .
    • Hamming Syndrome: . Decimal value of = exact error position.
    • Error-Free Probability: for independent bits with flip probability .

    Quick Reference: Collision and Throughput

    Quick Reference: Collision and Throughput

    • Pure ALOHA Throughput: (Max at )
    • Slotted ALOHA Throughput: (Max at )
    • Normalized Load:
    • CSMA/CD Condition:
    • Minimum Frame Size:
    • Collision Window: The time interval during which a collision can be detected by the sender.

    Network Models, Data Link Control, Error Detection and Multiple Access: Solved Questions with Step-by-Step Explanations (10 Problems)

    Question 1 · Computer Networks MCQ

    Assertion (A): ARP requests are strictly confined to the local LAN segment and are not forwarded by routers.

    Reason (R): ARP requests are encapsulated in IP packets with a Time-To-Live (TTL) value of 1.

    Which of the following is correct?

    1. A.

      Both A and R are true and R is the correct explanation of A.

    2. B.

      Both A and R are true but R is not the correct explanation of A.

    3. C.

      A is true but R is false.

    4. D.

      A is false but R is true.

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: ARP is a Layer 2 protocol and does not use IP headers or TTL fields.

    Step 1: Evaluate Assertion (A). ARP requests are Layer 2 broadcasts. Routers operate at Layer 3 and do not forward Layer 2 broadcasts. Thus, ARP is confined to the local LAN. Assertion is TRUE.

    Step 2: Evaluate Reason (R). ARP is a standalone protocol that sits between Layer 2 and Layer 3. It is encapsulated directly in an Ethernet frame (EtherType 0x0806), not in an IP packet. Therefore, it has no IP header and no TTL field. Reason is FALSE.

    Step 3: Conclusion. A is true, but R is false.

    Answer: C

    Question 2 · Computer Networks MCQ

    Which of the following events is IMPOSSIBLE for an IP packet traversing multiple routers from source to destination, assuming no Network Address Translation (NAT) is used?

    1. A.

      The source MAC address changes at an intermediate router.

    2. B.

      The destination MAC address changes at an intermediate router.

    3. C.

      The destination IP address changes at an intermediate router.

    4. D.

      The source IP address remains constant throughout the journey.

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: The Golden Rule of Encapsulation states that IP addresses remain constant end-to-end, while MAC addresses change at every hop.

    Step 1: Evaluate MAC address behavior. When a packet moves from one router to the next, the old Ethernet header is stripped and a new one is created. Thus, both source and destination MAC addresses change at every hop. Options A and B are possible.

    Step 2: Evaluate IP address behavior. The source and destination IP addresses identify the original sender and final receiver. They remain constant throughout the journey unless NAT is explicitly used.

    Step 3: Identify the impossible event. Since no NAT is used, the destination IP address cannot change at an intermediate router.

    Answer: C

    Question 3 · Computer Networks MCQ

    A sliding-window protocol is used over a lossless link with a bandwidth of 5 Mbps. The frame size is 5000 bits, and the one-way propagation delay is 15 ms. Assuming negligible processing and acknowledgement transmission times, what is the minimum integer window size required to achieve 100% link utilization?

    1. A.

      15

    2. B.

      30

    3. C.

      31

    4. D.

      32

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: Minimum window size for 100% utilization is .

    Step 1: Calculate Transmission Time ().

    s = $1$ ms.

    Step 2: Calculate the ratio .

    .

    Step 3: Calculate .

    .

    Answer: 31.

    Question 4 · Computer Networks MCQ

    Match the protocol/data unit in List I with its correct addressing characteristic in List II.

    \textbf{List I:}

    (P) ARP Request Frame

    (Q) IP Packet (traversing routers)

    (R) Ethernet Frame (traversing routers)

    (S) TCP Segment

    \textbf{List II:}

    (1) Destination MAC is

    (2) Destination IP address remains constant end-to-end

    (3) Destination MAC address changes at every router hop

    (4) Destination port number remains constant end-to-end

    1. A.

      P-1, Q-2, R-3, S-4

    2. B.

      P-1, Q-3, R-2, S-4

    3. C.

      P-3, Q-2, R-1, S-4

    4. D.

      P-1, Q-2, R-4, S-3

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: Distinguish between end-to-end addressing (IP, TCP ports) and hop-to-hop addressing (MAC), as well as special broadcast cases (ARP).

    Step 1: Analyze (P) ARP Request Frame. An ARP request is sent to discover a MAC address, so it must be broadcast to the entire local network. Its destination MAC is . Match: P-1.

    Step 2: Analyze (Q) IP Packet. The Network layer provides end-to-end delivery. The destination IP address identifies the final target and remains constant across all router hops (ignoring NAT). Match: Q-2.

    Step 3: Analyze (R) Ethernet Frame. The Data Link layer provides hop-to-hop delivery. When a frame passes through a router, the router strips the old MAC header and creates a new one with the next hop's MAC address. Thus, the destination MAC changes at every router hop. Match: R-3.

    Step 4: Analyze (S) TCP Segment. The Transport layer provides process-to-process delivery. The destination port number identifies the application and remains constant end-to-end. Match: S-4.

    Correct matching: P-1, Q-2, R-3, S-4.

    Answer: P-1, Q-2, R-3, S-4

    Question 5 · Computer Networks MCQ

    Consider the following statements regarding network addressing formats:

    (I) An IPv4 address is 32 bytes long.

    (II) A MAC address is 48 bits long.

    Which of the following is TRUE?

    1. A.

      Both (I) and (II) are true.

    2. B.

      (I) is true and (II) is false.

    3. C.

      (I) is false and (II) is true.

    4. D.

      Both (I) and (II) are false.

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: Distinguish between bits and bytes for standard network addresses.

    Step 1: Evaluate Statement (I). An IPv4 address is 32 bits long. Since 1 byte = 8 bits, this equals 4 bytes. Statement (I) claims it is 32 bytes, which is false.

    Step 2: Evaluate Statement (II). A standard MAC address is 48 bits long. Statement (II) correctly states this.

    Step 3: Combine the evaluations. (I) is false and (II) is true.

    Answer: C

    Question 6 · Computer Networks MCQ

    Consider four different network links configured for a sliding-window protocol. Rank the links in increasing order of the minimum window size () required to achieve 100% utilization, assuming negligible acknowledgement transmission time.

    (P) Transmission time ms, Propagation delay ms

    (Q) Transmission time ms, Propagation delay ms

    (R) Transmission time ms, Propagation delay ms

    (S) Transmission time ms, Propagation delay ms

    1. A.

      P, Q, R, S

    2. B.

      Q, P, R, S

    3. C.

      Q, R, P, S

    4. D.

      S, R, P, Q

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: Minimum window size for 100% utilization is , where .

    Step 1: Calculate for each link.

    • (P)
    • (Q)
    • (R)
    • (S)

    Step 2: Calculate .

    • (P)
    • (Q)
    • (R)
    • (S)

    Step 3: Rank in increasing order: Q (11), P (21), R (41), S (81).

    Answer: Q, P, R, S.

    Question 7 · Computer Networks MCQ

    A sliding-window protocol is designed for a link with a bandwidth of 10 Mbps and a round-trip propagation delay of 20 ms. The frame size is 2000 bits. What is the minimum number of bits required for the sequence number field to achieve full link utilization, assuming negligible acknowledgement transmission time?

    1. A.

      6

    2. B.

      8

    3. C.

      7

    4. D.

      9

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: Sequence number bits , where .

    Step 1: Calculate Transmission Time ().

    s = $0.2$ ms.

    Step 2: Determine one-way propagation delay ().

    Round-trip propagation delay = $20$ ms, so ms.

    Step 3: Calculate the ratio .

    .

    Step 4: Calculate .

    .

    Step 5: Calculate sequence number bits.

    . Since and , we need 7 bits.

    Answer: 7.

    Question 8 · Computer Networks MCQ

    For a sliding-window protocol to achieve 100% link utilization, the window size must satisfy . If the propagation delay is 10 ms and the transmission time is 5 ms, what is the minimum integer value of required?

    1. A.

      5

    2. B.

      4

    3. C.

      3

    4. D.

      10

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: Apply the minimum window size formula for 100% utilization.

    Exam route:

    1. Calculate the ratio .
    2. Apply the full utilization condition: .
    3. The minimum integer value for is 5.

    Answer: A

    Question 9 · Computer Networks MCQ

    In a CSMA/CD network, the maximum propagation delay between any two nodes is . What is the minimum transmission time required for a frame to guarantee that the sender can detect a collision, expressed as a multiple of ?

    1. A.

      1

    2. B.

      2

    3. C.

      4

    4. D.

      0.5

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a count_how_many question, recognisable because it asks for a specific multiple (a count of ) based on a protocol constraint.

    Step 1: Recall the fundamental rule of CSMA/CD: a sender can only detect a collision if it is still transmitting when the corrupted signal returns from the far end of the network.

    Step 2: The signal takes to travel to the far end. If a collision occurs there, the jammed signal takes another to travel back to the sender.

    Step 3: Therefore, the total round-trip time is .

    Step 4: The transmission time must be at least this round-trip time to guarantee detection. Thus, .

    Answer: The minimum transmission time required is 2 times .

    Question 10 · Computer Networks NAT

    A communication link has a bandwidth of 10 Mbps and a one-way propagation delay of 5 ms. The data frame size is 10,000 bits. Assuming the acknowledgement transmission time is negligible, what is the value of the parameter 'a' (the ratio of propagation delay to transmission time) for this link?

    Correct Answer:

    5.00

    Step-by-Step Solution

    Key idea: This is a language_to_math question, recognisable because it requires translating given link parameters into the standard 'a' ratio formula.

    Step 1: Calculate the transmission time () of the frame.

    .

    Step 2: Identify the one-way propagation delay (), which is given as 5 ms.

    Step 3: Calculate the parameter 'a' using the formula .

    .

    Answer: The value of 'a' is 5.

    More short notes in this unit