This preview shows pages 1–4. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: ID: W0094835 Name: Tejas Patel Question – 4 W0094835 For giving input to the hamming code last two digits my student no w0094835 is 3 & 5 ASCII for the character 3 is 51 and binary is 00110011 ASCII for the character 5 is 53 and binary is 00110101 Input data for hamming code is 0011001100110101 1 2 3 4 5 6 7 8 9 1 1 1 1 2 1 3 1 4 1 5 16 1 7 1 8 1 9 2 21 E1 E2 E3 1 1 E4 1 1 1 E5 1 1 1 E1 × × × × × × × × × × × E2 × × × × × × × × × × E3 × × × × × × × × × × E4 × × × × × × × × E5 × × × × × × Now calculating E1 we take 1,3,5,7,9,11,13,15,17,19,21 bits For calculating E2 we take 2,3,6,7,10,11,14,15,18,19 bits For calculating E3 we take 4,5,6,7,12,13,14,15,20,21 bits For calculating E4 we take 8,9,10,11,12,13,14,15 bits For calculating E5 we take 16,17,18,19,20,21 bits E1 = 0+0+1+0+1+0+1+1+1+1 = 0 E2= 0+1+1+0+1+0+1+0+1 = 1 E3= 0+1+1+1+0+0+1+0+1 = 1 E4= 0+0+1+1+0+0+1 = 1 E5= 1+0+1+1+0+1 = 1 Hamming encoded code for the bits 35value is 01 1 011 1 0011001 1 10101. Thus hamming code is even parity. 1  P a g e ID: W0094835 Name: Tejas Patel Question 5. For giving input two digits of my student no w0094835 is 3 & 5 ASCII for the character 3 is 51 and binary is 00110011 ASCII for the character 5 is 53 and binary is 00110101 Input code which is M 00111001100110101 Given G as 110101 and degree r =5 there N = 0011100110011010100000 110101001100110011010100000 110101 110001 110101 100101 110101 100000 110101 101011 110101 111100 110101 100100 110101 100010 110101 101110 110101 11011 = Remainder. T = N + R = 0011100110011010100000 + 11011 0011100110011010111011 this is transmitted. 2  P a g e ID: W0094835 Name: Tejas Patel Question 1. Part A $ns at 3.0 "$ftp2 start" To $ns at 9.9 "$ftp2 start" We can clearly say that the shape of the average queue length graph has been uniform we change $ns at 9.9 ``$ftp2 start`` and this is maximum at almost 3 and min at almost 2.5. It is mainly due $ns at 9....
View
Full
Document
This note was uploaded on 04/27/2010 for the course IT csc8407 taught by Professor Bv during the Spring '10 term at South University Online.
 Spring '10
 bv

Click to edit the document details