Uploaded by Abu Syeed

OSI Model & TCP/IP Questions: Networking Fundamentals

advertisement
Basic Questions:
1. What does OSI stand for in the OSI model?
o A) Open System Interaction
o B) Open Systems Interconnection
o C) Operational Systems Interlink
o D) Online Systems Integration
(Correct Answer: B)
2. What is the main responsibility of the Physical Layer in the OSI
model?
o A) Logical addressing
o B) Delivery of packets
o C) Movement of bits between nodes
o D) Reliable process-to-process delivery
(Correct Answer: C)
3. Which layer in the OSI model is responsible for dialog control
and synchronization?
o A) Transport Layer
o B) Presentation Layer
o C) Session Layer
o D) Application Layer
(Correct Answer: C)
4. Which layer is responsible for providing services to the user in
the OSI model?
o A) Network Layer
o B) Application Layer
o C) Presentation Layer
o D) Transport Layer
(Correct Answer: B)
5. In the TCP/IP protocol suite, which layer is responsible for hostto-host communication?
o A) Internet Layer
o B) Application Layer
o C) Transport Layer
o
D) Network Layer
(Correct Answer: C)
True/False:
1. The OSI model was introduced in the 1990s. (False – It was
introduced in the late 1970s)
2. Logical addresses remain the same from source to destination during
communication. (True)
Fill in the Blanks:
1. The OSI model consists of ___ layers. (Answer: Seven)
2. The session layer allows the communication between two processes
to take place in either ___ or ___ mode. (Answer: Half-duplex, Fullduplex)
1. Explain the concept of layered architecture in the OSI model. Why
is it important?
Answer:
The layered architecture in the OSI model divides network communication
into seven distinct layers: Physical, Data Link, Network, Transport,
Session, Presentation, and Application. Each layer has specific
responsibilities and communicates with its adjacent layers using defined
interfaces. This modular structure allows for the separation of concerns,
making the network easier to design, manage, and troubleshoot. Changes
in one layer can occur without impacting others, ensuring flexibility and
interoperability between diverse hardware and software systems.
2. What is the role of the Data Link layer, and how does it differ from
the Network layer?
Answer:
The Data Link layer is responsible for the reliable transmission of data
frames between two nodes on the same physical link. It handles framing,
physical addressing, error detection, flow control, and access control to the
physical medium. In contrast, the Network layer ensures end-to-end
communication by delivering data packets from the source to the
destination across multiple networks. It uses logical addressing (e.g., IP
addresses) and determines the optimal path for data using routing
algorithms.
3. Describe encapsulation in the OSI model. Why is it a critical
concept?
Answer:
Encapsulation is the process of wrapping data with the necessary protocol
information as it passes through the layers of the OSI model. For example,
at the Application layer, data is generated and passed to the Presentation
layer, which may format it and add headers. This process continues until
the data reaches the Physical layer, where it is converted into bits for
transmission. Encapsulation is essential because it ensures that each layer
has the information it needs to perform its function and that the data can
be interpreted correctly by the receiving system when the layers are
traversed in reverse order (decapsulation).
4. How does the Transport layer ensure reliable data delivery?
Answer:
The Transport layer ensures reliable data delivery through mechanisms
like segmentation, error control, and flow control. Segmentation involves
breaking down large data messages into smaller, manageable segments.
Error control ensures that any data errors during transmission are detected
and corrected using techniques like checksums and acknowledgments.
Flow control manages the rate of data transmission between sender and
receiver to prevent overloading the recipient. Protocols like TCP
(Transmission Control Protocol) provide additional features such as
connection establishment and termination, ensuring that data reaches its
destination accurately and in order.
5. What are the differences between physical and logical addresses?
Give an example of each.
Answer:
Physical addresses are hardware-level identifiers unique to each device on
a local network, such as MAC (Media Access Control) addresses in
Ethernet networks. Logical addresses, on the other hand, are softwaredefined addresses used to identify devices across multiple networks, such
as IP (Internet Protocol) addresses. For example, a physical address might
be 07:01:02:01:2C:4B, while a logical address might be 192.168.1.1.
Physical addresses change as a frame travels from one hop to another, but
logical addresses typically remain consistent from source to destination.
6. What is the role of the Presentation layer in the OSI model?
Answer:
The Presentation layer acts as a translator between the network and the
application layers, ensuring that data is presented in a readable and usable
format for the receiving application. It handles tasks such as data
translation (e.g., converting between different character encoding
schemes), encryption (e.g., securing data for transmission), and
compression (e.g., reducing the size of data for faster transmission). By
performing these functions, the Presentation layer ensures that the data
sent by the sender is interpreted correctly by the receiver, regardless of
differences in their system architectures.
7. Compare the OSI model with the TCP/IP protocol suite.
Answer:
The OSI model is a theoretical framework with seven layers designed to
standardize network communication. The TCP/IP protocol suite, by
contrast, is a practical implementation used widely on the internet. TCP/IP
has fewer layers, typically grouped into four: Application, Transport,
Internet, and Network Interface. While the OSI model emphasizes
teaching and understanding concepts, TCP/IP focuses on functionality. For
example, the Application layer in TCP/IP combines the OSI model's
Application, Presentation, and Session layers. Despite differences, the OSI
model provides a conceptual foundation for understanding and comparing
different protocols within the TCP/IP suite.
Download