2022 question paper
Computer Networks
18 questions
Q1a. A proxy server is used as the computer (i) with external access (ii) acting as a backup (iii) performing file handling (iv) accessing user permissions20222m
Module 5: Application Layer & Security
View this question on its own page →A proxy server is used as the computer
(i) with external access
(ii) acting as a backup
(iii) performing file handling
(iv) accessing user permissionsWorked SolutionAnswer
(i) with external access
Explanation
A proxy server acts as an intermediary between a client and another server, commonly on an external network such as the Internet. Instead of directly contacting the destination server, the client sends its request to the proxy, and the proxy forwards the request and returns the response.
A proxy can provide functions such as:
- Controlled external access to Internet resources.
- Caching frequently requested content.
- Filtering and access control according to organizational policies.
- Privacy/security by hiding internal client details from external servers in some configurations.
Option analysis
- (i) with external access: Correct in the context of this MCQ. A proxy mediates access between an internal client and external resources.
- (ii) acting as a backup: Backup servers are used for redundancy/data recovery, not as the primary definition of a proxy.
- (iii) performing file handling: File handling is not the defining purpose of a proxy server.
- (iv) accessing user permissions: A proxy may enforce access policies, but user-permission management is not its fundamental role.
Final answer: (i) with external access.
Q1b. The term 'WAN' stands for (i) Wide Area Net (ii) Wide Access Network (iii) Wide Area Network (iv) Wide Access Net20222m
Module 1: Physical Layer & Data Communication
View this question on its own page →The term 'WAN' stands for
(i) Wide Area Net
(ii) Wide Access Network
(iii) Wide Area Network
(iv) Wide Access NetWorked SolutionAnswer
(iii) Wide Area Network
Explanation
WAN stands for Wide Area Network. It is a network designed to cover a large geographical area, such as cities, states, countries, or continents. The Internet is the largest example of an interconnected wide-area network.
Final answer: (iii) Wide Area Network.
Q1c. Which layer of the TCP/IP stack corresponds to the OSI model transport layer? (i) Host-to-host (ii) Application (iii) Internet (iv) Network access20222m
Module 1: Physical Layer & Data Communication
View this question on its own page →Which layer of the TCP/IP stack corresponds to the OSI model transport layer?
(i) Host-to-host
(ii) Application
(iii) Internet
(iv) Network accessWorked SolutionAnswer
(i) Host-to-host
Explanation
In the traditional TCP/IP model, the Host-to-Host (Transport) layer corresponds to the OSI Transport layer.
It provides process-to-process communication and can provide functions such as segmentation, flow control, error control, and reliable delivery through protocols such as TCP.
- Application → broadly combines OSI Application, Presentation, and Session functions.
- Host-to-host → corresponds to OSI Transport.
- Internet → corresponds to OSI Network.
- Network access → broadly covers OSI Data Link and Physical functions.
Final answer: (i) Host-to-host.
Q1d. What is the maximum header size of an IP packet? (i) 32 bytes (ii) 64 bytes (iii) 30 bytes (iv) 60 bytes20222m
Module 3: Network Layer & Routing
View this question on its own page →What is the maximum header size of an IP packet?
(i) 32 bytes
(ii) 64 bytes
(iii) 30 bytes
(iv) 60 bytesWorked SolutionAnswer
(iv) 60 bytes
Explanation
For IPv4, the base header is 20 bytes. The header length is specified by the IHL field in units of 32-bit words.
The IHL field is 4 bits, so its maximum value is 15 words.
Each word = 4 bytes.
Maximum header size:
bytes.Therefore, the maximum IPv4 header size is 60 bytes.
Final answer: (iv) 60 bytes.
Q1e. The address which is used to identify a process on a host is (i) physical address (ii) port address (iii) logical address (iv) specific address20222m
Module 4: Transport Layer & Congestion Control
View this question on its own page →The address which is used to identify a process on a host is
(i) physical address
(ii) port address
(iii) logical address
(iv) specific addressWorked SolutionAnswer
(ii) Port address
Explanation
A port number identifies a particular process or service on a host at the Transport layer.
For example, a host may have one IP address but many active processes. The destination IP address identifies the host, while the destination port identifies the intended application/process.
- Physical address: MAC address; identifies a network interface on a local network.
- Logical address: IP address; identifies a host/interface at the Network layer.
- Port address: identifies a process/service at the Transport layer.
Final answer: (ii) Port address.
Q1f. Which sublayer of the information link layer performs circuit functions that depend on the kind of medium? (i) Media access control sublayer (ii) Logical link control sublayer (iii) Network interface control sublayer (iv) Both (i) and (ii)20222m
Module 2: Data Link Layer & MAC Sublayer
View this question on its own page →Which sublayer of the information link layer performs circuit functions that depend on the kind of medium?
(i) Media access control sublayer
(ii) Logical link control sublayer
(iii) Network interface control sublayer
(iv) Both (i) and (ii)Worked SolutionAnswer
(i) Media Access Control (MAC) sublayer
Explanation
The Data Link layer is commonly divided into two sublayers:
- LLC (Logical Link Control): Provides a common interface to the Network layer and handles functions independent of the particular transmission medium.
- MAC (Media Access Control): Handles functions that depend on the characteristics of the shared medium, especially access to the transmission medium.
Therefore, the sublayer whose functions depend on the kind of medium is the MAC sublayer.
Final answer: (i) Media Access Control sublayer.
Q1g. Transport layer protocol deals with (i) application-to-application communication (ii) node-to-node communication (iii) the process-to-process communication (iv) Both (i) and (ii)20222m
Module 4: Transport Layer & Congestion Control
View this question on its own page →Transport layer protocol deals with
(i) application-to-application communication
(ii) node-to-node communication
(iii) the process-to-process communication
(iv) Both (i) and (ii)Q1h. FTP server (i) maintains state information (ii) is stateless (iii) has single TCP connection for a file transfer (iv) has UDP connection for file transfer20222m
Module 5: Application Layer & Security
View this question on its own page →FTP server
(i) maintains state information
(ii) is stateless
(iii) has single TCP connection for a file transfer
(iv) has UDP connection for file transferQ1i. Which of the following is the multiple access protocol for channel access control? (i) CSMA/CD (ii) CSMA/CA (iii) Both CSMA/CD and CSMA/CA (iv) HDLC20222m
Module 2: Data Link Layer & MAC Sublayer
View this question on its own page →Which of the following is the multiple access protocol for channel access control?
(i) CSMA/CD
(ii) CSMA/CA
(iii) Both CSMA/CD and CSMA/CA
(iv) HDLCQ1j. Physical layer provides (i) mechanical specifications of electrical connectors and cables (ii) electrical specification of transmission line signal level (iii) specification for IR over optical fiber (iv) All of the above20222m
Module 1: Physical Layer & Data Communication
View this question on its own page →Physical layer provides
(i) mechanical specifications of electrical connectors and cables
(ii) electrical specification of transmission line signal level
(iii) specification for IR over optical fiber
(iv) All of the aboveQ2. Explain the duties of different layers in TCP/IP model.202214m
Module 1: Physical Layer & Data Communication
View this question on its own page →Explain the duties of different layers in TCP/IP model.
Q3. What do you mean by the term 'ethernet'? What are the types of cable commonly used for ethernet?202214m
Module 1: Physical Layer & Data Communication
View this question on its own page →What do you mean by the term 'ethernet'? What are the types of cable commonly used for ethernet?
Q4. Differentiate between pure aloha and slotted aloha with examples.202214m
Module 2: Data Link Layer & MAC Sublayer
View this question on its own page →Differentiate between pure aloha and slotted aloha with examples.
Q5. How data link layers provide flow and error control? Explain with examples.202214m
Module 2: Data Link Layer & MAC Sublayer
View this question on its own page →How data link layers provide flow and error control? Explain with examples.
Q6. Describe RIP routing protocol with an example. Explain count to infinity problem and its countermeasures.202214m
Module 3: Network Layer & Routing
View this question on its own page →Describe RIP routing protocol with an example. Explain count to infinity problem and its countermeasures.
Q7. An ISP is granted the block 80.70.56.0/21. The ISP needs to allocate addresses for two organizations each with 500 addresses, two organizations each with 250 addresses, and three organizations each with 50 addresses. (a) Find the number and range of addresses in the ISP block. (b) Find the range of addresses for each organization and the range of unallocated addresses.202214m
Module 3: Network Layer & Routing
View this question on its own page →An ISP is granted the block 80.70.56.0/21. The ISP needs to allocate addresses for two organizations each with 500 addresses, two organizations each with 250 addresses, and three organizations each with 50 addresses.
(a) Find the number and range of addresses in the ISP block.
(b) Find the range of addresses for each organization and the range of unallocated addresses.Q8. How transport layer provides congestion control? Differentiate between leaky bucket and token bucket algorithms.202214m
Module 4: Transport Layer & Congestion Control
View this question on its own page →How transport layer provides congestion control? Differentiate between leaky bucket and token bucket algorithms.
Q9. Explain the difference between TCP and UDP. A client residing on a host with IP address 122.45.12.7 sends a message to the corresponding server residing on a host with IP address 200.112.45.90. If the well-known port is 161 and the ephemeral port is 51000, what are the pair of socket addresses used in this communication?202214m
Module 4: Transport Layer & Congestion Control
View this question on its own page →Explain the difference between TCP and UDP. A client residing on a host with IP address 122.45.12.7 sends a message to the corresponding server residing on a host with IP address 200.112.45.90. If the well-known port is 161 and the ephemeral port is 51000, what are the pair of socket addresses used in this communication?