Professional Documents
Culture Documents
Faculty of Engineering
Assignment # 1
(Chapter 2)
Solution
1. As the data packet moves from lower to upper layers, headers are
a. added b. subtracted c. rearranged d. modified
2. Suppose your network is connected to another network via a router. Which OSI
model layer provides the information necessary to direct data between the two
networks?
a. Network layer b. Physical layer c. Data Link layer d. Session layer
4. When data are transmitted from device A to device B, the header from A's layer 4
is read by B's _______ layer.
a. Physical b. Transport c. Application d. None of the above
6. What is a primary function of the trailer information added by the data link layer
encapsulation?
a. Supports error detection c. Identifies the devices on the local network
b. Ensures ordered arrival of data d. Provides delivery to correct destination
2
10. Which of the following is/are correct about physical layer
a. The sender and receiver must use the same bit rate.
b. Sender and receiver can have different clocks (bit level) at their communication.
c. The sender and the receiver clocks must be synchronized.
d. Bit rate at the sender must be larger than a bit rate at the receiver.
Question 2: Match the following to one or more layers of the OSI model (10 Marks)
1. “peer-to-peer communication”
2. “encapsulation”
The process of adding headers and trailers by lower layers at the sender.
3. “logical address”
Universal address in which each host can be identified uniquely, regardless of the
underlying physical network. It is necessary for universal communication
3
4. “error control”
End to end rather than across a single link. Sending transport layer makes sure that the
entire message arrives at the receiving transport layer without error (damage, loss, or
duplication, one of the responsibilities of transport layer)
5. “segmentation”
Dividing data into segments having sequence number (one of the responsibilities of
transport layer)
1. Draw the OSI model that represents the layers with their order.
4
2. Draw the TCP/IP protocol architecture that represents the layers with their order.
Each of the previous addresses is added to data as a header at layered model; give the
following for each one:
5
2. Size of the address (how long in bits)
Physical: 48-bit
Logical: 32-bit
Port: 16-bit
Specific: variable
Logical:
Final source and destination addresses (end systems) (S D)
Port: 16-bit
Source and destination for the end systems process port numbers. (S D)
For example:
Logical
Physical
port