You are on page 1of 2

Birla Vishvakarma Mahavidyalaya (Engineering College)

(An Autonomous Institution)


Second Year, B.Tech (Computer Engineering)
nd
2 Mid Semester Examination (Online),Even Semester, AY 2020-21

Course Code:2CP07 Course Title:Computer Networks


Date: 17.04.2021 Time: 11.30 am to 12.30 pm Maximum Marks: 30
Instructions:
 Exam will be conducted by ‘Online’ Mode through MS Teams only.
 Write ID No., Name, Course Code, Course Title, Date of Exam, Signature and Page Nos. on
each answer page in the ‘title block’ provided in format. The format of answer page is available
on website ‘notice board’.
 Students have to upload answer sheet through “single pdf file” in MS Teams within the
stipulated time. Students will get additional 15 minutes to upload answer sheet pdf file. Refer
the detailed instructions on website ‘notice board’.
 Give the name to pdf file as: “ID No._Course Code_Name of Exam _Date of Exam” (For
example, 12AB001_CD101_Mid Exam_16.1.21)
 Numbers in the square brackets to the right indicate maximum marks.
 The text just below marks indicates the CO(s) followed by the Bloom’s level of the question,
i.e., R: Remember, U: Understand, A: Apply, N: Analyze, E: Evaluate, C: Create

Q. 1 (a) A bit stream 1101011011 is transmitted using the standard CRC method. The [03]
generator polynomial is x4 + x+ 1. What is the actual bit string transmitted? 3,A
(b) Calculate the checksum for a sample ipv4 packet received like this: [05]
4500 062A 42A1 8001 4210 XXXX C0A8 0001 C0A8 0003 3,4 A
where XXXX is the checksum that needs to be sent with the packet.
OR OR OR
(b) Define random access and list three protocols in this category. [05]
Compare and contrast a random access protocol with a controlled access 2U
protocol.
Compare and contrast a random access protocol with a channelizing protocol.
(d) An IPv4 datagram has arrived with the following information in the header (in [07]
hexadecimal): 3A
Ox45 00 00 54 00 03 58 50 20 06 00 00 7C 4E 03 02 B4 OE OF 02
a. Is the packet corrupted?
b. Are there any options?
c. Is the packet fragmented?
d. What is the size of the data?
e. How many more routers can the packet travel to?
f. What is the identification number of the packet?
g. What is the type of service?
Q.2 (a) Answer the following: [03]
1.) You have been allocated a class A network address of 44.0.0.0. You need 4A
to create at least 20 networks and each network will support a maximum of
160 hosts. Would the following two subnet masks Work?
255.255.0.0 and or 255.255.255.0, Give explanation for the answer.

Page 1 of 2
2.) You have been allocated a class B network address of 132.1.0.0 and and
need to create 4 subnets each with around 200 hosts what is the easiest mask
to use to satisfy the criteria?

3.) Given the subnet Mask 255.255.255.192 What is the host address and
subnet of the following IP address 197.1.2.67.
(b) An organization is granted the block 10.0.0.0/8. The administrator wants to [05]
create 500 fixed-length subnets. 4A
a. Find the subnet mask.
b. Find the number of addresses in each subnet.
c. Find the first and last addresses in subnet 1.
d. Find the first and last addresses in subnet 500.
(c) Explain the reason for moving from the Stop-and-Wait ARQ Protocol to the [03]
00Back-N ARQ Protocol with example. 3U
(d) Answer the following related to IPv4 [04]
1.) Which fields of the IPv4 header change from router to router? 3,4
2.) The value of HLEN in an IPv4 datagram is 7. How many option bytes A
are present?
3.) Given a fragmented datagram (in IPv4) with an offset of 120, how can
you determine the first and last byte numbers?
4.) The size of the option field of an IPv4 datagram is 20 bytes. What is
the value of HLEN? What is the value in binary?

Page 2 of 2

You might also like