You are on page 1of 3

Assignment No.

01 (Graded) Total Marks: 20


Spring 2024
Due Date: APRIL 30, 2024
CS610- Computer Networks

Instructions:

Please read the following instructions carefully before solving & submitting the assignment solution:

It should be clear that your assignment will not get any credit (zero marks) if:

o The assignment is submitted after the due date.


o The submitted assignment solution does NOT open or the file is corrupt.
o The assignment is copied (from other students or ditto copy from handouts or the internet).
o Please ensure that your assignment submission is in .doc or .docx format. Other formats such as scanned
images, PDFs, .zip, .rar, .bmp, etc., will not be accepted.

Objectives:

The objectives of this assignment are:

 Giving the idea of Parity encoding and ASCII encoding.


 To differentiate between collision handling approaches in Wired and Wireless networks.
 To make them understand various LAN Technologies and their speeds.

For any query about the assignment, contact at cs610@vu.edu.pk

GOOD LUCK

Marks: 20
Question No. 1: (Marks 10)

Suppose a Station A transmits a message containing five characters to Station B using Even Parity encoding to
ensure data integrity during transmission. Each character consists of 8 bits encoded in the ASCII. Station B
receives the message of five 9-bit data elements and needs to extract the 8-bit data message from each element
and decode it using ASCII to form meaningful words. The data elements received by Station B are:

Received 9-bit Data Elements:


010101010 010011001 010011010 010100110
010101100
Assuming the data is received correctly without any errors by Station B, you are required to do the
following tasks:

1. Extract 8-bit Data Message: Remove the Parity bits to extract the 8-bit data message from each 9-bit
received element.
2. Decode and Extract using ASCII: Convert each 8-bit data message into its corresponding ASCII
character to extract the meaningful words.

Give your answer in the following table:

010101100 010101010 010011001 010011010 010100110


Received Message
Data message (Bits)? 01010110 01010101 01001100 01001101 01010011
Decoded Message? V U L M S

Question No. 2: (Marks 10)

a) In wireless LANS, the stations may be located at some distance, making it impossible to detect any collision,
if occurs. What technique is used to overcome the collisions in wireless LANs?

Answer: In Wireless LANs, the method utilized to tackle collisions is "CSMA/CA" (Carrier Sense Multiple Access with
Collision Avoidance). Unlike wired LAN setups, where collisions are detectable due to physical links, in wireless LAN
environments, stations could be positioned at distances where collision detection proves impractical. CSMA/CA involves
stations actively monitoring the wireless channel before initiating transmissions, thus averting collisions. If the channel is
found to be busy, the station delays its transmission to prevent interference with ongoing data transfers, effectively reducing
the occurrence of collisions.

b) Match the correct speed as mentioned in Column B to the technology mentioned in column A.
A: LAN technology B: Data transfer rate / Speed
LOCAL TALK 230.4Kbps
IBM TOKEN RING 4Mbps to 16Mbps
Fiber-distributed data 100Mbps
interconnect

Lectures Covered: This assignment covers Lectures # 1 to 9.


Deadline: Your assignment must be uploaded/submitted on or before the due date.

You might also like