LRC Using Even Parity, Binary Conversion-Data Communcation and Networks-Assignment Solution, Exercises of Data Communication Systems and Computer Networks

I am student at Baddi University of Emerging Sciences and Technologies. To help my friends in other universities, I am uploading my solved assignments of different courses. Its for Data Communication and Networks course. Other can see if they are searching following: Data, Communication, Assignment, Sender, Receiver, Binary, Lrc, Even, Parity, Binary, Code, Alphabet

Typology: Exercises

2011/2012

Uploaded on 08/01/2012

parmitaaaaa
parmitaaaaa 🇮🇳

4.2

(111)

173 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Assignment No. 5
Semester Spring 2012
Data Communication - CS601
Total Marks: 20
Due Date: 04-07-2012
GOOD LUCK
Q. 1. Suppose a sender sent a word “assignment” for which the receiver received the following binary:
“01100001011010010111001101101001011001110110111001101110011001010110111001110100”
By applying the complete process of LRC using even parity, you are required to check that, is the same word
received by the receiver or not? Also write the word received by the receiver.
Binary
Code
Alphabet Binary
Code
Alphabet Binary
Code
Alphabet Binary
Code
Alphabet
0110 0001 a 0110 1000 h 0110 1111 o 0111 0110 v
0110 0010 b 0110 1001 i 0111 0000 p 0111 0111 w
0110 0011 c 0110 1010 j 0111 0001 q 0111 1000 x
0110 0100 d 0110 1011 k 0111 0010 r 0111 1001 y
0110 0101 e 0110 1100 l 0111 0011 s 111 1010 z
0110 0110 f 0110 1101 m 0111 0100 t
0110 0111 g 0110 1110 n 0111 0101 u
Table 1
docsity.com
pf2

Partial preview of the text

Download LRC Using Even Parity, Binary Conversion-Data Communcation and Networks-Assignment Solution and more Exercises Data Communication Systems and Computer Networks in PDF only on Docsity!

Assignment No. 5 Semester Spring 2012 Data Communication - CS

Total Marks: 20

Due Date: 04-07-

GOOD LUCK

Q. 1. Suppose a sender sent a word “assignment” for which the receiver received the following binary: “01100001011010010111001101101001011001110110111001101110011001010110111001110100”

By applying the complete process of LRC using even parity , you are required to check that, is the same word received by the receiver or not? Also write the word received by the receiver.

Binary Code

Alphabet Binary Code

Alphabet Binary Code

Alphabet Binary Code

Alphabet

0110 0001 a 0110 1000 h 0110 1111 o 0111 0110 v

0110 0010 b 0110 1001 i 0111 0000 p 0111 0111 w

0110 0011 c 0110 1010 j 0111 0001 q 0111 1000 x

0110 0100 d 0110 1011 k 0111 0010 r 0111 1001 y

0110 0101 e 0110 1100 l 0111 0011 s 111 1010 z

0110 0110 f 0110 1101 m 0111 0100 t

0110 0111 g 0110 1110 n 0111 0101 u

Table 1

docsity.com

HINT: First convert the word “assignment” into binary equivalent with the help of the given

table 1.

The LRC calculated by the sender is not appended with the given binary. It is also your task to

calculate the LRC by yourself.

Solution

Step 1: Convert the word “assignment” into its Binary equitant form with the help of the given ASCII table, and calculate LRC of this converted Binary. Data sent from sender side

Sr. No. Alphabets Binary Codes 1 a 01100001 2 s 01110011 3 s^01110011 4 i 01101001 5 g 01100111 6 n^01101110 7 m 01101101 8 e 01100101 9 n 01101110 10 t^01110100 LRC 00010011

Step 2: Now check the LRC of the received Binary by segmenting the binary into octets (8 groups of binary numbers). You can also convert these octets into its equaling alphabet for further verification, but it is not necessary as you are required to follow the process of LRC. Data received at receiver side

Sr. No. Binary Codes Alphabets 1^01100001 a 2 01101001 i 3 01110011 s 4^01101001 i 5^01100111 g 6 01101110 n 7 01101110 n 8^01100101 e 9 01101110 n 10 01110100 t 00001010 LRC

Step 3: The calculated LRC (of data sent by sender) in first step is 00010011 and the LRC (of data received by receiver) in second step is 00001010. By Comparing both LRCs, we have come to know to know that receiver has not received the actual data sent by the sender.

docsity.com