Assignment 2
Assignment 2
RULES:
1. PART 1, 2 and 3 are related to chapters 1, 2 and 3 respectively. PART 4 and PART 5 refers to
chapters 10 and 9 respectively.
2. This assignment would be done in parts sequentially.
3. Before attempting a PART:
a. READ the related chapter from netAcad.
b. TAKE the chapter exam
c. READ the assignment PART and LEARN that you need to in order to write the
assignment PART.
4. NOW WRITE the assignment questions on your memory.
5. DO Corrections if required using a different color pen.
6. Submission will be handwritten by you.
7. Each Part will start on new page.
8. Honor code, as given below, will be written on each part separately afresh without which it
will not be assessed.
I, (write your name), pledge on my honor that: I have completed all steps of the attached
assignment as stated under rules of the assignment and I have not given anyone else access to
my work.
PART 1
1|Page
ASSIGNMENT #2 DUE BEFORE THE FIRST HOURLY BEGINS
PART 2
PART 3
2|Page
ASSIGNMENT #2 DUE BEFORE THE FIRST HOURLY BEGINS
PART 4
2. Explain how the functions of the application layer, session layer, and presentation layer work
together to provide network services to end user applications.
3. Explain with diagram how DNS works.
4. Explain how DHCP works with its timing diagram to show the communication trail between
client and DHCP server.
5. Explain how encapsulation and de-encapsulation process works, using HTTP communication
between client and a server as an example.
PART 5
3|Page
ASSIGNMENT #2 DUE BEFORE THE FIRST HOURLY BEGINS
2. Describe characteristics of the TCP and UDP protocols, including port numbers and their uses.
3. Explain how TCP session establishment and termination processes facilitate reliable
communication. Show timing diagrams and state machines for connection setup and
termination.
4. Describe the UDP client processes to establish communication with a server.
5. Compare UDP and TCP.
4|Page