2019 question paper
Computer Networks
22 questions
Q1a. This layer is an addition to OSI model when compared with TCP/IP model: (i) Application layer (ii) Presentation layer (iii) Session layer (iv) Both session layer and presentation layer20192m
Module 1: Physical Layer & Data Communication
View this question on its own page →This layer is an addition to OSI model when compared with TCP/IP model:
(i) Application layer
(ii) Presentation layer
(iii) Session layer
(iv) Both session layer and presentation layerWorked SolutionAnswer
(iv) Both Session layer and Presentation layer
Explanation
The OSI model has 7 layers:
- Physical
- Data Link
- Network
- Transport
- Session
- Presentation
- Application
The traditional TCP/IP model has fewer layers. Its Application layer combines the responsibilities of the OSI Application, Presentation, and Session layers.
Therefore, when comparing the two models, the Session and Presentation layers are separate layers in OSI but are not separate layers in the traditional TCP/IP model.
Option analysis
- (i) Application: Exists in both models, although its scope differs.
- (ii) Presentation: Separate in OSI; its functions are incorporated into TCP/IP's Application layer.
- (iii) Session: Separate in OSI; its functions are incorporated into TCP/IP's Application layer.
- (iv) Both session layer and presentation layer: Correct.
Final answer: (iv) Both session layer and presentation layer.
Q1b. Application layer is implemented on: (i) end systems (ii) NIC (iii) ethernet (iv) route20192m
Module 5: Application Layer & Security
View this question on its own page →Application layer is implemented on:
(i) end systems
(ii) NIC
(iii) ethernet
(iv) routeWorked SolutionAnswer
(i) End systems
Explanation
The Application layer contains protocols and services used directly by network applications such as HTTP, SMTP, DNS, and FTP. These application processes run on end systems (hosts) rather than on intermediate forwarding devices such as routers or switches.
Final answer: (i) end systems.
Q1c. Which of the following is not applicable for IP? (i) Error reporting (ii) Handle addressing conventions (iii) Datagram format (iv) Packet handling conventions20192m
Module 3: Network Layer & Routing
View this question on its own page →Which of the following is not applicable for IP?
(i) Error reporting
(ii) Handle addressing conventions
(iii) Datagram format
(iv) Packet handling conventionsWorked SolutionAnswer
(i) Error reporting
Explanation
IP is responsible for logical addressing, packet/datagram format, and packet handling/routing conventions. However, IP itself is a connectionless best-effort delivery protocol and does not provide error reporting as a core IP function.
Error reporting for IP-related delivery problems is provided by ICMP (Internet Control Message Protocol), which works alongside IP.
Therefore, among the given choices, error reporting is not directly an IP function.
Final answer: (i) Error reporting.
Q1d. Which one of the following is not a function of network layer? (i) Routing (ii) Inter-networking (iii) Congestion control (iv) None of the above20192m
Module 3: Network Layer & Routing
View this question on its own page →Which one of the following is not a function of network layer?
(i) Routing
(ii) Inter-networking
(iii) Congestion control
(iv) None of the aboveWorked SolutionAnswer
(iv) None of the above
Explanation
All three listed functions can be associated with the Network layer:
- Routing: Determines suitable paths for packets through an internetwork.
- Internetworking: IP provides communication across interconnected networks.
- Congestion control: Network-layer mechanisms and protocols can participate in congestion management, although congestion control is also handled at the Transport layer in systems such as TCP.
Therefore, none of options (i), (ii), or (iii) is the intended answer as a non-function.
Final answer: (iv) None of the above.
Q1e. For a 10 Mbps Ethernet link, if the length of the packet is 32 bits, the transmission delay is (in milliseconds): (i) 3.2 (ii) 32 (iii) 0.32 (iv) None of the above20192m
Module 1: Physical Layer & Data Communication
View this question on its own page →For a 10 Mbps Ethernet link, if the length of the packet is 32 bits, the transmission delay is (in milliseconds):
(i) 3.2
(ii) 32
(iii) 0.32
(iv) None of the aboveWorked SolutionAnswer
(iv) None of the above
Calculation
Transmission delay is:
where is packet length and is transmission rate.
Given:
- bits
- Mbps bits/s
Therefore:
s.Convert to milliseconds:
ms.None of the listed numerical options equals 0.0032 ms.
Final answer: (iv) None of the above.
Q1f. Transmission delay does not depend on: (i) packet length (ii) distance between the routers (iii) transmission rate (iv) None of the above20192m
Module 1: Physical Layer & Data Communication
View this question on its own page →Transmission delay does not depend on:
(i) packet length
(ii) distance between the routers
(iii) transmission rate
(iv) None of the aboveWorked SolutionAnswer
(ii) Distance between the routers
Explanation
Transmission delay is the time required to push all packet bits onto the link:
.It depends on:
- = packet length
- = transmission rate
It does not depend on physical distance between routers. Distance affects propagation delay, which is approximately:
.Therefore, the correct answer is (ii) Distance between the routers.
Remember
Transmission delay → packet size + link rate
Propagation delay → distance + propagation speed
Q1g. In TCP, sending and receiving data is done as: (i) stream of bytes (ii) sequence of characters (iii) lines of data (iv) packets20192m
Module 4: Transport Layer & Congestion Control
View this question on its own page →In TCP, sending and receiving data is done as:
(i) stream of bytes
(ii) sequence of characters
(iii) lines of data
(iv) packetsQ1h. Suppose a TCP connection is transferring a file of 1000 bytes. The first byte is numbered 10001. What is the sequence number of the segment if all data is sent in only one segment? (i) 10000 (ii) 10001 (iii) 12001 (iv) 1100120192m
Module 4: Transport Layer & Congestion Control
View this question on its own page →Suppose a TCP connection is transferring a file of 1000 bytes. The first byte is numbered 10001. What is the sequence number of the segment if all data is sent in only one segment?
(i) 10000
(ii) 10001
(iii) 12001
(iv) 11001Q1i. The protocol on which DNS application run is: (i) Telnet (ii) UDP (iii) HTTP (iv) None of the above20192m
Module 5: Application Layer & Security
View this question on its own page →The protocol on which DNS application run is:
(i) Telnet
(ii) UDP
(iii) HTTP
(iv) None of the aboveQ1j. __________ allows you to connect and login to a remote computer. (i) Telnet (ii) FTP (iii) HTTP (iv) None of the above20192m
Module 5: Application Layer & Security
View this question on its own page →__________ allows you to connect and login to a remote computer.
(i) Telnet
(ii) FTP
(iii) HTTP
(iv) None of the aboveQ2a. Draw a neat diagram of TCP/IP protocol stack with the protocols and functionality implemented on each layer. Also explain, why there is a need for having a layered architecture (like OSI and TCP/IP) in networks.201914m
Module 1: Physical Layer & Data Communication
View this question on its own page →Draw a neat diagram of TCP/IP protocol stack with the protocols and functionality implemented on each layer. Also explain, why there is a need for having a layered architecture (like OSI and TCP/IP) in networks.
Q3a. We know that there are 2 types of address schemes (i.e. IP address and MAC address) in computer networks. Explain what the need of having two types of addresses. What will happen if we use only IP address in computer networks?201914m
Module 3: Network Layer & Routing
View this question on its own page →We know that there are 2 types of address schemes (i.e. IP address and MAC address) in computer networks. Explain what the need of having two types of addresses. What will happen if we use only IP address in computer networks?
Q4a. What do you mean by Random Access Protocols? Explain the limitations of using ALOHA as random access protocol.201914m
Module 2: Data Link Layer & MAC Sublayer
View this question on its own page →What do you mean by Random Access Protocols? Explain the limitations of using ALOHA as random access protocol.
Q5a. In the context of Transmission Control Protocol (TCP), explain the statement, "TCP help us to establish a reliable connection over an unreliable network".20197m
Module 4: Transport Layer & Congestion Control
View this question on its own page →In the context of Transmission Control Protocol (TCP), explain the statement, "TCP help us to establish a reliable connection over an unreliable network".
Q5b. Outline the difference between TCP and UDP.20197m
Module 4: Transport Layer & Congestion Control
View this question on its own page →Outline the difference between TCP and UDP.
Q6a. Why there is a need of doing error control at transport layer despite of the fact that we are doing the same thing at the data link layer? Why we are doing this error correction multiple times?201914m
Module 2: Data Link Layer & MAC Sublayer
View this question on its own page →Why there is a need of doing error control at transport layer despite of the fact that we are doing the same thing at the data link layer? Why we are doing this error correction multiple times?
Q7a. Explain type of delays in computer networks. Suppose a node A wants to send data of 200 mb to node B. The bandwidth of the channel is 1 Gbps. There are three routers in between node A to node B. Assume other delays equal to 0. Calculate the total delay involved.201914m
Module 1: Physical Layer & Data Communication
View this question on its own page →Explain type of delays in computer networks. Suppose a node A wants to send data of 200 mb to node B. The bandwidth of the channel is 1 Gbps. There are three routers in between node A to node B. Assume other delays equal to 0. Calculate the total delay involved.
Q8a. With the help of neat figures, explain sliding window mechanism.201914m
Module 2: Data Link Layer & MAC Sublayer
View this question on its own page →With the help of neat figures, explain sliding window mechanism.
Q9a. Compare the following terms: (a) ARP vs RARP201914m
Module 3: Network Layer & Routing
View this question on its own page →Compare the following terms: (a) ARP vs RARP
Q9b. Compare the following terms: (b) Unicast vs Multicast201914m
Module 5: Application Layer & Security
View this question on its own page →Compare the following terms: (b) Unicast vs Multicast
Q9c. Compare the following terms: (c) Flooding vs Broadcasting201914m
Module 2: Data Link Layer & MAC Sublayer
View this question on its own page →Compare the following terms: (c) Flooding vs Broadcasting
Q9d. Compare the following terms: (d) Amplifiers vs Repeaters201914m
Module 1: Physical Layer & Data Communication
View this question on its own page →Compare the following terms: (d) Amplifiers vs Repeaters