TGPSC HMWSSB Manager Computer Networks previous year questions with answers
Every Computer Networks question asked in the TGPSC HMWSSB Manager (Engineering) papers on this site, grouped by topic. Answers come from TSPSC's final key; each has a short explanation (free here for a sample, all of them in the practice app).
Practise Computer Networks onlineNetwork Models & Data Link Layer
The maximum window size for data transmission using selective reject protocol with n-bit frame sequence is
- 2ⁿ
- 2ⁿ⁻¹
- 2ⁿ − 1
- 2ⁿ⁻²
Show answer
Answer: (2) 2ⁿ⁻¹
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
In Ethernet when Manchester encoding is used, the bit rate is
- Half the baud rate
- Twice the baud rate
- Same as the baud rate
- Thrice the baud rate
Show answer
Answer: (1) Half the baud rate
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
In a network of LANs connected by bridges, packets are sent from one LAN to another through intermediate bridges. Since more than one may exist between two LANs, packets may have to be routed through multiple bridges. Why is the spanning tree algorithm used for bridge-routing?
- For shortest path routing between LANs
- For avoiding loops in the routing paths
- For fault tolerance
- For minimizing collisions
Show answer
Answer: (2) For avoiding loops in the routing paths
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
In CSMA/CD, after the 4th collision, what is the probability that the node will attempt to retransmit immediately?
- 0.0625
- 0.5
- 0.125
- 0.25s
Show answer
Answer: (1) 0.0625
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
Consider the following code with four valid code words: 0000000000 0000011111 1111100000 1111111111 Which of the following is correct sequence of hamming distance of the above code and the number of bit errors that can be corrected using the above code?
- 4,2
- 5,2
- 5,3
- 4,3
Show answer
Answer: (2) 5,2
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
Error detection at the data link level is achieved by
- bit stuffing
- cyclic redundancy codes
- hamming codes
- equalization
Show answer
Answer: (2) cyclic redundancy codes
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
In the carrier sense network if the prevailing condition is a 'channel busy', then which of the following statements is correct?
- Non-persistent CSMA results in randomized wait and sense
- With 1-persistent CSMA, the channel is continually sensed
- p-persistent CSMA results in randomized retransmission
- Non-persistent CSMA does not sense the channel
Show answer
Answer: (2) With 1-persistent CSMA, the channel is continually sensed
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
A bit string, 0111101111101111110, needs to be transmitted at the data link layer. What is the string actually transmitted after the bit stuffing?
- 011110111110011111100
- 011110111110011111010
- 011110111110111111000
- 011110011111011111100
Show answer
Answer: (2) 011110111110011111010
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
A channel has a bit rate of 4000 bps and a propagation delay of 20 msec. For what range of frame sizes(S) (in number of bits) does stop-and-wait protocol give an efficiency of at least 50 percent?
- S ≤ 160
- S ≥ 160
- 80 ≤ S ≤ 160
- S ≥ 40, 20 ≤ S ≤ 30
Show answer
Answer: (2) S ≥ 160
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
Which of the following sliding window protocols has the receiver window size more than 1?
- Stop-and-wait protocol
- One-bit window protocol
- Go-Back-N protocol
- Selective Repeat protocol
Show answer
Answer: (4) Selective Repeat protocol
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
Consider building a CSMA/CD network running at 1 Gbps over a 1-km cable with no repeaters. The signal speed in the cable is 200,000 km/sec. What is the minimum frame size?
- 10⁶ bits
- 64 bytes
- 1250 bytes
- 125 bytes
Show answer
Answer: (3) 1250 bytes
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
IP Addressing & Routing
An organization has a class B network and wishes to form subnets for 64 departments. The subnet mask would be:
- 255.255.0.0
- 255.255.64.0
- 255.255.128.0
- 255.255.252.0
Show answer
Answer: (4) 255.255.252.0
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
The subnet mask for a particular network is 255.255.31.0. Which of the following pairs of IP addresses could belong to this network
- 172.57.88.62 and 172.56.87.233
- 10.35.28.2 and 10.35.29.4
- 191.203.31.87 and 191.234.31.88
- 128.8.129.43 and 128.8.161.55
Show answer
Answer: (4) 128.8.129.43 and 128.8.161.55
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
In an IPv4 datagram, the M bit is 0, the value of HLEN is 10, the value of total length is 400 and the fragment offset value is 300. The position of the datagram, the sequence numbers of the first and the last bytes of the payload, respectively are
- Last fragment, 2400 and 2789
- First fragment, 2400 and 2759
- Last fragment, 2400 and 2759
- Middle fragment, 300 and 689
Show answer
Answer: (3) Last fragment, 2400 and 2759
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
A computer on a 10 Mbps network is regulated by a token bucket. The token bucket is filled at a rate of 2Mbps. It is initially filled to capacity with 16 Megabits. What is the maximum duration for which the computer can transmit at the full 10 Mbps?
- 1.6 sec
- 2 sec
- 5 sec
- 8 sec
Show answer
Answer: (2) 2 sec
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
Which one of the following statements is incorrect about Count-to-infinity problem?
- It reacts rapidly to good news
- It reacts slowly to good news
- It reacts leisurely to bad news
- Distance Vector Routing suffers from Count-to-infinity problem
Show answer
Answer: (2) It reacts slowly to good news
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
A network on the Internet has a subnet mask of 255.255.240.0. What is the maximum number of hosts it can handle?
- 4096
- 3556
- 4080
- 4094
Show answer
Answer: (4) 4094
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
Dynamic Host Configuration Protocol (DHCP) is used to:
- assign CIDR subnet masks to routers
- allocate the host part of an IP address to a host
- assign the network component of an IP address to a router
- manage the assignment of MAC addresses
Show answer
Answer: (2) allocate the host part of an IP address to a host
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
Transport & Application Layers
Which of the following is not a client-server application
- Internet chat
- Web browsing
- Ping
Show answer
Answer: (4) Ping
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
Which of the following functionalities must be implemented by a transport protocol over and above the network protocol?
- Recovery from packet losses
- Detection of duplicate packets
- Packet delivery in the correct order
- End to end connectivity
Show answer
Answer: (4) End to end connectivity
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
What is the maximum size of data that the application layer can pass on to the TCP layer below?
- Any size
- 2¹⁶ bytes-size of TCP header
- 2¹⁶ bytes
- 1500 bytes
Show answer
Answer: (1) Any size
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
Consider different activities related to email m1: Send an email from a mail client to a mail server m2: Download an email from mailbox server to a mail client m3: Checking email in a web browser What is the application level protocol used in each activity?
- M1:HTTP m2: SMTP m3:POP
- m1:HSMTP m2: FTP m3:HTTP
- m1:SMTP m2: POP m3:HTTP
- m1:POP m2: SMTP m3: IMAP
Show answer
Answer: (3) m1:SMTP m2: POP m3:HTTP
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
Which of the following statements is FALSE?
- HTTP runs over TCP
- HTTP describes the structure of web pages
- HTTP allows information to be stored in URL
- HTTP can be used to test the validity of a hypertext link
Show answer
Answer: (2) HTTP describes the structure of web pages
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
Which of the following statements is false about DNS?
- DNS uses TCP for its implementation
- DNS uses both TCP and UDP for its implementation.
- DNS is implemented as a distributed database system.
- DNS maps internet domain name onto the IP address.
Show answer
Answer: (1) DNS uses TCP for its implementation
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.
Consider a transport layer with maximum segment size as 1KB. Also, consider at a particular point of time, the parameters receiver's window, congestion window are set to 1024KB, 256KB respectively, at which time, the transmission of a packet resulted in a timeout. What will be the values of congestion window and threshold respectively for the next transmission?
- 1024KB, 256KB
- 1KB, 128KB
- 1KB,256KB
- 1024KB, 128Kb
Show answer
Answer: (2) 1KB, 128KB
Explanation: open it in the practice app. It needs the ₹149 All-in-One Pass: one payment for every exam on the site.