Network Midterm
Network Midterm
Cairo University
Midterm Exam
Program: Network/Software Engineering
Course Name: Computer Networks I Date: 24 Mar. 2019
Course Code: NIT222, IT222 Duration: 1 hours
Dr. Walid M. Ibrahim, Dr. Shaimaa Mousad Total Marks: 20
Student name: -------------------------------------------------------
ID: ---------------------------------------------------------------------
Question 1 [5 Points]:
a- State whether statement is True or False [Correct the false statement] (3 points).
b- For each of the following statements, select the correct answer (2 points):
II. In Go-Back-N, if 3 is the number of bits for the sequence numbers, then the maximum size
of the send window must be:
a. 3 c. 15
b. 7 d. None of the above
IV. …………….. is used for sending and receiving UDP packets in socket programming
c. Socket. c. ServerSocket.
d. ClientSocket. d. DatagramSocket.
1
Question 2 [10 Point]:
A- Draw the message exchange between the source and destination using Go-Back-N
for the following case: (5 points)
The window size is 3 and 2 bits are used for the sequence number. Sender A send
first a, b, c, d and e. packet c was lost during the transmission.
2
B- Find the end-end delay for a single packet between source and destination
assuming zero propagation delay. (2.5 points)
Packet length is 8 Mb and the data rate R = 2Mbps and R1 = 900 kbps.
3
Question 3 [5 Points]:
Good Luck
Dr. Walid M. Ibrahim