Assignment 1 Itt300
Assignment 1 Itt300
Assignment 1 Itt300
ASSIGNMENT 1
1. Assuming even parity, find the parity bit for each of the following data units
a. 1001011
b. 0001100
c. 1000000
d. 1110111
e. 1010101
2. If the dataword is 1111 11, the divisor is 1010, what is the remainder? What is the
110011
1010 √ 11111100 0
1010_ _ _ _
101 1
101 0 __ _
00 11
00 00_____
0 110
0 000_____
1100
1010____
110 0
101 0__
_11 0 __=remainder ,codework received at receiver is 1111 1111 0.
3. If the data unit is 100100 and the divisor 1101, what is the dividend at the transmitter?
111101
1101 √ 10010000 0
1101_ _ _ _
100 0
110 1 __ _
10 10
1101_____
1 110
1 010_____
0110
0000____
110 0
110 1__
c. If the receiver receives the bit pattern 110110111111, is there an error in the
1001 0010 1
1100_ _ _ _
001 1
000 0 __ _
01 10
00 00_____
1 101
1 100_____
0011
0000____
011 1
000 0__
11 10
11 00 __
0 100
0 000___
1000
1100__
_ 100__=remainder
5. Using the following codewords : 1100 1, 1001 1, 1111 1, 0100 1, 0010 0, 0101 0.
a)
dimensional Even Parity Check is used, determine the parity bits. Identify the actual
1111 111 1
0000 001 1
1101 000 1 Parity bits
0001 111 0
0011 001 1
Parity Bits
1011 0110
+ 1110 0010
1 1001 1000
+ 1
1001 1001
+ 1011 1001
1 0101 0010
+ ___1
0101 0011
+ 1010 1100
1111 1111=there are no error, the outcome are found to be one, hence no error received.
8. Assume a packet is made only of four 16 bits word A7A2, CABF, 903A, and A123. Find
A7A2
+ CABF
1 7261
+ 1
7262
+ 903A
1 0290
+ 1
029D
+ A123
A3CO=SUM
3456
+ ABCC
E022
+ 02BC
E2DE
+ EEEE
1D1CC
+ 1
DICD=SUM
2E32=CHECKSUM
DICD
+ 2E32
Hamming code error detection mechanism, find the datawords and check if there is an
Datawords Codewords
00 00000
01 11100
10 10011
11 01111
Hamming Distance Table
D min,Minimun distance =2
D min=S+1,
S= 2-1,
S=1,
In this case,there is an error because the output doesn’t match with the codework.