Table of Contents
Computer Networks Gate Questions
Computer Networks is one of the most important subject for GATE CS/IT Exam. Every year some questions are asked from Computer Networks in GATE ( CS/IT) Exam.
Here in this post we are going to discuss some computer networks gate questions. These computer networks questions asked in previous years GATE Exam. Try to solve these computer networks gate questions. If you have any problem in any questions then please write it in comment. I will try to clear your doubt with proper explanation.
Prerequisites
Since Computer Networks is a core subject of computer science branch. Computer networks is not only important from GATE(CS/IT), CCNA or UGC NET (CS) exam point of view but also important for technical interview specially for system administrator, network engineer job profile.
A computer science graduate should have the knowledge of computer networks concepts before attempting these computer networks questions. You may prefer computer networks tutorials to study computer networks subjects.
Students can see the gate cse syllabus 2020 of computer networks subject for GATE (CS/IT) exam.
Here in this tutorial we will see some computer networks gate questions asked in previous years.
Q1. Tell that Which among the following option is not correct about internet Protocol (IP) ?
(A) Can a computer have more than one IP addresses.
(B) Can IP packets take different routes in the network from the same source to the same destination .
(C) Does IP ensures that a packet is forwarded if it is unable to reach its destination within a given number of hopes ?
(D) Source of the packet cannot set the route for outgoing packets.
Answer: D
Q2.Which among the following is true about transport protocol ?
(A)It provides Recovery from packet losses
(B)It Detects duplicate packets
(C)It ensures the Packet delivery in the correct order
(D)It ensure End to end connectivity
Ans: D
Q3.Subnet mask for a particular network is 255.255.31.0 then tell about Which pairs of IP addresses could belong to this network ?
(A)172.57.88.62 and 172.56.87.23.2
(B)10.35.28.2 and 10.35.29.4
(C)191.203.31.87 and 191.234.31.88
(D)128.8.129.43 and 128.8.161.55
Ans: D
Q4. Which system call among the following results as sending SYN Packet? ( GATE 2008)
(a) socket()
(b) bind()
(c) listen()
(d) connect()
And : d, connect() system call is used at client side and assign a free local port number to a socket, it causes an attempt to establish a new TCP connection.
Q5. Length of a Broadcast LAN is 2 Km and it has 107 bps bandwidth and uses CSMA/CD. It is given that signal travels along the wire at 2108m/s. Then what is the minimum size of the packet?
(A)50 bytes (B) 100 bytes
(C)200 bytes (D) None of the above
Ans: D
Q6. If Node A transmits data to node B using a full duplex link. Sizes of sender and receiver windows are are 5 packets each. If size of Data packets sent from A to B is 1000 bytes long. Given that transmission time for a packet is 50 µs . If A and B use sliding window protocol. Acknowledgment packets send from B to A are very small and require negligible transmission time. You can ignore it. If the propagation delay is 200 µs. Then find out the maximum throughput in this system?
(A)7 69 10 . 6 # bps (B) 11 11 10 . 6 # bps
(C)12 33 10 . 6 # bps (D) 15 00 10 . 6 # bps
Answer: B
Q7.Which is the false statement about bridge and a router ?
(A)Router and bridge selectively transmit data packets
(B)Router uses MAC address or bridge use IP Address
(C)Routing table of bridge is made on the inspection of incoming packets.
(D)LAN and WAN can connected through router.
Q8. If a class B IP address ahas the subnet mask 255.255.248.0 then How many maximum host will be possible in the network? ( GATE 2008)
(a) 1022
(b) 1023
(c) 2046
(d) 2047
Answer : C, In class B 16 bits are reserved for hots id, but since if the masl given in the question 255.255.248.0 is used then this can be written as 11111111.11111111.11111000.00000000 in binary
and Five bits are used for subnet so remaining 11 bits will e used for host. and since 2 are reserved so maximum possible host in this network will be (2^11-2) = 2048-2= 2046.
Q9. Find out the number of 8-bit characters that can be transmitted per second over a 9600 baud serial communication link which use asynchronous mode of transmission with 8 data bits, one start bit and one parity bit ?
(A)600 (B) 800
(C) 876 (D) 1200
Ans: B
Q10. If there are two station A and B on an Ethernet.Station A and B has some frames to be send stored in a queue. Both A and B wants to transmit a frame, collide, and A wins the first backoff race,When A successfully transmit then A and B attempt to transmit and collision occurs.Calculate the probability of A to win the backoff race 2.
(A)0.5 (B) 0.625
(C)0.75 (D) 1.0
Q11. Consider the given routing table
Destination Subnet Mask Interface
128.75.43.0 255.255.255.0 Ethernet 0
128.75.43.0 255.255.255.128 Ethernet 1
192.12.17.5 255.255.255.255 Ethernet 3
default Ethernet 2
which interface will the router transmits packets addressed to destinations 128.75.43.16 and 192.12.17.10 respectively ?
(A)Ethernet 1 and Ethernet 2 (B) Ethernet 0 and Ethernet 2
(C) Ethernet 0 and Ethernet 3 (D) Ethernet 1 and Ethernet 3
Ans: A
Q12. In the starting phase of TCP congestion control algorithm size of congestion control window ( GATE 2008)
(a) Increase
(b) Does not increase
(c) Increase Linearly
(d) Increase Exponentially
Answer : d, window size increase by the number of segment acknowledge.
Q13. If a University has a class B network and university need to form subnets for 64 departments. Then what will be the subnet mask.
(A)255.255.0.0 (B) 255.255.64.0
(C)255.255.128.0 (D) 255.255.252.0
Ans: D
Q14. Which one of the following use the UDP as Transport Layer Protocol ? ( GATE 2007)
(a) HTTP
(b) TELNET
(c) SMTP
(d) DNS
Answer: d, Domain Name System use UDP at port no 53 to server request. This works in single request and single reply manner.
See the difference between http and ftp protocol.
Q15. When Manchester Encoding is used then what is bit rate?
(a) Half the Baud rate
(b) Double the Baud rate
(c) Same as baud rate
(d) None
Answer : A,
Q16.If a Class B IP address is split into subnet and 6 bits are used for subnet. What is maximum number of subnet and hosts per subnet ? ( GATE 2007)
(a) 62 subnets and 262142 hosts
(b) 64 subnets and 262142 hosts
(c) 62 subnets and 1022 hosts
(d) 64 subnets and 1024 hosts
Answer: C,
Q17. Match the following (GATE 2007)
(P) SMTP (1) Application layer
(Q) BGP (2) Transport layer
(R) TCP (3) Data link layer
(S) PPP (4) Network layer
(5) Physical layer
(A) P – 2 Q – 1 R – 3 S – 5
(B) P – 1 Q – 4 R – 2 S – 3
(C) P – 1 Q – 4 R – 2 S – 5
(D) P – 2 Q – 4 R – 1 S – 3
Answer: B.
See different network layer protocols
Q18. Consider the IP address 25.193.155.233. How many bits are there in Network Id and Host Id ?
(A) 24 bit for NID, 8 bits for HID
(B) 8 bit for NID, 24 bits for HID
(C) 16 bit for NID, 16 bits for HID
(D) none
Answer: B
Given IP address belong to Class A IP address and Class A IP address has 8 bits for Network Id and 24 bits for Host Id.
Q19.Find the wrong statement among the following related to Subnetting?
(A) It can be applied only for single network.
(B) It is used to improve security.
(C) Here, bits are borrowed from network ID portion.
(D) Here, bits are borrowed from host ID portion.
Answer :C
Q20. Logical addressing system is used by which device ?
(A) Hub
(B) Switch
(C) bridge
(D) Router
Answer : D
Conclusion and Summary
Different computer network gate questions were discussed here in this post. Questions were based on following topic
- IP address classes and sub netting.
- Sliding Window protocol.
- Transport and network layer protocol.
Some more computer networks gate questions will be in the next post. I hope that these computer networks gate questions will be helpful to you. So practice these computer networking mcq.