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 dx(y)=minv(c(x,v)+dv(y)). If node x has exactly 4 direct neighbors, what is the minimum number of terms that must be evaluated in the min function to compute the least cost path to a destination y?
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 106 bytes is split into $1000$ packets of $1000$ bytes each and sent over two links each of bandwidth 106 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 practice questions and solutions
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.
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.
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 Practice Questions
1440 practice questions for Computer Networks in GATE CS, sorted chapter by chapter and graded from basic to exam level, each with a full solution.
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.
One Solved Question from Each Computer Networks Chapter
Question 1 · Network Models, Data Link Control, Error Detection and Multiple AccessMCQ
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?
A.
Both A and R are true and R is the correct explanation of A.
B.
Both A and R are true but R is not the correct explanation of A.
C.
A is true but R is false.
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 FragmentationMCQ
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?
A.
14, Yes
B.
16, No
C.
15, Yes
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, k=28, so host bits h=32−28=4. Total addresses = 24=16. Usable addresses = Total - 2 (Network and Broadcast) = 16−2=14. 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: k=28.
Step 2: Calculate host bits: h=32−28=4.
Step 3: Calculate total addresses: 24=16.
Step 4: Apply the minus-two rule for usable hosts: 16−2=14.
Step 5: Compare with the engineer's claim (16). Since 14=16, the statement is contradicted.
Answer: 14, Yes.
Question 3 · Routing Protocols and Packet ForwardingMCQ
Consider the Bellman-Ford equation dx(y)=minv(c(x,v)+dv(y)). If node x has exactly 4 direct neighbors, what is the minimum number of terms that must be evaluated in the min function to compute the least cost path to a destination y?
A.
4
B.
5
C.
3
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 v of node x.
Step 1: Identify the number of direct neighbors of node x, which is explicitly given as 4.
Step 2: The min function iterates over the set of direct neighbors v. It does not include node x 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 ControlMSQ
According to the rules of TCP sequence number consumption, which of the following statements are TRUE? (Select all that apply)
A.
An ACK flag consumes $0$ sequence numbers.
B.
A SYN flag consumes $1$ sequence number.
C.
A data payload of N bytes consumes N+1 sequence numbers.
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 CommunicationMCQ
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.
A.
Both A and R are true, and R is the correct explanation of A.
B.
Both A and R are true, but R is NOT the correct explanation of A.
C.
A is true, but R is false.
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 PerformanceMCQ
Assertion (A): A file of 106 bytes is split into $1000$ packets of $1000$ bytes each and sent over two links each of bandwidth 106 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.
A.
Both A and R are true and R correctly explains A
B.
Both A and R are true but R does not correctly explain A
C.
A is true but R is false
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 L=1000 bytes =8000 bits. Number of packets P=1000.
Step 2: Both links have bandwidth R=106 bps, so bottleneck =106 bps.
Step 3: Time for first packet =2×8000/106=0.016 s.
Step 4: Time for remaining $999$ packets =999×8000/106=7.992 s.
Step 5: Total time =0.016+7.992=8.008 s ≈8 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).