The Wayback Machine - https://web.archive.org/web/20240901105425/https://www.geeksforgeeks.org/computer-networks-set-9/
Open In App

Computer Networks | Set 9

Last Updated : 13 Dec, 2022
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Following questions have been asked in GATE CS 2007 exam. 

1) Which one of the following uses UDP as the transport protocol? 
(A) HTTP 
(B) Telnet 
(C) DNS 
(D) SMTP 

Answer (C) 
DNS primarily uses User Datagram Protocol (UDP) on port number 53 to serve requests. DNS queries consist of a single UDP request from the client followed by a single UDP reply from the server. 

2) In Ethernet when Manchester encoding is used, the bit rate is: 
(A) Half the baud rate. 
(B) Twice the baud rate. 
(C) Same as the baud rate. 
(D) none of the above 

Answer (A) 
In Manchester encoding, the bitrate is half of the baud rate. 

3) There are n stations in a slotted LAN. Each station attempts to transmit with a probability p in each time slot. What is the probability that ONLY one station transmits in a given time slot? 
(A) (1-p)^(n-1) 
(B) np(1-p)^(n-1) 
(C) p(1-p)^(n-1) 
(D) 1-(1-p)^(n-1) 

Answer (B) 
The probability that a particular station transmits and no body else transmits = p*(1-p)^(n-1) 
The probability that any station can transmit = n*(probability that a particular station transmits) = n*p*(1-p)^(n-1). See this for details. 

4) In a token ring network the transmission speed is 10^7 bps and the propagation speed is 200 meters/micro second. The 1-bit delay in this network is equivalent to: 
(A) 500 meters of cable. 
(B) 200 meters of cable. 
(C) 20 meters of cable. 
(D) 50 meters of cable. 

Answer (C) 
Transmission delay for 1 bit t = 1/(10^7) = 0.1 micro seconds. 
200 meters can be traveled in 1 micro second. Therefore, in 0.1 micro seconds, 20 meters can be traveled. 

Please see GATE Corner for all previous year paper/solutions/explanations, syllabus, important dates, notes, etc. 

Please write comments if you find any of the answers/explanations incorrect, or you want to share more information about the topics discussed above
 



Similar Reads

Computer Networks | Set 5
Following questions have been asked in GATE CS 2005 exam. 1) Packets of the same session may be routed through different paths in: (a) TCP, but not UDP (b) TCP and UDP (c) UDP, but not TCP (d) Neither TCP nor UDP Answer (b) Packet is the Network layer Protocol Data Unit (PDU). TCP and UDP are Transport layer protocols. Packets of same session may b
2 min read
Computer Networks | Set 3
Following Questions have been asked in GATE 2011 CS exam. 1) A layer-4 firewall ( a device that can look at all protocol headers up to the transport layer) CANNOT (A) block HTTP traffic during 9:00PM and 5:00AM (B) block all ICMP traffic (C) stop incoming traffic from a specific IP address but allow outgoing traffic to same IP (D) block TCP traffic
3 min read
Computer Networks | Set 12
Following questions have been asked in GATE CS 2009 exam. 1) Let G(x) be the generator polynomial used for CRC checking. What is the condition that should be satisfied by G(x) to detect odd number of bits in error? (A) G(x) contains more than two terms (B) G(x) does not divide 1+x^k, for any k not exceeding the frame length (C) 1+x is a factor of G
2 min read
Computer Networks | Set 6
Following questions have been asked in GATE CS 2005 exam. 1) An organization has a class B network and wishes to form subnets for 64 departments. The subnet mask would be: (a) 255.255.0.0 (b) 255.255.64.0 (c) 255.255.128.0 (d) 255.255.252.0 Answer (d) The size of network ID is 16 bit in class B networks. So bits after 16th bit must be used to creat
4 min read
Computer Networks | Set 7
Following questions have been asked in GATE CS 2008 exam. 1) Which of the following system calls results in the sending of SYN packets? (A) socket (B) bind (C) listen (D) connect Answer (D) socket() creates a new socket of a certain socket type, identified by an integer number, and allocates system resources to it. bind() is typically used on the s
3 min read
Computer Networks | Set 8
Following questions have been asked in GATE CS 2008 exam. 1) What is the maximum size of data that the application layer can pass on to the TCP layer below? (A) Any size (B) 2^16 bytes-size of TCP header (C) 2^16 bytes (D) 1500 bytes Answer (A) Application layer can send any size of data. There is no limit defined by standards. The lower layers div
2 min read
Computer Networks | Set 10
Following questions have been asked in GATE CS 2007 exam. 1) The address of a class B host is to be split into subnets with a 6-bit subnet number. What is the maximum number of subnets and the maximum number of hosts in each subnet? (A) 62 subnets and 262142 hosts. (B) 64 subnets and 262142 hosts. (C) 62 subnets and 1022 hosts. (D) 64 subnets and 1
4 min read
Computer Networks | Set 11
Following questions have been asked in GATE CS 2006 exam. 1) Station A uses 32 byte packets to transmit messages to Station B using a sliding window protocol. The round trip delay between A and B is 80 milliseconds and the bottleneck bandwidth on the path between A and B is 128 kbps. What is the optimal window size that A should use? (A) 20 (B) 40
3 min read
Computer Networks | Set 14
This question for practice purpose for GATE CS Exam. Ques-1: Which of the following is not true about 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. Explanation: In Subnetting bits are borrowed from
2 min read
Computer Networks | Set 13
These questions for practice purpose for GATE CS Exam. Ques-1: How many bits are allocated for network id (NID) and host id(HID) in the IP address 25.193.155.233? (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 Explanation: It is class A IP address and you know, that class A has 24
3 min read
Computer Networks | Set 2
In this article, we are going to see the questions of GATE's previous year's questions of CN. An explanation of each question is also mentioned in this article. 1. The protocol data unit(PDU) for the application layer in the Internet stack is [GATE CSE 2012] (A) Segment (B) Datagram (C) Message (D) Frame Solution: (C) The Protocol Data Unit for the
5 min read
Computer Networks | Set 4
Following Questions have been asked in GATE 2010 CS exam. 1) One of the header fields in an IP datagram is the Time to Live (TTL) field. Which of the following statements best explains the need for this field? (A) It can be used to prioritize packets (B) It can be used to reduce delays (C) It can be used to optimize throughput (D) It can be used to
4 min read
Commonly asked Computer Networks Interview Questions | Set 1
What are Unicasting, Anycasting, Multicasting and Broadcasting? If the message is sent from a source to a single destination node, it is called Unicasting. This is typically done in networks. If the message is sent from a source to any of the given destination nodes. This is used a lot in Content delivery Systems where we want to get content from a
4 min read
Computer Networks - GATE CSE Previous Year Questions
Solving GATE Previous Year's Questions (PYQs) not only clears the concepts but also helps to gain flexibility, speed, accuracy, and understanding of the level of questions generally asked in the GATE exam, and that eventually helps you to gain good marks in the examination. Previous Year Questions help a candidate practice and revise for GATE, whic
4 min read
Computer Networks | IP Addressing | Question 5
If subnet mask 255.255.255.224, which of the following will be Direct Broadcast address ? (A) 202.15.19.127 (B) 202.15.19.63 (C) Both a and b (D) None of the Above Answer: (C) Explanation: Subnet mask is   255.255.255.11100000 In DBA all host bits are 1. from option 202.15.19.011 11111 , this can be a DBA. 202.15.19.001 11111 ,this can also be a DB
1 min read
Computer Networks | IP Addressing | Question 6
Which of the following is public IP address ? (A) 10.15.14.12 (B) 192.168.52.62 (C) 172.32.1.1 (D) None of the Above Answer: (C) Explanation: Range of Private IP 10.0.0.0 - 10.255.255.255 172.16.0.0 - 172.31.255.255 192.168.0.0 - 192.168.255.255 Option C doesn't belong to this rangeQuiz of this Question
1 min read
Congestion Control techniques in Computer Networks
Congestion control refers to the techniques used to control or prevent congestion. Congestion control techniques can be broadly classified into two categories: Open Loop Congestion Control Open loop congestion control policies are applied to prevent congestion before it happens. The congestion control is handled either by the source or the destinat
5 min read
End to End Encryption (E2EE) in Computer Networks
What is Encryption? Have you ever wondered how our emails, texts, photos, videos are sent over the Internet? Whenever you send anything over the Internet, it passes through a lot of servers, routers, and other devices where anyone can intercept it and get access to your private information. Thus, to tackle such mishap, encryption was introduced. In
2 min read
Introduction of Botnet in Computer Networks
A Network of compromised computers is called a botnet. Compromised computers are also called Zombies or Bots. This software is mostly written in C++ & C. The main motive of botnet is that it starts with the dark side of the internet which introduced a new kind of Crime called Cybercrime. Among the malware (malicious software) botnet is the most
5 min read
Access Control Tactics in Computer Networks
Discretionary Access Control: Discretionary Access Control grants or restricts object access determined by the object’s owner. Controls are discretionary because an object owner with certain access permissions can pass on those permissions to another subject. In systems that utilize discretionary access controls, the owner of an object can choose w
2 min read
Difference between Ring Topology and Bus Topology in Computer Networks
1. Ring Topology: In Ring topology, there is a circular data path. Each of the devices is connected to two other devices in the network. Data is transmitted from sender to receiver by passing it from one device to another until the receiver device is reached. If any of the connection is broken then the whole network crashes because they are connect
3 min read
Forward Error Correction in Computer Networks
Forward Error Correction (FEC) is a technique used to minimize errors in data transmission over communication channels. In real-time multimedia transmission, re-transmission of corrupted and lost packets is not useful because it creates an unacceptable delay in reproducing : one needs to wait until the lost or corrupted packet is resent. Thus, ther
3 min read
List of "Difference Between" Computer Networks Topics
Computer Network is a set of devices or systems that shares resources through links and it can be defined as a collection of nodes. A node can be any device capable of transferring or receiving data. The communicating nodes need to be connected by communication links. A computer network refers to interconnected computing devices that can interchang
4 min read
What is Traffic Throttling in Computer Networks?
A network is made by connecting various devices either through ethernet or by connecting them wirelessly. When the performance of the network reduces due to the availability of so many packets in the subnet it is known as congestion. If the size of the router is small it leads to congestion and even if the size is large it takes more time for the p
4 min read
What is Load Shedding in Computer Networks?
A network consists of various devices or resources. Each resource is assigned to perform a particular task. Sometimes the available resources are more but the task or load to be performed is less whereas sometimes it is completely opposite. In such scenarios when the load is more as compared to the available resources in the network it is known as
4 min read
Microwaves in Computer Networks
Data transfer speed and reliability are two main contexts of the realm of computer networks. In the modern days, microwave connectivity medium has gained popularity for its blazing fast data transmission capability and reliability. Microwaves are nothing but a special type of electromagnetic spectrum. Microwaves are used in various computer applica
4 min read
Line Configuration in Computer Networks
A network is two or more devices connected through a link. A link is a communication pathway that transfers data from one device to another. Devices can be a computer, printer, or any other device that is capable to send and receive data. For visualization purposes, imagine any link as a line drawn between two points. For communication to occur, tw
9 min read
Payload in Computer Networks
Payload During the transmission of the data with the Internet Protocol from the sender to receiver. Data is sent in terms of packets and individual packets contain a header and the data which is sent by the sender this data is called Payload. Headers are appended to the payload for transport and then discarded when they successfully reach their des
2 min read
Piggybacking in Computer Networks
Pre-Requisite: Transmission Mode in Computer Networks Piggybacking is the technique of delaying outgoing acknowledgment and attaching it to the next data packet.  When a data frame arrives, the receiver waits and does not send the control frame (acknowledgment) back immediately. The receiver waits until its network layer moves to the next data pack
5 min read
Latency vs Jitter in Computer Networks
There are two vital concepts in the world of networking and telecommunications that are used frequently, latency and jitter. There are, on the other hand, two separate components of data transmission efficiency. LatencyIt refers to the time it takes for data to go from the origin to the destination. This delay encompasses various factors such as: P
4 min read