[go: up one dir, main page]

0% found this document useful (1 vote)
383 views4 pages

Network Midterm

This document contains a midterm exam for a Computer Networks course. It has three questions. Question 1 has multiple choice and true/false questions about network layer responsibilities, transport protocols, peer-to-peer file sharing, and efficiency of ARQ protocols. Question 2 involves drawing a message exchange using Go-Back-N ARQ and calculating end-to-end delay. Question 3 asks students to compare iterative vs recursive DNS and persistent vs non-persistent HTTP. The exam is out of 20 total marks and was administered on March 24, 2019.

Uploaded by

Ahmed Alaa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
383 views4 pages

Network Midterm

This document contains a midterm exam for a Computer Networks course. It has three questions. Question 1 has multiple choice and true/false questions about network layer responsibilities, transport protocols, peer-to-peer file sharing, and efficiency of ARQ protocols. Question 2 involves drawing a message exchange using Go-Back-N ARQ and calculating end-to-end delay. Question 3 asks students to compare iterative vs recursive DNS and persistent vs non-persistent HTTP. The exam is out of 20 total marks and was administered on March 24, 2019.

Uploaded by

Ahmed Alaa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Faculty of Computers and Information

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

i. The Transport layer is responsible for routing while Network layer is


responsible for end to end delivery. -------------
ii. Web cache (cookie’s) increases the total delay for the network. -------------
iii. HTTP is used to pull data to a server, but SMTP is used to push data
to a server -------------
iv. Once peer downloaded the entire file, it must remain in the torrent to
participate in file upload for other peers. This is called churn. -------------
v. Go-back-N is more efficient than Selective Repeat protocol. -------------
vi. The time to distribute file F to N clients using client-server approach
Dc-s > max{F/us,,F/dmin,,NF/(us + Sui)} -------------

b- For each of the following statements, select the correct answer (2 points):

I. The following protocol is used to send email:


a. SMTP. c. IMAP.
b. HTTP. d. None of the above.

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

III. Congestion control is the responsibility of


a. Application layer c. Transport layer
b. Network layer d. Data link layer.

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.

C. In the below figure mention the following (2.5 points)


1. Physical Layer, 2. Datalink Layer, 3. Network Layer, 4. Transport layer, 5. Application Layer,
6. Port numbers, 7. IP address, 8. The HTTP header, 9. the message body, and 10. the URL path

3
Question 3 [5 Points]:

Compare Between the following:

A. Iterative and recursive DNS

B. Persistent and Non-Persistent HTTP

Good Luck
Dr. Walid M. Ibrahim

You might also like