SlideShare a Scribd company logo
1 of 3
Download to read offline
EE 333, Communication Networks
Mid-Term Exam (2014-15S)
Maximum Marks = 30 Time = 2 hours
1. For N-packet blocks, let XN be the time taken from the instant the transmission of the block begins for the first
time to the time when the transmission of the next block can be started.
(a) N=1
   1 1
1
1
1
1
2 2 (1 )
1 2
2
where
1 2
X T d T d X
d
XT d dTX b
T b T
 


 


     
 
  
            
 
[2]
(b) N=2
   
 
2 2
2 2
2
1
2
2
(2 2 ) 2 2 2 (1 ) 2 2 (1 )
(2 ) (2 2 ) 2( 2 )(1 ) 2 (2 ) 2 (3 2 )
2 2 (3 2 ) 1 (3 2 )
(2 ) (2 )
T d
X T d T d T d X
X T d T d T d
T d b
X
   

    
 

     

 
          
 
         
  
     
  
[4]
(c) N=3 with d=0 10 20
2T T
X X
 
 
     
   
 
 
3 2 2 3
30 10 20 30
3 2
30
2 3 2
30
2 2
30
30
30
3 3 3 (1 ) 3 3 (1 ) 3 (1 )
1 (1 ) 3 3 (1 ) 6(1 )
3 3 3 1 (1 ) 2(1 )
3 3 3 3 3
3 3
X T T X T X T X
X T T T
X T
X T
T T
X
X
     
   
     
    
 

         
        
        
      
   
[4]
We can logically argue that in this ARQ scheme, each packet is sent α-1
times as in a simple Stop-&-Wait ARQ
system. (This is because every packet is repeated until it is correctly received and only the packets in error are
repeated.) The differences between schemes with different block-lengths arise only because of the effects of the
propagation delay d. When d=0, all the schemes will perform similarly and will have the same efficiency as the
equivalent Stop-&-Wait approach.
2. (a) Consider the code word to be 1 2
1 2 1 0( ) ...........n n
n nT x T x T x T x T 
     
A circular right shift of T(x) by one position yields the polynomial T*(x) as follows –
1 2 3
0 1 2 2 1*( ) ...........n n n
n nT x T x T x T x T x T  
      
Note that T*(x) can also be obtained by circularly left shifting T(x) by n-1 positions.
We can show (given below) that circularly left shifting T(x) by one position also creates a code word.
Therefore, circularly left shifting by n-1 positions will also create a code word.
To show that circularly left shifting T(x) by one position creates another code word -
Circular Left shift by one position, 1 1 1
ˆ( ) ( ) ( ) (1 )n n
n n nT x xT x T x T xT x T x       
In ˆ( )T x , (a) T(x) is obviously divisible by g(x)
(b) (1+xn
) has (1+x) as a factor and (1+xn
) is also divisible by P(x). Therefore (1+xn
) is also
divisible by g(x)
Therefore ˆ( )T x is also a code word.
(b) Comparing ( )C x and ( )C x , it is easy to see that the error polynomial ( )E x is –
10 9 8 4 2
( ) 1E x x x x x x     
This error pattern will be detectable if ( )E x is divisible by ( )g x . We can check this by long division
and verify that Rem
10 9 8 4 2
8 2
1
0
1
x x x x x
x x x
     
 
   
Note: Actually 10 9 8 4 2 2 8 2
1 ( 1)( 1)x x x x x x x x x x           from the long division
Therefore, the error pattern ( )E x will not be detectable by CRC-8 and ( )C x will be accepted by the
receiver as a valid code word.
We can also verify that
17 14 12 11 10 9 7 5 4 2
9 6 4 8 2
( ) 1
( 1)( 1)
C x x x x x x x x x x x x
x x x x x x
           
      
Therefore ( )C x is indeed a valid code word and will be accepted by the receiver.
[By long division, we get
17 14 12 11 8 7 5 9 6 4 2 8 2
( ) ( )( 1)C x x x x x x x x x x x x x x x x x                 ]
3.
(a) State Transition Diagram
(b) 3 2 2 2 2 2 2
0 1 1 23 (1 ) (1 ) (1 ) 2 (1 ) 2 (1 )P q q q P q q P q q q q q P q q                       
Therefore,
2 2
1 0 2 1 02 2 4
(3 2 ) 1 (3 2 )(1 )
(1 ) 2(1 ) 2(1 )
q q q q q q q q
P P P P P
q q q
     
  
  
(c) It is easy to show that  2 2
0 1 2 33 (1 ) 3 (1 )S q q P P P P q q      
Differentiating this with respect to q, we find that the maximum occurs at
1
3
q  and the
maximum value of S is max
4
0.444
9
S  

More Related Content

What's hot

Deep Recurrent Neural Networks with Layer-wise Multi-head Attentions for Punc...
Deep Recurrent Neural Networks with Layer-wise Multi-head Attentions for Punc...Deep Recurrent Neural Networks with Layer-wise Multi-head Attentions for Punc...
Deep Recurrent Neural Networks with Layer-wise Multi-head Attentions for Punc...Seokhwan Kim
 
Estimation of numerical schemes in heat convection by OpenFOAM
Estimation of numerical schemes in heat convection by OpenFOAMEstimation of numerical schemes in heat convection by OpenFOAM
Estimation of numerical schemes in heat convection by OpenFOAMtakuyayamamoto1800
 
Time complexity (linear search vs binary search)
Time complexity (linear search vs binary search)Time complexity (linear search vs binary search)
Time complexity (linear search vs binary search)Kumar
 
Week3 ap3421 2019_part1
Week3 ap3421 2019_part1Week3 ap3421 2019_part1
Week3 ap3421 2019_part1David Cian
 
Composition Of Functions & Difference Quotient
Composition Of Functions & Difference QuotientComposition Of Functions & Difference Quotient
Composition Of Functions & Difference Quotientcpirie0607
 
Orthogonal basis and gram schmidth process
Orthogonal basis and gram schmidth processOrthogonal basis and gram schmidth process
Orthogonal basis and gram schmidth processgidc engineering college
 
2021 Quantum Challenge ex.1
2021 Quantum Challenge ex.12021 Quantum Challenge ex.1
2021 Quantum Challenge ex.1RikuyaKubota
 
Temp kgrindlerverthree
Temp kgrindlerverthreeTemp kgrindlerverthree
Temp kgrindlerverthreefoxtrot jp R
 
Convergence methods for approximated reciprocal and reciprocal-square-root
Convergence methods for approximated reciprocal and reciprocal-square-rootConvergence methods for approximated reciprocal and reciprocal-square-root
Convergence methods for approximated reciprocal and reciprocal-square-rootKeigo Nitadori
 
Linear Cryptanalysis Lecture 線形解読法
Linear Cryptanalysis Lecture 線形解読法Linear Cryptanalysis Lecture 線形解読法
Linear Cryptanalysis Lecture 線形解読法Kai Katsumata
 

What's hot (18)

Deep Recurrent Neural Networks with Layer-wise Multi-head Attentions for Punc...
Deep Recurrent Neural Networks with Layer-wise Multi-head Attentions for Punc...Deep Recurrent Neural Networks with Layer-wise Multi-head Attentions for Punc...
Deep Recurrent Neural Networks with Layer-wise Multi-head Attentions for Punc...
 
Discretization
DiscretizationDiscretization
Discretization
 
Estimation of numerical schemes in heat convection by OpenFOAM
Estimation of numerical schemes in heat convection by OpenFOAMEstimation of numerical schemes in heat convection by OpenFOAM
Estimation of numerical schemes in heat convection by OpenFOAM
 
Time complexity (linear search vs binary search)
Time complexity (linear search vs binary search)Time complexity (linear search vs binary search)
Time complexity (linear search vs binary search)
 
Week3 ap3421 2019_part1
Week3 ap3421 2019_part1Week3 ap3421 2019_part1
Week3 ap3421 2019_part1
 
QMC: Operator Splitting Workshop, Forward-Backward Splitting Algorithm withou...
QMC: Operator Splitting Workshop, Forward-Backward Splitting Algorithm withou...QMC: Operator Splitting Workshop, Forward-Backward Splitting Algorithm withou...
QMC: Operator Splitting Workshop, Forward-Backward Splitting Algorithm withou...
 
Lec10
Lec10Lec10
Lec10
 
Signals Processing Assignment Help
Signals Processing Assignment HelpSignals Processing Assignment Help
Signals Processing Assignment Help
 
Composition Of Functions & Difference Quotient
Composition Of Functions & Difference QuotientComposition Of Functions & Difference Quotient
Composition Of Functions & Difference Quotient
 
Orthogonal basis and gram schmidth process
Orthogonal basis and gram schmidth processOrthogonal basis and gram schmidth process
Orthogonal basis and gram schmidth process
 
002 ray modeling dynamic systems
002 ray modeling dynamic systems002 ray modeling dynamic systems
002 ray modeling dynamic systems
 
2021 Quantum Challenge ex.1
2021 Quantum Challenge ex.12021 Quantum Challenge ex.1
2021 Quantum Challenge ex.1
 
Randomized algorithms ver 1.0
Randomized algorithms ver 1.0Randomized algorithms ver 1.0
Randomized algorithms ver 1.0
 
Temp kgrindlerverthree
Temp kgrindlerverthreeTemp kgrindlerverthree
Temp kgrindlerverthree
 
Convergence methods for approximated reciprocal and reciprocal-square-root
Convergence methods for approximated reciprocal and reciprocal-square-rootConvergence methods for approximated reciprocal and reciprocal-square-root
Convergence methods for approximated reciprocal and reciprocal-square-root
 
Signal Processing Assignment Help
Signal Processing Assignment HelpSignal Processing Assignment Help
Signal Processing Assignment Help
 
Digital Signal Processing Assignment Help
Digital Signal Processing Assignment HelpDigital Signal Processing Assignment Help
Digital Signal Processing Assignment Help
 
Linear Cryptanalysis Lecture 線形解読法
Linear Cryptanalysis Lecture 線形解読法Linear Cryptanalysis Lecture 線形解読法
Linear Cryptanalysis Lecture 線形解読法
 

Viewers also liked

BEye product presentation
BEye product presentationBEye product presentation
BEye product presentationBEye
 
Doing a TED Talk_ The Full Story - Wait But Why
Doing a TED Talk_ The Full Story - Wait But WhyDoing a TED Talk_ The Full Story - Wait But Why
Doing a TED Talk_ The Full Story - Wait But WhyGary Reece
 
SNCR OnStar Final PR 12.31.15
SNCR OnStar Final PR 12.31.15SNCR OnStar Final PR 12.31.15
SNCR OnStar Final PR 12.31.15Brent Wilkins
 
Autoradio dvd gps skoda
Autoradio dvd gps skodaAutoradio dvd gps skoda
Autoradio dvd gps skodaradiovoiture
 
FYE 2015_Got Motivation combined_final
FYE 2015_Got Motivation combined_finalFYE 2015_Got Motivation combined_final
FYE 2015_Got Motivation combined_finalLeah Hoops
 
Introduction to a Responsive Master Page with the Design Manager
Introduction to a Responsive Master Page with the Design ManagerIntroduction to a Responsive Master Page with the Design Manager
Introduction to a Responsive Master Page with the Design ManagerShareGate
 
Apego al tratamiento con cpap
Apego al tratamiento con cpapApego al tratamiento con cpap
Apego al tratamiento con cpapCesar Salazar P
 
SPSDenver - SharePoint & jQuery - What I wish I would have known
SPSDenver - SharePoint & jQuery - What I wish I would have knownSPSDenver - SharePoint & jQuery - What I wish I would have known
SPSDenver - SharePoint & jQuery - What I wish I would have knownMark Rackley
 

Viewers also liked (11)

BEye product presentation
BEye product presentationBEye product presentation
BEye product presentation
 
Doing a TED Talk_ The Full Story - Wait But Why
Doing a TED Talk_ The Full Story - Wait But WhyDoing a TED Talk_ The Full Story - Wait But Why
Doing a TED Talk_ The Full Story - Wait But Why
 
SNCR OnStar Final PR 12.31.15
SNCR OnStar Final PR 12.31.15SNCR OnStar Final PR 12.31.15
SNCR OnStar Final PR 12.31.15
 
Autoradio dvd gps skoda
Autoradio dvd gps skodaAutoradio dvd gps skoda
Autoradio dvd gps skoda
 
FYE 2015_Got Motivation combined_final
FYE 2015_Got Motivation combined_finalFYE 2015_Got Motivation combined_final
FYE 2015_Got Motivation combined_final
 
Introduction to a Responsive Master Page with the Design Manager
Introduction to a Responsive Master Page with the Design ManagerIntroduction to a Responsive Master Page with the Design Manager
Introduction to a Responsive Master Page with the Design Manager
 
Cpap
CpapCpap
Cpap
 
Cpap uso y causas
Cpap uso y causasCpap uso y causas
Cpap uso y causas
 
Apego al tratamiento con cpap
Apego al tratamiento con cpapApego al tratamiento con cpap
Apego al tratamiento con cpap
 
SPSDenver - SharePoint & jQuery - What I wish I would have known
SPSDenver - SharePoint & jQuery - What I wish I would have knownSPSDenver - SharePoint & jQuery - What I wish I would have known
SPSDenver - SharePoint & jQuery - What I wish I would have known
 
Mit Fm
Mit FmMit Fm
Mit Fm
 

Similar to Mid term solution

Signal and Systems part i
Signal and Systems part iSignal and Systems part i
Signal and Systems part iPatrickMumba7
 
8fbf4451c622e6efbcf7452222d21ea5_MITRES_6_007S11_hw02.pdf
8fbf4451c622e6efbcf7452222d21ea5_MITRES_6_007S11_hw02.pdf8fbf4451c622e6efbcf7452222d21ea5_MITRES_6_007S11_hw02.pdf
8fbf4451c622e6efbcf7452222d21ea5_MITRES_6_007S11_hw02.pdfTsegaTeklewold1
 
3. Frequency-Domain Analysis of Continuous-Time Signals and Systems.pdf
3. Frequency-Domain Analysis of Continuous-Time Signals and Systems.pdf3. Frequency-Domain Analysis of Continuous-Time Signals and Systems.pdf
3. Frequency-Domain Analysis of Continuous-Time Signals and Systems.pdfTsegaTeklewold1
 
On approximate bounds of zeros of polynomials within
On approximate bounds of zeros of polynomials withinOn approximate bounds of zeros of polynomials within
On approximate bounds of zeros of polynomials withineSAT Publishing House
 
Asymptotic Behavior of Solutions of Nonlinear Neutral Delay Forced Impulsive ...
Asymptotic Behavior of Solutions of Nonlinear Neutral Delay Forced Impulsive ...Asymptotic Behavior of Solutions of Nonlinear Neutral Delay Forced Impulsive ...
Asymptotic Behavior of Solutions of Nonlinear Neutral Delay Forced Impulsive ...IOSR Journals
 
Crib Sheet AP Calculus AB and BC exams
Crib Sheet AP Calculus AB and BC examsCrib Sheet AP Calculus AB and BC exams
Crib Sheet AP Calculus AB and BC examsA Jorge Garcia
 
Contemporary communication systems 1st edition mesiya solutions manual
Contemporary communication systems 1st edition mesiya solutions manualContemporary communication systems 1st edition mesiya solutions manual
Contemporary communication systems 1st edition mesiya solutions manualto2001
 
EC8352-Signals and Systems - Laplace transform
EC8352-Signals and Systems - Laplace transformEC8352-Signals and Systems - Laplace transform
EC8352-Signals and Systems - Laplace transformNimithaSoman
 
Low rank tensor approximation of probability density and characteristic funct...
Low rank tensor approximation of probability density and characteristic funct...Low rank tensor approximation of probability density and characteristic funct...
Low rank tensor approximation of probability density and characteristic funct...Alexander Litvinenko
 
Univariate Financial Time Series Analysis
Univariate Financial Time Series AnalysisUnivariate Financial Time Series Analysis
Univariate Financial Time Series AnalysisAnissa ATMANI
 
Ray : modeling dynamic systems
Ray : modeling dynamic systemsRay : modeling dynamic systems
Ray : modeling dynamic systemsHouw Liong The
 
E041046051
E041046051E041046051
E041046051inventy
 
Phase-Type Distributions for Finite Interacting Particle Systems
Phase-Type Distributions for Finite Interacting Particle SystemsPhase-Type Distributions for Finite Interacting Particle Systems
Phase-Type Distributions for Finite Interacting Particle SystemsStefan Eng
 
Sns mid term-test2-solution
Sns mid term-test2-solutionSns mid term-test2-solution
Sns mid term-test2-solutioncheekeong1231
 
State Space Realizations_new.pptx
State Space Realizations_new.pptxState Space Realizations_new.pptx
State Space Realizations_new.pptxMohdNajibAliMokhtar
 

Similar to Mid term solution (20)

Signal and Systems part i
Signal and Systems part iSignal and Systems part i
Signal and Systems part i
 
8fbf4451c622e6efbcf7452222d21ea5_MITRES_6_007S11_hw02.pdf
8fbf4451c622e6efbcf7452222d21ea5_MITRES_6_007S11_hw02.pdf8fbf4451c622e6efbcf7452222d21ea5_MITRES_6_007S11_hw02.pdf
8fbf4451c622e6efbcf7452222d21ea5_MITRES_6_007S11_hw02.pdf
 
3. Frequency-Domain Analysis of Continuous-Time Signals and Systems.pdf
3. Frequency-Domain Analysis of Continuous-Time Signals and Systems.pdf3. Frequency-Domain Analysis of Continuous-Time Signals and Systems.pdf
3. Frequency-Domain Analysis of Continuous-Time Signals and Systems.pdf
 
residue
residueresidue
residue
 
On approximate bounds of zeros of polynomials within
On approximate bounds of zeros of polynomials withinOn approximate bounds of zeros of polynomials within
On approximate bounds of zeros of polynomials within
 
Asymptotic Behavior of Solutions of Nonlinear Neutral Delay Forced Impulsive ...
Asymptotic Behavior of Solutions of Nonlinear Neutral Delay Forced Impulsive ...Asymptotic Behavior of Solutions of Nonlinear Neutral Delay Forced Impulsive ...
Asymptotic Behavior of Solutions of Nonlinear Neutral Delay Forced Impulsive ...
 
Crib Sheet AP Calculus AB and BC exams
Crib Sheet AP Calculus AB and BC examsCrib Sheet AP Calculus AB and BC exams
Crib Sheet AP Calculus AB and BC exams
 
Contemporary communication systems 1st edition mesiya solutions manual
Contemporary communication systems 1st edition mesiya solutions manualContemporary communication systems 1st edition mesiya solutions manual
Contemporary communication systems 1st edition mesiya solutions manual
 
EC8352-Signals and Systems - Laplace transform
EC8352-Signals and Systems - Laplace transformEC8352-Signals and Systems - Laplace transform
EC8352-Signals and Systems - Laplace transform
 
kactl.pdf
kactl.pdfkactl.pdf
kactl.pdf
 
Low rank tensor approximation of probability density and characteristic funct...
Low rank tensor approximation of probability density and characteristic funct...Low rank tensor approximation of probability density and characteristic funct...
Low rank tensor approximation of probability density and characteristic funct...
 
Univariate Financial Time Series Analysis
Univariate Financial Time Series AnalysisUnivariate Financial Time Series Analysis
Univariate Financial Time Series Analysis
 
Ray : modeling dynamic systems
Ray : modeling dynamic systemsRay : modeling dynamic systems
Ray : modeling dynamic systems
 
002 ray modeling dynamic systems
002 ray modeling dynamic systems002 ray modeling dynamic systems
002 ray modeling dynamic systems
 
lec07_DFT.pdf
lec07_DFT.pdflec07_DFT.pdf
lec07_DFT.pdf
 
E041046051
E041046051E041046051
E041046051
 
Phase-Type Distributions for Finite Interacting Particle Systems
Phase-Type Distributions for Finite Interacting Particle SystemsPhase-Type Distributions for Finite Interacting Particle Systems
Phase-Type Distributions for Finite Interacting Particle Systems
 
Sns mid term-test2-solution
Sns mid term-test2-solutionSns mid term-test2-solution
Sns mid term-test2-solution
 
State Space Realizations_new.pptx
State Space Realizations_new.pptxState Space Realizations_new.pptx
State Space Realizations_new.pptx
 
Online Signals and Systems Assignment Help
Online Signals and Systems Assignment HelpOnline Signals and Systems Assignment Help
Online Signals and Systems Assignment Help
 

More from Gopi Saiteja

More from Gopi Saiteja (20)

Trees gt(1)
Trees gt(1)Trees gt(1)
Trees gt(1)
 
Topic11 sortingandsearching
Topic11 sortingandsearchingTopic11 sortingandsearching
Topic11 sortingandsearching
 
Heapsort
HeapsortHeapsort
Heapsort
 
Hashing gt1
Hashing gt1Hashing gt1
Hashing gt1
 
Ee693 sept2014quizgt2
Ee693 sept2014quizgt2Ee693 sept2014quizgt2
Ee693 sept2014quizgt2
 
Ee693 sept2014quizgt1
Ee693 sept2014quizgt1Ee693 sept2014quizgt1
Ee693 sept2014quizgt1
 
Ee693 sept2014quiz1
Ee693 sept2014quiz1Ee693 sept2014quiz1
Ee693 sept2014quiz1
 
Ee693 sept2014midsem
Ee693 sept2014midsemEe693 sept2014midsem
Ee693 sept2014midsem
 
Ee693 questionshomework
Ee693 questionshomeworkEe693 questionshomework
Ee693 questionshomework
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
 
Cs105 l15-bucket radix
Cs105 l15-bucket radixCs105 l15-bucket radix
Cs105 l15-bucket radix
 
Chapter11 sorting algorithmsefficiency
Chapter11 sorting algorithmsefficiencyChapter11 sorting algorithmsefficiency
Chapter11 sorting algorithmsefficiency
 
Answers withexplanations
Answers withexplanationsAnswers withexplanations
Answers withexplanations
 
Sorting
SortingSorting
Sorting
 
Solution(1)
Solution(1)Solution(1)
Solution(1)
 
Pthread
PthreadPthread
Pthread
 
Open mp
Open mpOpen mp
Open mp
 
Introduction
IntroductionIntroduction
Introduction
 
Cuda
CudaCuda
Cuda
 
Vector space interpretation_of_random_variables
Vector space interpretation_of_random_variablesVector space interpretation_of_random_variables
Vector space interpretation_of_random_variables
 

Mid term solution

  • 1. EE 333, Communication Networks Mid-Term Exam (2014-15S) Maximum Marks = 30 Time = 2 hours 1. For N-packet blocks, let XN be the time taken from the instant the transmission of the block begins for the first time to the time when the transmission of the next block can be started. (a) N=1    1 1 1 1 1 1 2 2 (1 ) 1 2 2 where 1 2 X T d T d X d XT d dTX b T b T                                   [2] (b) N=2       2 2 2 2 2 1 2 2 (2 2 ) 2 2 2 (1 ) 2 2 (1 ) (2 ) (2 2 ) 2( 2 )(1 ) 2 (2 ) 2 (3 2 ) 2 2 (3 2 ) 1 (3 2 ) (2 ) (2 ) T d X T d T d T d X X T d T d T d T d b X                                                          [4] (c) N=3 with d=0 10 20 2T T X X                   3 2 2 3 30 10 20 30 3 2 30 2 3 2 30 2 2 30 30 30 3 3 3 (1 ) 3 3 (1 ) 3 (1 ) 1 (1 ) 3 3 (1 ) 6(1 ) 3 3 3 1 (1 ) 2(1 ) 3 3 3 3 3 3 3 X T T X T X T X X T T T X T X T T T X X                                                                [4] We can logically argue that in this ARQ scheme, each packet is sent α-1 times as in a simple Stop-&-Wait ARQ system. (This is because every packet is repeated until it is correctly received and only the packets in error are repeated.) The differences between schemes with different block-lengths arise only because of the effects of the propagation delay d. When d=0, all the schemes will perform similarly and will have the same efficiency as the equivalent Stop-&-Wait approach.
  • 2. 2. (a) Consider the code word to be 1 2 1 2 1 0( ) ...........n n n nT x T x T x T x T        A circular right shift of T(x) by one position yields the polynomial T*(x) as follows – 1 2 3 0 1 2 2 1*( ) ...........n n n n nT x T x T x T x T x T          Note that T*(x) can also be obtained by circularly left shifting T(x) by n-1 positions. We can show (given below) that circularly left shifting T(x) by one position also creates a code word. Therefore, circularly left shifting by n-1 positions will also create a code word. To show that circularly left shifting T(x) by one position creates another code word - Circular Left shift by one position, 1 1 1 ˆ( ) ( ) ( ) (1 )n n n n nT x xT x T x T xT x T x        In ˆ( )T x , (a) T(x) is obviously divisible by g(x) (b) (1+xn ) has (1+x) as a factor and (1+xn ) is also divisible by P(x). Therefore (1+xn ) is also divisible by g(x) Therefore ˆ( )T x is also a code word. (b) Comparing ( )C x and ( )C x , it is easy to see that the error polynomial ( )E x is – 10 9 8 4 2 ( ) 1E x x x x x x      This error pattern will be detectable if ( )E x is divisible by ( )g x . We can check this by long division and verify that Rem 10 9 8 4 2 8 2 1 0 1 x x x x x x x x             Note: Actually 10 9 8 4 2 2 8 2 1 ( 1)( 1)x x x x x x x x x x           from the long division Therefore, the error pattern ( )E x will not be detectable by CRC-8 and ( )C x will be accepted by the receiver as a valid code word. We can also verify that 17 14 12 11 10 9 7 5 4 2 9 6 4 8 2 ( ) 1 ( 1)( 1) C x x x x x x x x x x x x x x x x x x                    Therefore ( )C x is indeed a valid code word and will be accepted by the receiver. [By long division, we get 17 14 12 11 8 7 5 9 6 4 2 8 2 ( ) ( )( 1)C x x x x x x x x x x x x x x x x x                 ]
  • 3. 3. (a) State Transition Diagram (b) 3 2 2 2 2 2 2 0 1 1 23 (1 ) (1 ) (1 ) 2 (1 ) 2 (1 )P q q q P q q P q q q q q P q q                        Therefore, 2 2 1 0 2 1 02 2 4 (3 2 ) 1 (3 2 )(1 ) (1 ) 2(1 ) 2(1 ) q q q q q q q q P P P P P q q q             (c) It is easy to show that  2 2 0 1 2 33 (1 ) 3 (1 )S q q P P P P q q       Differentiating this with respect to q, we find that the maximum occurs at 1 3 q  and the maximum value of S is max 4 0.444 9 S  