Beruflich Dokumente
Kultur Dokumente
ELECTRONIC, ELECTRICAL
& COMPUTER ENGINEERING
EE1F1
Introduction to Information Engineering
First Examination
0411186 EE1F1
The marks allocated to each part of each question are shown in square brackets
in the right-hand margin.
TURN OVER
1
A21088 Any Calculator
1. (a) Consider a signal S which, after sampling and quantising, takes values
in the set {2E, E, 0, -E, -2E}, where E stands for the TTL voltage.
2 TURN OVER
A21088 Any Calculator
Question 2 Continued
(b) (i) Explain why the Manchester coding requires twice the bandwidth
of bipolar coding. [2]
3. (a) Consider the structure of data constituted of 4 data bits and one parity
bit. Let A be the codeword 10110.
(iv) Identify an error vector e containing only one single 1 and all
other components are zero-valued such that A T =cTv +eT
( cTv stands for a valid codeword of A). [2]
(i) Compare bit rate to channel capacity when the signal to noise
ratio is 30 dB. [4]
(ii) Explain the purpose of the Nyquist pulse and give an example.
[2]
3 END OF PAPER
Module: EE1F1 Year: 2009-10 Question: 1
Type: Sessional Level: UG Examiner: MO
ELECTRONIC, ELECTRICAL
& COMPUTER ENGINEERING Marks allocated: 20/20 Page 1 / 1
Marks
Part Solution
allocated
a i) 2
- Compatibility with computers and Digital Signal Processing units
ii) There are 5 distinct values on the set, this requires 3 bits (since 23 =8) while 2 3
bits were not enough since 22 =4 < 5.
iii) Bit rate = number of bits per sample x number of samples per second = 3 x 3
1000=3000 bits/s
b i)
Probability of occurrence of x = number of occurrences of x / total occurrences of 3
all symbols
P(a) = 2 /(2+5+1+4) = 2/12 = 1/6
P(c) = 5/(2+5+1+4) = 5/12
P(e) = 1/12
P(f) = 4/12 = 1/3
ii)
Information content of x =I(x) = - log(P(x)) 3
I(a) = -log2(1/6) = log2(6) = 2.58
I(c) = -log2(5/12) = log2(12/5) = 1.26
I(e) = -log2(1/12) = log2(12) = 3.58
I(f) = -log2(3/4) = log2(4/3) = 0.41
iv) The entropy of the source is maximal if all the symbols are equally probable.
Therefore, given that there are 4 symbols, the probability of each symbol should be 2
= 0.25. For a total of 12 occurrences of all symbol, this yields 12/4 = 3
occurrence of each symbol.
Module: EE1F1 Year: 2009-10 Question: 2
Type: Sessional Level: UG Examiner: MO
ELECTRONIC, ELECTRICAL
& COMPUTER ENGINEERING Marks allocated: 20/20 Page 1 / 2
Marks
Part Solution
allocated
a i) Shannon-Fano coding algorithm starts by ordering the symbols in descending 3
order of their probabilities. Next, it divides the set of symbols into two sections
such that the total probability of the first section is close as possible to the total
probability of the second section. Next, assign a bit 0 for top section and 1 for
bottom section. The above process is repeated for both the top and top sections
until the section contains only one single element.
ii)
A2 (0.3) 0.55 0.3 0
0
A5 (0.25) 0.25 1 6
A1 (0.2) 0.2 0
1
A4 (0.15) 0.45 0.15 0
Codes:
A2 00
A5 01
A1 10
A4 110
A3 111
(Give 4 points for graph construction, 1 point for correct code, and 1 point for
average bit number calculation)
iii) A2 code is uniquely decodeable since there is no other code among the symbol 2
codes starting with 00, idem for 01, 10, 110 and 111.
iv) The entropy rate of the data source is equivalent to the average number of bits 1
per symbol needed to encode it. Also, in Shannons definition of entropy, the latter
determines the minimum channel capacity to reliably transmit the source as
Module: EE1F1 Year: 2009-10 Question: 2
Type: Sessional Level: UG Examiner: MO
ELECTRONIC, ELECTRICAL
& COMPUTER ENGINEERING Marks allocated: 20/20 Page 2 / 2
Marks
Part Solution
allocated
encoded binary digits.
b i ) Manchester coding requires twice bandwidth because for every time interval of a 2
single digit (bit period), there is a transition at the middle where in the first half
matches the information bit and the second half is its complement.
c ASK has a symmetrical spectrum about a carrier frequency. Therefore, the carrier
frequency must be in the centre of the available bandwidth. So, carrier frequency fc
= (300+2100)/2 = 1200Hz
The ASK modulating signal has frequency components at the fundamental 4
frequency f1 and also at multiple three times that frequency, so the bandwidth W is:
W =(fc+3f1)-(fc-3f1) = 6f1.
Since there are 2bits/Hz of fundamental frequency f1, we can relate the signalling
rate to bandwidth as f1=R/2 or R=2f1 = W/3 = (2100-300)/3 = 900 Hz/s
Module: EE1F1 Year: 2009-10 Question: 3
Type: Sessional Level: UG Examiner: MO
ELECTRONIC, ELECTRICAL
& COMPUTER ENGINEERING Marks allocated: 20/20 Page 1 / 2
Marks
Part Solution
allocated
a i) This representation only allows us to check the validity of the input in overall 2
but cannot identify which bit is faulty. For instance, several representations of
data yields the same parity bit, i.e., 10010, 10100, 11000, 00110, 01010 are all
validcodewords.
ii)
H= [1 1 1 1 1]
1
0
4
For codeword A. H. AT = [1 1 1 1 1]. 1 = 1
1
0
This shows that A is not a valid codeword
iii) The codewords 10111 and 11110 are situated at distance 1 from A 2
iv) [1 0 1 1 0] T = [1 1 1 1 0] T + [0 1 0 0 0]T. So, e =[0 1 0 0 0]. 2
v) In the Hamming code, there is a need to have a codeword of length 7 while it is 2
only 5 in the previous case, so Hamming (7,4) cannot be used.
b i)
First 6-level signalling requires 3 bits representation (23=8, while 2 bits yields only 4
22=4 level signalling) 2000Hz channel capacity with 6 level-signalling yields
Bite rate = 2 * bandwidth *number of bits = 2 *2000*3 = 12000 bits /s.
The Channel capacity is given by C =W log2(1+SNR)
30dB SNR is equivalent to 10 log10(S/N) = 30, so S/N = 103 = 1000
So, C = 2000 log2(1+1000) = 19934 bits/s = 19.93 Kb/s
ii) The Nyquist pulse is the one that meets the Nyquist IST criterion describing the
conditions which, when satisfied by the communication system, results in no 2
intersymbol interference. Examples of functions that meet this requirements are the
sinc function, i.e., sinc(x) = sin(x) / x.
Module: EE1F1 Year: 2009-10 Question: 3
Type: Sessional Level: UG Examiner: MO
ELECTRONIC, ELECTRICAL
& COMPUTER ENGINEERING Marks allocated: 20/20 Page 2 / 2
Marks
Part Solution
allocated
iii)
data rate of wire lines < data rate of coaxial lines < data rate of optical fibre 2