Study resource

Read at your pace, then save it for later.

Unit 3: Computer Networks: Network Models and Architecture

Section A — 1 Mark Questions

1. What is the primary purpose of a layered architecture in networking? [1 Mark]

Answer: It simplifies the design and implementation of network protocols by decomposing complex communication tasks into smaller, manageable layers.

2. How many layers are defined in the OSI reference model? [1 Mark]

Answer: Seven layers.

3. Name the top layer of the OSI model. [1 Mark]

Answer: The Application layer.

4. Which OSI layer is responsible for end-to-end delivery of messages? [1 Mark]

Answer: The Transport layer.

5. What is the main function of the Physical layer? [1 Mark]

Answer: It handles the transmission of raw bit streams over a physical medium.

6. Which model uses a 4-layer architecture? [1 Mark]

Answer: The TCP/IP protocol suite.

7. At which layer does routing occur in the OSI model? [1 Mark]

Answer: The Network layer.

8. What is the PDU at the Transport layer called? [1 Mark]

Answer: A segment.

9. Which layer provides synchronization and dialog control? [1 Mark]

Answer: The Session layer.

10. What does IP stand for in the context of the TCP/IP suite? [1 Mark]

Answer: Internet Protocol.

11. Which layer handles data encryption and compression? [1 Mark]

Answer: The Presentation layer.

12. What is the primary function of the Data Link layer? [1 Mark]

Answer: It provides hop-to-hop delivery and error control for frames.

13. Does the TCP/IP model have a Presentation layer? [1 Mark]

Answer: No, it does not; these functions are handled in the Application layer.

14. What is the unit of data at the Data Link layer called? [1 Mark]

Answer: A frame.

15. What does the term 'encapsulation' mean in networking? [1 Mark]

Answer: It is the process of adding header information to data as it moves down through the protocol layers.

16. Which OSI layer is responsible for logical addressing? [1 Mark]

17. Is the OSI model a reference model or a set of implementation protocols? [1 Mark]

Answer: It is a reference model.

18. What is the function of the Network layer in the TCP/IP model? [1 Mark]

Answer: It handles packet forwarding and routing across networks.

19. Which layer provides services directly to the user's software? [1 Mark]

Answer: The Application layer.

20. What is meant by 'interoperability' in network design? [1 Mark]

Answer: It is the ability of different computer systems to exchange and use information seamlessly.

Section B — 2/3 Mark Questions

1. State two benefits of using a layered architecture. [2 Marks]

Answer: First, it reduces complexity by breaking communication into smaller, independent modules. Second, it promotes modularity, allowing developers to change or upgrade one layer without affecting others.

2. Compare the Session layer and the Presentation layer of the OSI model. [2 Marks]

Answer: The Session layer manages the dialog and synchronization between communicating applications, whereas the Presentation layer is responsible for data representation, encryption, and compression.

3. Why is the TCP/IP model sometimes considered more practical than the OSI model? [3 Marks]

Answer: The TCP/IP model was built around existing protocols, making it more implementation-oriented. It combines several OSI layers into fewer, more functional layers, which simplifies the protocol stack and aligns closely with how the Internet actually operates.

4. What is the role of the Data Link layer in error control? [2 Marks]

Answer: It detects errors that may occur during the physical transmission of frames and typically uses retransmission or acknowledgement mechanisms to ensure that the data received at the destination matches the data sent.

5. Explain the difference between connection-oriented and connectionless service at the Transport layer. [3 Marks]

Answer: Connection-oriented service (like TCP) requires a handshake to establish a dedicated virtual circuit before data transfer. Connectionless service (like UDP) sends data packets independently without prior connection establishment, which is faster but offers less reliability.

6. List the seven layers of the OSI model in order. [2 Marks]

Answer: Application, Presentation, Session, Transport, Network, Data Link, and Physical.

7. Describe the concept of PDU (Protocol Data Unit). [2 Marks]

Answer: A PDU is the specific format of data that a layer handles. For instance, the PDU of the Transport layer is a segment, while the PDU of the Data Link layer is a frame.

8. What is the significance of physical addressing in the Data Link layer? [3 Marks]

Answer: Physical addressing (MAC address) allows nodes on the same local network to communicate. It provides a unique identifier for hardware, enabling the Data Link layer to deliver frames precisely to the correct physical machine on the local link.

9. How does the OSI model ensure compatibility between different vendors? [2 Marks]

Answer: By defining standard interfaces and functions for each layer, the OSI model allows hardware and software from different vendors to communicate effectively as long as they adhere to the same protocols at each layer.

10. Explain the function of the Transport layer in multiplexing. [3 Marks]

Answer: Multiplexing at the Transport layer allows multiple applications on the same host to send data over the network simultaneously. It achieves this by assigning different port numbers to different application processes, ensuring data is delivered to the correct destination process.

Section C — 5 Mark Questions

1. Explain the OSI reference model and the function of its seven layers in detail. [5 Marks]

Answer: The OSI model is a conceptual framework that standardizes the functions of a telecommunication or computing system. It defines seven distinct layers:

  • Physical Layer: Transmits raw bit streams over a physical medium.
  • Data Link Layer: Provides hop-to-hop data transfer and physical addressing.
  • Network Layer: Manages logical addressing and packet routing across networks.
  • Transport Layer: Ensures end-to-end communication and reliability.
  • Session Layer: Establishes, maintains, and terminates communication sessions.
  • Presentation Layer: Handles data formatting, encryption, and compression.
  • Application Layer: Provides network services directly to end-user applications.
This layered approach ensures that each level is independent, allowing for interoperability between different systems.

2. Compare and contrast the OSI model and the TCP/IP protocol suite. [5 Marks]

Answer: The OSI model and TCP/IP are both networking models but differ in structure and origin.

Key Comparisons

  • Layers: OSI consists of seven layers, whereas TCP/IP consists of four (or five, depending on the reference): Application, Transport, Internet, and Network Access.
  • Implementation: OSI is a theoretical model that came before the protocols; TCP/IP was developed after the protocols existed, making it the practical basis for the Internet.
  • Complexity: The OSI model explicitly separates the Session, Presentation, and Application layers, while TCP/IP merges them into a single Application layer.
  • Addressing: The OSI model was developed to support various types of network services, while TCP/IP was designed specifically to support interconnectivity of diverse networks.

3. Describe the flow of data through the layers using the process of encapsulation and decapsulation. [5 Marks]

Answer: Encapsulation is the process where data travels down the protocol stack at the sender's side. At each layer, header information is added to the data unit from the layer above. For example, the Transport layer adds its segment header, the Network layer adds a packet header, and the Data Link layer adds a frame header. This encapsulated unit moves across the medium. At the receiver's side, decapsulation occurs. The receiver strips away the headers layer by layer as the data moves up the protocol stack until the original raw data reaches the target application. This process allows each layer to communicate with its peer layer on the destination system.

4. Discuss the role of the Network and Transport layers in end-to-end communication. [5 Marks]

Answer: The Network and Transport layers work together to provide reliable communication across multiple networks. The Network layer is responsible for source-to-destination delivery of packets, utilizing logical addressing (IP addresses) to route data through intermediate routers across different network segments. It focuses on the 'path' the data takes. The Transport layer operates on top of this, focusing on the host-to-host process. It manages flow control, error recovery, and multiplexing of data streams. By using port numbers, it ensures that data reaches the correct application on the destination machine. Together, they ensure that data is not only routed correctly through the complex network structure but also delivered accurately and in the right order to the correct process.

5. Explain the concept of layered architecture and why it is essential for modern network design. [5 Marks]

Answer: Layered architecture is a design strategy that organizes network functions into a hierarchical stack of layers. Each layer provides specific services to the layer above it and utilizes the services of the layer below it.

Benefits

  • Modularity: Layers can be developed and modified independently, which accelerates the development process.
  • Troubleshooting: Because functions are divided, network administrators can identify which layer a failure occurred in, making maintenance easier.
  • Standardization: Standardized interfaces allow hardware from one vendor to interoperate with software from another.
  • Simplicity: It hides the technical complexities of hardware and signal transmission from the higher-level applications, providing a clean abstraction for developers.
Overall, this architecture is the foundation for the modular, scalable, and interoperable nature of the global Internet.


xxx

Did this help you understand better?

Your feedback improves the quality of this resource for everyone.