5CS3-01-ITC - Guess Paper @rawcoderz
5CS3-01-ITC - Guess Paper @rawcoderz
Q. 2 Explain the uncertainty? Also define information? How can we measure the information
Solution :
Conditions of Occurrence of Events
If we consider an event, there are three conditions of occurrence.
If the event has not occurred, there is a condition of uncertainty.
If the event has just occurred, there is a condition of surprise.
If the event has occurred, a time back, there is a condition of having some information
ARYA INSTITUTE OF ENGINEERING & TECHNOLOGY, JAIPUR
GUESS PAPERS SOLUTION
(IIIyr B. Tech. V Semester)
5CS3-01 INFORMATION THEORY AND CODEING
Q. 3 What is entropy? Explain its properties
Solution :
ARYA INSTITUTE OF ENGINEERING & TECHNOLOGY, JAIPUR
GUESS PAPERS SOLUTION
(IIIyr B. Tech. V Semester)
5CS3-01 INFORMATION THEORY AND CODEING
ARYA INSTITUTE OF ENGINEERING & TECHNOLOGY, JAIPUR
GUESS PAPERS SOLUTION
(IIIyr B. Tech. V Semester)
5CS3-01 INFORMATION THEORY AND CODEING
Q. 4 What is conditional entropy and joint entropy. Define the relation between the joint and conditional
entropy.
Solution:
ARYA INSTITUTE OF ENGINEERING & TECHNOLOGY, JAIPUR
GUESS PAPERS SOLUTION
(IIIyr B. Tech. V Semester)
5CS3-01 INFORMATION THEORY AND CODEING
I(X;Y)= H(X)+H(Y)-H(X/Y)
(ii)
ARYA INSTITUTE OF ENGINEERING & TECHNOLOGY, JAIPUR
GUESS PAPERS SOLUTION
(IIIyr B. Tech. V Semester)
5CS3-01 INFORMATION THEORY AND CODEING
Q. 3 A binary channel matrix is given by
𝟐/𝟑 𝟏/𝟑
𝟏/𝟏𝟎 𝟗/𝟏𝟎
L = P(x1)n1 + P(x2)n2
= 0.9 * 1 + 0.1 * 1
=1
Q. 5 A source Produces one of four possible messages during each interval having probabilities p1=1/2,
p2=1/4, p3=1/8 and p4=1/8. Obtain the information content of each of these messages
Solution:
I= log 1/p(x)
I1=1 bit
I2=2 bit
I3=3 bit
I3=3 bit
ARYA INSTITUTE OF ENGINEERING & TECHNOLOGY,
TECHNOLOGY JAIPUR
GUESS PAPERS SOLUTION
(IIIyr B. Tech. V Semester)
5CS3-01
01 INFORMATION THEORY AND CODEING
Unit 2:
Short Answers
[X] X1 X2 X3 X4 X5 X6 X7
Assume M=2
[X] X1 X2 X3 X4 X5 X6 X7
Q. 5 Seven alphabets with Probabilities {0.25, 0.25, 0.125, 0.125, 0.125, 0.0625, and 0.0625} for source symbols
{s1, s2, s3, s4, s5, s6, s7}. Find Huffman Code of each source symbol.
Solution:
ARYA INSTITUTE OF ENGINEERING & TECHNOLOGY, JAIPUR
GUESS PAPERS SOLUTION
(IIIyr B. Tech. V Semester)
5CS3-01 INFORMATION THEORY AND CODEING
Unit 3:
Short Answers
By elementary operations on rows in the generator matrix, the code may be transformed into systematic form
ARYA INSTITUTE OF ENGINEERING & TECHNOLOGY, JAIPUR
GUESS PAPERS SOLUTION
(IIIyr B. Tech. V Semester)
5CS3-01 INFORMATION THEORY AND CODEING
Q. 3 define the following :
i. Code word
An (n, k) linear code is a k-dimensional subspace of the vector space of all the binary n-tuples, so it is
possible to find k linearly independent code words g0, g1, · · · , gk−1 to span this space
ii. Code rate
Code rate =k/n
iii. Hamming distance
Hamming distance between two codewords c1 and c2, d(c1, c2), is defined as the number of locations in which
their respective elements differ. Hamming weight, w(c), of a code vector c is defined as the number of
nonzero elements in the vectors. The minimum distance, dmin, of a linear block code is defined as the smallest
Hamming distance between any pair of code vectors in the code.
iv. Code efficiency
Ratio of message bits to the no. of transmitted bits per block
𝒄𝟒 = 𝒎𝟏 ⊕ 𝒎𝟐 ⊕ 𝒎𝟑
𝒄𝟓 = 𝒎𝟏 ⊕ 𝒎𝟐
𝒄𝟔 = 𝒎𝟏 ⊕ 𝒎𝟑
Q. 2 Write short note on linear block codes. Explain how are the received codeword are decode. What are the
advantages of LBC?
Solution :
ARYA INSTITUTE OF ENGINEERING & TECHNOLOGY, JAIPUR
GUESS PAPERS SOLUTION
(IIIyr B. Tech. V Semester)
5CS3-01 INFORMATION THEORY AND CODEING
ARYA INSTITUTE OF ENGINEERING & TECHNOLOGY, JAIPUR
GUESS PAPERS SOLUTION
(IIIyr B. Tech. V Semester)
5CS3-01 INFORMATION THEORY AND CODEING
Q. 3 Consider a (7, 4) linear code whose generator matrix is
G=
1 0 0 0 1 0 1
0 1 0 0 1 1 1
0 0 1 0 1 1 0
0 0 0 1 0 1 1
ii. Show that if Ci and Cj aretwo code vectors in an (n,k) LBC,then their sum is also a code vector
Unit 4:
Short Answers
Q. 3 differentiate between source coding, line coding and error detection coding
Solution:
ARYA INSTITUTE OF ENGINEERING & TECHNOLOGY, JAIPUR
GUESS PAPERS SOLUTION
(IIIyr B. Tech. V Semester)
5CS3-01 INFORMATION THEORY AND CODEING
Q. 4 What are systematic codes and non systematic cyclic codes?
reminder =0
ARYA INSTITUTE OF ENGINEERING & TECHNOLOGY, JAIPUR
GUESS PAPERS SOLUTION
(IIIyr B. Tech. V Semester)
5CS3-01 INFORMATION THEORY AND CODEING
Q. 5 write a short note on BCH codes and R-S codes
Bose-Chaudhuri-Hocquenghem (BCH) codes offer flexibility in the selection of the block length and code
rate, and can be designed for correction of any given number of errors. A fast decoding algorithm can be
employed for hard-decision decoding of the BCH codes. For any integer m≥3 and 0<t<2m−1, there exists a t-
error-correcting BCH (n, k) code with n=2m−1 and n−k≤mt, whose minimum distance dmin is bounded as
follows: 2t+1≤dmin≤2t+2. BCH codes can be defined in the binary field, such as the Hamming codes, and in
the non-binary (symbol) field, such as the Reed-Solomon codes
For single error-correcting codes, if the total number of bits in a transmitted codeword is n,
then m=n−k check bits must be able to indicate at least n+1 different states. Of these, one state means no
error, and n states indicate the location of an error in each of the n positions, where it is also possible to have
an error in the redundancy bits themselves. So n+1 states must be discoverable by n−k bits, and n−k bits can
indicate 2n−k different states. Therefore, we must have 2n−k≥n+1 or equivalently 2m−1≥n, for an (n, k) code
with single error-correcting capability.
Hamming codes have dmin=3, and thus t=1, i.e., a single error can be corrected regardless of the number of
parity-check bits. An (n, k) Hamming code has m=n−k parity-check bits, where n=2m−1 and k=2m−1−m,
for m≥3. The parity-check matrix H of a Hamming code has m rows and n columns, and the last n−k columns
must be chosen such that it forms an identity matrix. No column consists of all zeros; each column is unique
and has m elements. In view of this, the syndrome of all single errors will be distinct and single errors can be
detected. By increasing the number of parity check bits k, the error-correcting capability remains unchanged
(i.e., t=1), but the code rate kn improves, of course at the expense of additional encoding and decoding
complexity
ARYA INSTITUTE OF ENGINEERING & TECHNOLOGY, JAIPUR
GUESS PAPERS SOLUTION
(IIIyr B. Tech. V Semester)
5CS3-01 INFORMATION THEORY AND CODEING
Unit 5:
Short Answers
Convolution code is an alternative to block codes, where n outputs at any given time unit depend on k inputs at that
time unit as well as m previous input blocks. An (n, k, m) convolution code can be developed with k inputs, n output
sequential circuit, and m input memory. The memory m must be large enough to achieve low error probability,
whereas k and n are typically small integers with k < n. An important special case is when k = 1, the information
sequence is not divided into blocks and can be processed continuously.
Convert any length message to a single ‘codeword’ • Encoder has memory and has n outputs that at any time depend
on k inputs and m previous input blocks
• Typically described by 3 parameters: –
n= no. of bits produced at encoder output at each time unit –
k= no. of bits input to encoder at each time unit
– And one of:
• m = memory of encoder = no. of prev. input blocks used to generate each output
(or)
• K = constraint length = max. no. of bits in a single output stream that can be affected by any input bit = 1+ maxi mi
ARYA INSTITUTE OF ENGINEERING & TECHNOLOGY, JAIPUR
GUESS PAPERS SOLUTION
(IIIyr B. Tech. V Semester)
5CS3-01 INFORMATION THEORY AND CODEING
Q. 2 what are advantages and disadvantages of convolution codes
Solution :
Advantages
Storage hardware required by convolution decoder is less
Decoding delay is small
Synchronization problem doesn’t affect the performance of convolution codes
Disadvantages :
They are difficult to analyse
They are not developed
Descriptive Answers
i. Find the constraint length and the rate efficiency of the code
ii. Assume the initial content of the register to be zero and find the code block for the messgae input
message block 1101010
Solution:
Constraint length =nN
Where n=3
N=2
Code rate = k/n=2/3
Input :1101 01
C1=D’1+D2’
C2=d1’+d2’+d2’’
C3=d1’+d1’’+d2’’