chapter

    Computer Networks Short Notes for Gate Cs

    GATE CS Computer Networks: 1 units and 6 chapters, weightage from 53 previous year questions across 10 papers, a study order by exam weight and 1440 practice

    A question from this chapter

    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

    An engineer states that a /28 CIDR block provides a minimum of 16 usable IP addresses for host interfaces. What is the actual number of usable IP addresses in a /28 block, and does this contradict the engineer's statement?

    Question 3
    Level 1: Warm-up

    Consider the Bellman-Ford equation . If node has exactly 4 direct neighbors, what is the minimum number of terms that must be evaluated in the function to compute the least cost path to a destination ?

    Question 4
    Level 1: Warm-up

    According to the rules of TCP sequence number consumption, which of the following statements are TRUE? (Select all that apply)

    Question 5
    Level 1: Warm-up

    Assertion (A): An HTTP GET request can only be sent by the host after the TCP three-way handshake is fully complete.

    Reason (R): The TCP three-way handshake (SYN, SYN-ACK, ACK) is required to establish a reliable connection before any application layer data, such as HTTP, can be transmitted.

    Question 6
    Level 1: Warm-up
    Assertion (A): A file of bytes is split into $1000$ packets of $1000$ bytes each and sent over two links each of bandwidth bps. The total transfer time is approximately $8$ seconds.

    Reason (R): The total time equals the time for the first packet to traverse both links plus the time for the remaining $999$ packets to exit the bottleneck 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.

    Computer Networks Short Notes for GATE CS

    GATE CS Computer Networks: 1 units and 6 chapters, weightage from 53 previous year questions across 10 papers, a study order by exam weight and 1440 practice questions.

    About Computer Networks Short Notes

    Quick revision sheets for Computer Networks in GATE CS. Every chapter is condensed into key formulas, shortcuts and common traps so you can revise 6 chapters fast before the exam.

    GATE CS Computer Networks Unit-wise Weightage from Past Papers

    We counted every GATE CS Computer Networks previous year question in our bank (53 questions from 10 papers) and grouped them by unit.

    UnitChaptersPYQsShare of sectionAvg per paper
    Computer Networks653100%5.3

    Suggested Computer Networks Study Order for GATE CS

    1. Computer Networks: 100% of past Computer Networks questions, about 5.3 per paper.

    Start where the marks are. Units at the top of this list have appeared most often in past GATE CS papers.

    Units in GATE CS Computer Networks

    All Computer Networks chapters

    One Solved Question from Each Computer Networks Chapter

    Question 1 · Network Models, Data Link Control, Error Detection and Multiple Access 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 · IPv4 Addressing, Subnetting, NAT and Fragmentation MCQ

    An engineer states that a /28 CIDR block provides a minimum of 16 usable IP addresses for host interfaces. What is the actual number of usable IP addresses in a /28 block, and does this contradict the engineer's statement?

    1. A.

      14, Yes

    2. B.

      16, No

    3. C.

      15, Yes

    4. D.

      14, No

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: This is a contradiction question, recognisable because it presents a claim about usable hosts and asks you to verify it against the standard CIDR formula, identifying any discrepancies.

    Exam route: For a /28 block, , so host bits . Total addresses = . Usable addresses = Total - 2 (Network and Broadcast) = . The engineer claimed 16 usable addresses, which is incorrect. Thus, the actual number is 14, and it contradicts the statement.

    Learning route:

    Step 1: Identify the prefix length: .

    Step 2: Calculate host bits: .

    Step 3: Calculate total addresses: .

    Step 4: Apply the minus-two rule for usable hosts: .

    Step 5: Compare with the engineer's claim (16). Since , the statement is contradicted.

    Answer: 14, Yes.

    Question 3 · Routing Protocols and Packet Forwarding MCQ

    Consider the Bellman-Ford equation . If node has exactly 4 direct neighbors, what is the minimum number of terms that must be evaluated in the function to compute the least cost path to a destination ?

    1. A.

      4

    2. B.

      5

    3. C.

      3

    4. D.

      1

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: The Bellman-Ford equation evaluates the minimum cost over the set of all direct neighbors of node .

    Step 1: Identify the number of direct neighbors of node , which is explicitly given as 4.

    Step 2: The function iterates over the set of direct neighbors . It does not include node itself, as a node is not its own neighbor.

    Step 3: Therefore, exactly 4 terms must be evaluated, one for each of the 4 neighbors.

    Answer: A

    Question 4 · TCP Connection Management, Reliability and Congestion Control MSQ

    According to the rules of TCP sequence number consumption, which of the following statements are TRUE? (Select all that apply)

    1. A.

      An ACK flag consumes $0$ sequence numbers.

    2. B.

      A SYN flag consumes $1$ sequence number.

    3. C.

      A data payload of bytes consumes sequence numbers.

    4. D.

      A FIN flag consumes $1$ sequence number.

    Correct Answer:

    ["A","B","D"]

    Step-by-Step Solution

    Key idea: Recall the exact consumption rules for TCP flags and data.

    Step 1: ACK flag consumes $0$ sequence numbers. (Option A is true)

    Step 2: SYN flag consumes $1$ sequence number. (Option B is true)

    Step 3: Data payload of $N$ bytes consumes exactly $N$ sequence numbers, not $N+1$. (Option C is false)

    Step 4: FIN flag consumes $1$ sequence number. (Option D is true)

    Answer: A, B, D

    Question 5 · Application Layer Protocols and Web Communication MCQ

    Assertion (A): An HTTP GET request can only be sent by the host after the TCP three-way handshake is fully complete.

    Reason (R): The TCP three-way handshake (SYN, SYN-ACK, ACK) is required to establish a reliable connection before any application layer data, such as HTTP, can be transmitted.

    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:

    A

    Step-by-Step Solution

    Key idea: HTTP relies on TCP, and TCP requires a completed three-way handshake before data transmission.

    Step 1: Evaluate Assertion (A): True. The HTTP GET request is an application layer message that requires a reliable TCP connection.

    Step 2: Evaluate Reason (R): True. The TCP three-way handshake (SYN, SYN-ACK, ACK) establishes this reliable connection.

    Step 3: Check the link: R correctly explains why A is true, because HTTP cannot be sent until the reliable connection is established.

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

    Question 6 · Network Delay, Throughput and End-to-End Performance MCQ
    Assertion (A): A file of bytes is split into $1000$ packets of $1000$ bytes each and sent over two links each of bandwidth bps. The total transfer time is approximately $8$ seconds.

    Reason (R): The total time equals the time for the first packet to traverse both links plus the time for the remaining $999$ packets to exit the bottleneck link.
    1. A.

      Both A and R are true and R correctly explains A

    2. B.

      Both A and R are true but R does not correctly explain A

    3. C.

      A is true but R is false

    4. D.

      A is false but R is true

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: Use the pipelining formula for multiple packets. Verify the assertion by calculation, then check if the reason correctly explains it.

    Step 1: Packet size bytes bits. Number of packets .

    Step 2: Both links have bandwidth bps, so bottleneck bps.

    Step 3: Time for first packet s.

    Step 4: Time for remaining $999$ packets s.

    Step 5: Total time s s. Assertion A is TRUE.

    Step 6: Reason R states the correct pipelining formula. R is TRUE and correctly explains A.

    Answer: Both A and R are true and R correctly explains A (Option A).