0% found this document useful (0 votes)
412 views4 pages

Final Question Paper - CCN Spring 2021

The document provides instructions for an online end semester examination for a Computer Communication and Networks course. It lists the course code, instructors, date and time of the exam, maximum marks, and important submission instructions. It also includes 4 questions related to TCP headers, IPv4 addressing, routing tables, and protocols. Students are asked to include personal details like their roll number or birthdate when answering questions. They must submit their answers in MS Word format before the deadline.

Uploaded by

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

Final Question Paper - CCN Spring 2021

The document provides instructions for an online end semester examination for a Computer Communication and Networks course. It lists the course code, instructors, date and time of the exam, maximum marks, and important submission instructions. It also includes 4 questions related to TCP headers, IPv4 addressing, routing tables, and protocols. Students are asked to include personal details like their roll number or birthdate when answering questions. They must submit their answers in MS Word format before the deadline.

Uploaded by

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

Online End Semester Examinations: Spring 2021

Sir Syed University of Engineering & Technology


Faculty of Computing & Applied Sciences
Department of ____Software Engineering___________

Online End Semester Examinations (Spring 2021)


Course Code SWE-306: Computer Communication & BS (Software
Program
with Title Networks Engineering)
Dr. Muhammad Tahir, Mr Noman Ali Khan
Instructor Semester 5th
and Mr Hassan Zaki
Start date & June 12, 2021 Submission Deadline June 12, 2021
Time at 10:30 AM at 03:30PM
Maximum Marks 50
Students must meet their submission deadline as there is no re-take or re-attempt after the
deadline.
IMPORTANT INSTRUCTIONS:

Read the following Instructions carefully:

 Attempt All Questions on MS-Word. Font theme and size must be Times New Roman and
12 points respectively. Use line spacing 1.5.
 You may provide answers HANDWRITTEN. The scanned solution must be submitted in
PDF file format (Use any suitable Mobile Application for Scanning)
 For Diagrams, you can use paper and share a clear visible snapshot in the same Answer
Sheet.
 Arrange questions and their subsequent parts in sequence.
 Make sure that your answers are not plagiarized or copied from any other sources. In case
of plagiarism, ZERO marks will be awarded.
 Provide relevant, original and conceptual answers, as this exam aims to test your ability to
examine, explain, modify or develop concepts discussed during the course.
 Recheck your answer before the submission on VLE to correct any content or language
related errors.
 You must upload your answers via the VLE platform ONLY.

You must follow general guideline for students before online examination and during
online examination which had already shared by email and WhatsApp.

This paper has a total of _04__ pages including this title page

Q.1. (10)

SSUET Page 1 of 4 FoCAS


Online End Semester Examinations: Spring 2021

Sir Syed University of Engineering & Technology


Faculty of Computing & Applied Sciences
Department of ____Software Engineering___________

A. The following is a dump (contents) of a TCP header in hexadecimal format.

VVVVYYYY 00000C02 01110010 CB1Z0104 9B2AD59D


Now look at the starting few bytes of the Packet (shown above) carefully and answer the
following questions. Here YYYY (in Hexa decimal format) is calculated as adding all numbers
of your birth date. (Example: for 09-09-1989, YYYY = 0+9+0+9+1+9+8+9 = 0045). VVVV (in
Hexa decimal format) = 2S + 1024, where S is your roll number. (Example: for roll number 007,
S = 2 x 7 + 1024 = 1038). And Z = T mod 10 where T is your roll number.
i. What is the destination port number?
ii. Does sender immediately terminate the connection? Justify your answer?
iii. What is the type of segment?
iv. Does sender want to end the connection? Justify your answer.
v. Does entire buffer is free? Justify your answer.

Hint : So if YYYY = 07-08-1999, YYYY = 0+7+0+8+1+9+9+9 = 43


Z = T mod 10 and if R = 1 then Z = 1 = 0001 (PSH, RST, SYN & FIN) bits

B. Considering Automatic Repeat Request, suppose two neighboring nodes (A & B) use a
sliding-window protocol with X-bit sequence number. Using Selective Repeat with a
window size of Y in the ARQ mechanism, A is a transmitting and B is a receiving node. Use
the values of X and Y to show the window positions for the following events of data
exchange:

i. Create window before A sends any number of frames.


ii. Show the window after A sends frames = X and receives acknowledgment from B for
only first two frames.
iii. After A sends frames 3 to 8 and B sends acknowledgement of frame 6 to A.

(Where X = last digit of your roll number + 10 and Y = last digit of your roll number + 8)

SSUET Page 2 of 4 FoCAS


Online End Semester Examinations: Spring 2021

Sir Syed University of Engineering & Technology


Faculty of Computing & Applied Sciences
Department of ____Software Engineering___________
Q.2. (10)

A. Suppose that you have an IPv4 address 202.100.100.XXX/30, (XXX = your 3 digit roll
number mod 256). Determine whether this IPv4 address is a Network address, Host address
or Broadcast address? Specify which subnet does this IPv4 address belong to? And also give
complete detail of that subnet.

B. If an organization has the Network address 192.168.0.XXX/27, determine the following


questions: (XXX = your 3 digit roll number mod 256)

i. Number of subnets exists?


ii. List of subnets?
iii. Number of Hosts per subnets?
iv. Broadcast address and valid hosts for each subnet?
v. First and last address of subnet number 6?

Q.3. (10)

Develop a routing directory from Home to Office (using any Least Cost Algorithm) and then
build centralized routing table for the networks in the following figure. (Where X is a single digit
number. X will be derived from your roll number for e.g. if your roll number is 097, add all
digits of your roll number i.e. 0+9+7 = 16. To make it in a single digit add all digits again 16 =
1+6 = 7. Therefore, X = 7 for your problem solving).

SSUET Page 3 of 4 FoCAS


Online End Semester Examinations: Spring 2021

Sir Syed University of Engineering & Technology


Faculty of Computing & Applied Sciences
Department of ____Software Engineering___________
Q.4. (20)
a. Justify that how many types of delays are significant in assessing the performance of a
switching network? Choose according to your Roll Number Ending Digit

0-2 Datagram Packet Switching


3-6 Virtual Circuit Packet Switching
7-9 Message Switching
b. Design a communication paradigm as per distribution given below for your own
respective system without using any dedicated server.
Choose according to your Roll Number Ending Digit

1.2 File distribution system


3.6 VOIP system
7-9 Streaming System
c. During different routing strategies how we can keep network load in bounds give your
suggested solution. Choose according to your Roll Number Ending Digit
1.2 Flooding
3-6 Random
7.9 Dynamic
d. Give reason that why following protocols that maintain states are complex justify in your
own words and how we can reconcile stateless protocols with example?
Choose according to your Roll Number Ending Digit

0-2 HTTP Protocol


3.7 DNS Protocol
7-9 UDP Protocol
e. Following mechanisms are used at both layers 2 and 4 of OSI reference model. Justify
that in your opinion both layers implementations are necessary or not are they redundant?
Justify your answer with proper reasoning. Choose according to your Roll Number
Ending Digit
0-2 Error Control
3-6 Flow-control
7-9 Access Control

SSUET Page 4 of 4 FoCAS

You might also like