Font size
WorksheetsВикторина без названия
Total questions: 112
Worksheet time: 56mins
______ indicate(s) an error in a received combination.
Parity bits
Error syndrome
Data bits
None of the given
... is a measure of uncertainty
A) Encoding
B) Entropy
C) Information
D) Redundancy
A code has two allowable combinations 101 and 010. Not for the error combination 001?
A) 101
B) 010
C) 001
D) None
A code has two allowable combinations 101 and 010. What is the allowable combination for the error combination 100?
A) 101
B) 010
C) 001
D) None
A code has two allowable combinations 101 and 010. What is the allowable combination for the error combination 000?
A) 101
B) 010
C) 001
D) None
A code has two allowable combinations 101 and 010. What is the allowable combination for the error combination 111?
A) 101
B) 010
C) 001
D) None
A code has two allowable combinations 101 and 010. What is the allowable combination for the error combination 011?
A) 101
B) 010
C) 001
D) None
A code has two allowable combinations 101 and 010. What is the allowable combination for the error combination 110?
A) 010
B) 101
C) 110
D) None
A codeword of the Hamming code consists of ________ and ________ bits.
A) data; parity
B) with errors; without errors
C) allowable; not allowable
D) none of the given
A Huffman code is a = 1, b = 000, c = 001, d = 01. Probabilities are p(a) = 0.4, p(b) = 0.1, p(c) = 0.2, p(d) = 0.3. The average length of codewords q is
A) 2.1 bit
B) 1.9 bit
C) 2.0 bit
D) 8.0 bit
A redundancy of a code S = ...
A) 1 - Iavr/Imax
B) Iavr/Imax
C) 1 + Iavr/Imax
D) Imax/Iavr
An average length of codewords qavr = ...
A) ∑ (pi*qi)
B) ∑ (pi/qi)
C) ∑pi / n
D) ∑qi / n
An efficiency of a code E = ...
A) Iavr/Imax
B) Imax/Iavr
C) Iavr/100
D) Imax - Iavrprefix
ASCII code is a
A) Variable length code
B) Fixed length code
C) Error-correction code
D) None of the given
By the Bayes' rule for conditional entropy H(Y|X) = ...
A) H(X|Y) - H(X) + H(Y)
B) [P(A)] /P(B)
C) H(X|Y) - H(X)
D) H(X|Y)+ H(Y)
By the Bayes' theorem ...
A) P(B|A) = P(A and B)/P(A)
B) P(A|B) = [P(B|A)][P(A)] /P(B)
C) P(B|A) = P(A and B)*P(A)
D) P(A|B) = [P(B|A)][P(A)] * P(B)
By the Chain rule H(X,Y) = H(Y|X) + ...
A) H(X)
B) H(Y)
C) H(Y|X)
D) H(X|Y)
By the Hartley's formula the amount of information I = ...
A) I = n*log m
B) I = m*n
C) I = log (m/n)
D) I = log (m*n)
By the Hartley's formula the entropy H = ...
A) H = - ∑(pi*log pi)
B) H = - ∑ (log pi)
C) H = log m
D) H = - ∑ (pi/log pi)
By the property of joint entropy H(X,Y) <= ...
A) H(X)
B) H(Y)
C) H(X) + H(Y)
D) None of the given
By the property of joint entropy H(X,Y) ...
A) H(X,Y) >= H(X) and H(X,Y) <= H(Y)
B) H(X,Y) <= H(X) and H(X,Y) >= H(Y)
C) H(X,Y) >= H(X) and H(X,Y) >= H(Y)
D) H(X,Y) >= H(X) + H(Y)
By the Shannon's formula the amount of information I = ...
A) H = - n ∑(pilog pi)
B) H = - n ∑ (log pi)
C) H = - n ∑ pi
D) H = - n * ∑ (pi/log pi)
By the Shannon's formula the entropy H = ...
A) H = - ∑(pi*log pi)
B) H = - ∑ (log pi)
C) H = - ∑ pi
D) H = - ∑ (pi/log pi)
Calculate the code rate for Hamming (15,11) code
A) 1
B) 0,733
C) 0,571
D) 0,839
Calculate the code rate for Hamming (31,26) code
A) 1
B) 0,839
C) 0,733
D) 0,571
Calculate the code rate for Hamming (7,4) code
A) 1
B) 0,571
C) 0,733
D) 0,839
Calculate the efficiency of the language if it has 32 letters and its I average is 1 bit.
A) 0,8
B) 0,2
C) 5
D) 1
Calculate the redundancy of the language if it has 32 letters and its I average is 1 bit.
A) 0,8
B) 0,2
C) 5
D) 1
Choose an example of block code
A) Shannon-Fano code
B) Huffman code
C) Hamming code
D) None of the given
Choose conditions of an optimal coding (p – probability, l – length of a code word)
A) pi < pj and li<=lj
B) pi > pj and li<=lj
C) pi > pj and li>=lj
D) none of the given
Choose the formula to create the Hamming code
A) (n, k) = (2r - 1, 2r - 1 - r)
B) (n, k) = (2r, 2r - 1 - r)
C) (n, k) = (2r - 1, 2r - r)
D) (n, k) = (2r - 1, 2r - 1 + r)
Choose the formula to determine the number N of possible messages with length n if the message source alphabet consists of m characters, each of which can be an element of the message.
A) N = mn
B) N = nm
C) N = m*n
D) N = log m
Code has dmin = 1. How many errors can be corrected by this code?
2
3
0
1
Code has dmin = 1. How many errors can be detected by this code?
2
3
0
1
Code has dmin = 10. How many errors can be detected by this code?
4
8
9
10
Code has dmin = 2. How many errors can be corrected by this code?
2
3
0
1
Code rate R (k information bits and n total bits) is defined as
A) k = n/R
B) R = k n
C) R = k/n
D) n = R k
Conditional entropy H(Y|X) lies between
A) - H(Y) and 0
B) 0 and H(Y)
C) - H(Y) and H(Y)
D) 0 and 1
Convert the message into a signal suitable for transmission over the channel of communication, referred to as …
A) Encoding
B) Decoding
C) Entropy
D) Redundancy
Determine the Hamming distance for code that can detect 3 errors and correct 2 errors.
6
5
7
9
Determine the Hamming distance for code that can detect 3 errors and correct 1 errors.
4
5
6
8
Determine the Hamming distance for code that can detect 5 errors and correct 3 errors.
9
8
10
14
Encode a string "0000" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
A) 0000001
B) 0000111
C) 0000000
D) 0000101
Encode a string "0001" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
0001010
0001001
0001011
0001111
Encode a string "0010" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
A) 0010010
B) 0010111
C) 0010110
D) 0010100
Encode a string "0011" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
A) 0011100
B) 0011001
C) 0011101
D) 0011111
Encode a string "0100" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
A) 0100011
B) 0100110
C) 0100111
D) 0100101
Encode a string "0101" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
A) 0101101
B) 0101000
C) 0101100
D) 0101110
The length of the message is 16 symbols and the message’s alphabet consists of 4 symbols. Find the amount of information in this message.
A) 16
B) 80
C) 64
D) 32
The efficiency of the language is 0,5 and its I average is equal to 1 bit. Calculate the number of letters in this language’s alphabet?
A) 64
B) 32
C) 4
D) 16
Elements of alphabets X and Y are statistically related. It is known that H(X)=4 bits and H(Y)=10 bits. What are a range of variation for a conditional entropy H(Y|X) when H(X|Y) changes from its min to max?
A) (from 7 to 11)
B) (from 4 to 12)
C) (from 6 to 10)
D) (from 6 to 11)
For Hamming distance dmin and r errors in the received word, the condition to be able to detect the errors is
A) dmin>= r+1
B) dmin>= 2r+1
C) dmin>= 2r+2
D) dmin>= r+2
For Hamming distance dmin and s errors in the received word, the condition to be able to correct the errors is
A) dmin>= s+1
B) dmin>= 2s+1
C) dmin>= 2s+2
D) dmin>= s+2
Hamming (7,4) code can correct ___ error(s)
2
3
1
0
Hamming distance can easily be found with ...
A) XNOR operation
B) XOR operation
C) OR operation
D) AND operation
How does a noise affect the data?
A) change only the 0 to 1
B) change only the 1 to 0
C) change the 0 to 1 and the 1 to 0
D) None of the above
How many data bits are in the (15, 11) Hamming code?
A) 11
B) 4
C) 15
D) 5
How many data bits are in the (31, 26) Hamming code?
A) 26
B) 31
C) 5
D) 4
A Huffman code is a = 0, b = 10, c = 110, d = 1110, e = 1111. Probabilities are p(a) = 0.50, p(b) = 0.30, p(c) = 0.15, p(d) = 0.03, p(e) = 0.02. The average length of a code words is
A) 1.75 bit
B) 2.0 bit
C) 1.3 bit
D) 1.7 bit
Which letter will get the shortest codeword after Huffman coding of the word «bbaacccabaac»?
A) a
B) b
C) c
D) none
An alphabet consist of the letters a, b, c, d, e and f. The probability of occurrence isp(a) = 0.06, p(b) = 0.15, p(c) = 0.4 and p(d) = 0.18, p(e)=0.17, p(f)=0.04. The Huffman code is
A) c=1,d=000,e=001,b=010,a=0110,f=0111
B) c=0,d=111,e=110,b=101,a=1001,f=1000
C) c=1,d=01,e=001,b=0000,a=00010,f=00011
D) c=1,d=01,e=001,b=000,a=0010,f=00011
E) c=0,d=101,e=110,b=101,a=1000,f=1001
If k - number of bits before Hamming encoding and n - number of bits after Hamming encoding then
A) k > n
B) k < n
C) k = n
D) k = 1/2 n
In digital communication system, smaller the code rate, ... are the redundant bits.
A) less
B) equal
C) more
D) unpredictable
Main idea of error control codes is
A) To add some redundancy
B) To delete some redundancy
C) To double all bits
D) None of the given
Noise affects ...
A) information source
B) receiver
C) channel
D) transmitter
Shannon-Fano and Huffman codes are an encoding algorithms used for
A) lossy data compression
B) lossless data compression
C) error correction
D) error detection
Specify the case when entropy is maximum
A) p1=0,5 and p2=0,5
B) p1=1 and p2=0
C) p1=0 and p2=1
D) p1=0,9 and p2=0,1
Specify the error position in the string "0001110", if the initial string was encoded with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
A) i4
B) i1
C) i2
D) r2
Specify the error position in the string "1000110", if the initial string was encoded with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
A) i1
B) i4
C) i2
D) i3
Specify the error position in the string "1001010", if the initial string was encoded with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
A) r2
B) r1
C) r3
D) i3
Specify the error position in the string "1001100", if the initial string was encoded with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
A) r3
B) r2
C) r1
D) no error
Specify the error position in the string "1001110", if the initial string was encoded with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
A) r1
B) no error
C) r2
D) i4
Specify the formula to find the amount of information if events have different probabilities.
A) Hartley's formula
B) Shannon's formula
C) Fano's formula
D) Bayes' formula
Specify the formula to find the amount of information if events have the same probabilities.
Shannon's formula
Hartley's formula
Fano's formula
Bayes' formula
Specify the right formula if dmin is Hamming distance, s - number of correctable errors and r - number of detecteable errors.
A) dmin>= s+r+1
B) dmin>= 2s+r+1
C) dmin>= s+2r+1
D) dmin>= s+r+2
Suppose the letters a, b, c, d, e, f have probabilities 1/2, 1/4, 1/8, 1/16, 1/32, 1/32 respectively. Which of the following is the Huffman code for the letter a, b, c, d, e, f?
A) 11, 10, 011, 010, 001, 000
B) 0, 10, 110, 1110, 11110, 11111
C) 11, 10, 01, 001, 0001, 0000
D) 110, 100, 010, 000, 001, 111
Suppose the letters a, b, c, d, e, f have probabilities 1/2, 1/4, 1/8, 1/16, 1/32, 1/32 respectively. What is the average length q of the Huffman code?
A) 3,0
B) 1,9
C) 2,7
D) 4,3
The amount of information in the message is 120 bits. Calculate the length of this message, which is written by characters of 16-character alphabet.
A) 30
B) 480
C) 120
D) 130
The amount of information in the message is 60 bits. Calculate the length of this message, which is written by characters of 4-character alphabet.
A) 30
B) 60
C) 15
D) 510
The basic idea behind Shannon-Fano coding is to
A) compress data by using more bits to encode more frequently occuring characters
B) compress data by using fewer bits to encode more frequently occuring characters
C) compress data by using fewer bits to encode fewer frequently occuring characters
D) expand data by using fewer bits to encode more frequently occuring characters
The efficiency of the language is 0,25 and its I average is 1 bit. Calculate the number of letters in this language's alphabet?
A) 32
B) 16
C) 8
D) 64
The first code combination is 0000 and the Hamming distance of this code equals 4. Choose the second combination.
A) 1111
B) 1011
C) 0011
D) 0000
The Hamming code is a method of _______.
A) Error control coding
B) Optimal coding
C) None of the above
The Hamming distance between "client" and "server" is
A) 0
B) 1
C) 6
D) impossible to detect
The Hamming distance between "make" and "made" is
A) 4
B) 3
C) 1
D) impossible to detect
The Hamming distance between "push" and "pull" is
A) 0
B) 4
C) 2
D) impossible to detect
The Hamming distance between "starting" and "finishing" is
A) 4
B) 3
C) impossible to detect
D) 5
The Hamming distance between 001111 and 010011 is
1
2
3
4
The Hamming distance between 010111 and 010011 is
1
2
3
4
The Hamming distance between 011111 and 010011 is
1
2
3
4
The Hamming distance between 101001 and 010011 is
1
2
3
4
The length of the message is 6 symbols and the message's alphabet consists of 32 symbols. Find the amount of information in this message.
A) 30
B) 6
C) 32
D) 24
The redundancy of the language is 0,75 and its I average is 1 bit. Calculate the number of letters in this language's alphabet?
32
16
8
24
The string was encoded with Hamming (7,4) code using the structure (i1, i2, i3, i4, r1, r2, r3). After a channel the error syndrome is 000. Specify the position of the error.
A) i1
B) r1
C) no error
D) r3
The string was encoded with Hamming (7,4) code using the structure (i1, i2, i3, i4, r1, r2, r3). After a channel the error syndrome is 001. Specify the position of the error.
A) i1
B) r1
C) no error
D) r3
This is the method for data processing for reducing errors during transmission via channel with noise.
A) Error Correction code
B) Uniform code
C) Non-uniform code
D) Optimal code
We can divide coding schemes into two broad categories: ________ and ______coding.
A) block; linear
B) linear; nonlinear
C) block; convolution
D) none of the given
What is the first step of Shannon-Fano algorithm?
A) Characters of the original alphabet are setted in descending order of probability.
B) Letters divided to the two subsets so that the overall probability of these subsets were about equal.
C) For all characters (letters) of the top subset assign a code element 1, and for characters of the lower subset the 0 code.
D) For all characters (letters) of the top subset assign a code element 0, and for characters of the lower subset the 1 code.
What is the Hamming distance between two strings of equal length?
A) the number of positions at which the corresponding symbols are different
B) the number of positions at which the corresponding symbols are equal
C) the number of identical symbols in the first string
D) the number of identical symbols in the second string
What is the meaning of number “2” in the formula I = n*log2m?
A) Binary number system
B) Message length equals to 2
C) It hasn’t any meaning
D) Information is measured in nits
What is the sample space of one dice roll?
A) {1,2,3,4,5,6}
B) {1,3,5}
C) {2,4,6}
D) {1,2,3,4,5,6,7,8,9,10,11,12}
When the base of the logarithm is 10, then the unit of measure of information is
A) bytes
B) dits
C) nits
D) bits
When the base of the logarithm is 2, then the unit of measure of information is
A) bytes
B) dits
C) nits
D) bits
010 is
A) bytes
B) dits
C) nits
D) bits
Which letter will get the shortest codeword after Huffman coding of the word "abracadabra"?
A) c
B) r
C) d
D) a
Which of the following codes can be the Huffman code for the letters a,b,c,d,e?
A) 10,011,11,001,010
B) 0,10,110,1110,1111
C) 10,01,0001,100,1010
D) 100,110,001,000,010
Which of the following codes has the highest code rate?
A) code rate is constant for all of the Hamming codes
B) Hamming (31,26)
C) Hamming (15,11)
D) Hamming (7,4)
Which of the following codes has the highest redundancy?
A) code rate is constant for all of the Hamming codes
B) Hamming (31,26)
C) Hamming (15,11)
D) Hamming (7,4)
Which of the following codes is prefix?
A) 0, 111, 11
B) 0, 111, 10
C) 0, 101, 10
D) 00, 10, 101
Which of the following codes is prefix?
A) 0, 01, 11
B) 0, 10, 11
C) 0, 10, 1
D) 0, 01, 001
Which of the following codes is uniform?
10,011,11,001,010
0,10,110,1110,1111
10,01,0001,100,1010
100,110,001,000,010
Which of the following symbols will get the shortest codeword after Shannon-Fano coding if probabilities are p(a) = 0.05, p(b) = 0.6, p(c) = 0.2 and p(d) = 0.15?
a
b
c
d
