2022 question paper

Computer Networks

18 questions

  1. 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

    A proxy server is used as the computer

    (i) with external access
    (ii) acting as a backup
    (iii) performing file handling
    (iv) accessing user permissions

    View this question on its own page →
    Worked Solution

    Answer

    (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.

  2. 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

    The term 'WAN' stands for

    (i) Wide Area Net
    (ii) Wide Access Network
    (iii) Wide Area Network
    (iv) Wide Access Net

    View this question on its own page →
    Worked Solution

    Answer

    (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.

  3. 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

    Which layer of the TCP/IP stack corresponds to the OSI model transport layer?

    (i) Host-to-host
    (ii) Application
    (iii) Internet
    (iv) Network access

    View this question on its own page →
    Worked Solution

    Answer

    (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.

  4. 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

    What is the maximum header size of an IP packet?

    (i) 32 bytes
    (ii) 64 bytes
    (iii) 30 bytes
    (iv) 60 bytes

    View this question on its own page →
    Worked Solution

    Answer

    (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:
    15×4=6015 \times 4 = 60 bytes.

    Therefore, the maximum IPv4 header size is 60 bytes.

    Final answer: (iv) 60 bytes.

  5. 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

    The address which is used to identify a process on a host is

    (i) physical address
    (ii) port address
    (iii) logical address
    (iv) specific address

    View this question on its own page →
    Worked Solution

    Answer

    (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.

  6. 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

    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)

    View this question on its own page →
    Worked Solution

    Answer

    (i) Media Access Control (MAC) sublayer

    Explanation

    The Data Link layer is commonly divided into two sublayers:

    1. LLC (Logical Link Control): Provides a common interface to the Network layer and handles functions independent of the particular transmission medium.
    2. 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.

  7. 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

    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)

    View this question on its own page →
  8. 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

    FTP server

    (i) maintains state information
    (ii) is stateless
    (iii) has single TCP connection for a file transfer
    (iv) has UDP connection for file transfer

    View this question on its own page →
  9. Q1i. 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

    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) HDLC

    View this question on its own page →
  10. Q1j. 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

    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 above

    View this question on its own page →
  11. Q2. Explain the duties of different layers in TCP/IP model.202214m

    Module 1: Physical Layer & Data Communication

    Explain the duties of different layers in TCP/IP model.

    View this question on its own page →
  12. 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

    What do you mean by the term 'ethernet'? What are the types of cable commonly used for ethernet?

    View this question on its own page →
  13. Q4. Differentiate between pure aloha and slotted aloha with examples.202214m

    Module 2: Data Link Layer & MAC Sublayer

    Differentiate between pure aloha and slotted aloha with examples.

    View this question on its own page →
  14. Q5. How data link layers provide flow and error control? Explain with examples.202214m

    Module 2: Data Link Layer & MAC Sublayer

    How data link layers provide flow and error control? Explain with examples.

    View this question on its own page →
  15. Q6. Describe RIP routing protocol with an example. Explain count to infinity problem and its countermeasures.202214m

    Module 3: Network Layer & Routing

    Describe RIP routing protocol with an example. Explain count to infinity problem and its countermeasures.

    View this question on its own page →
  16. 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

    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.

    View this question on its own page →
  17. Q8. How transport layer provides congestion control? Differentiate between leaky bucket and token bucket algorithms.202214m

    Module 4: Transport Layer & Congestion Control

    How transport layer provides congestion control? Differentiate between leaky bucket and token bucket algorithms.

    View this question on its own page →
  18. 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

    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?

    View this question on its own page →