A card is drawn from a pack of 52 cards. The probability of getting a king of heart is
1/26
1/52
1/13
2/13
A card is drawn from a pack of 52 cards. The probability of getting a queen or a king of heart is
A code has two allowable combinations 101 and 010. What is the allowable combination for the error combination 001?
101
010
001
None
A code has two allowable combinations 101 and 010. What is the allowable combination for the error combinat
01
100
A code has two allowable combinations 101 and 010. What is the allowable combination for the error combination 000?
000
51. Code has dmin = 9. How many errors can be corrected by this code?
5
7
4
8
A code has two allowable combinations 101 and 010. What is the allowable combination for the error combination 111?
111
52. Code has dmin = 9. How many errors can be detected by this code?
9
57. Determine the Hamming distance for code that can detect 3 errors and correct 2 errors.
6
A code has two allowable combinations 101 and 010. What is the allowable combination for the error combination 011?
011
58. Determine the Hamming distance for code that can detect 3 errors and correct 1 errors.
A code has two allowable combinations 101 and 010. What is the allowable combination for the error combination 110?
110
59. Determine the Hamming distance for code that can detect 5 errors and correct 3 errors.
10
14
A fair coin is tossed four times, the probability of getting four heads is
1/4
1/16
1
1/2
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
2.1 bit
1.9 bit
2.0 bit
8.0 bit
60. Encode a string "0000" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
0000001
0000111
0000000
0000101
An alphabet consist of the letters a, b, c and d. The probability of occurrence is \n p(a) = 0.4, p(b) = 0.1, p(c) = 0.2 and p(d) = 0.3. The Huffman code is
a=0,b=111,c=11,d=101
a=0,b=110,c=111,d=10
a=0,b=11,c=10,d=111
a=01,b=111,c=110,d=10
61. Encode a string "0001" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
0001010
0001001
0001011
0001111
Bag contain 10 black and 20 white balls, One ball is drawn at random. What is the probability that ball is white
2/3
1/3
4/3
62. Encode a string "0010" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
0010010
0010111
0010110
0010100
Calculate the code rate for Hamming (15,11) code
0,73
0,571
0,839
63. Encode a string "0011" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
0011100
0011001
0011101
0011111
64. Encode a string "0100" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
0100011
0100110
0100111
0100101
Calculate the code rate for Hamming (31,26) code
0,733
65. Encode a string "0101" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
0101101
0101000
0101100
0101110
Calculate the code rate for Hamming (7,4) code
Calculate the efficiency of the language if it has 32 letters and its I average is 1 bit.
0,8
0,2
66. Encode a string "0110" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
0110101
0110011
0110001
0110000
Calculate the redundancy of the language if it has 32 letters and its I average is 1 bit.
Code has dmin = 1. How many errors can be corrected by this code?
2
3
0
67. Encode a string "0111" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
0111110
0111000
0111010
0111011
Code has dmin = 1. How many errors can be detected by this code?
68. Encode a string "1000" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
1000111
1000100
1000101
1000001
Code has dmin = 10. How many errors can be detected by this code?
Code has dmin = 11. How many errors can be corrected by this code?
11
69. Encode a string "1001" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
1001111
1001010
1001110
1001100
70. Encode a string "1010" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
1010111
1010001
1010011
1010010
71. Encode a string "1011" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
1011100
1011010
1011000
1011001
72. Encode a string "1100" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
1100110
1100000
1100010
1100011
73. Encode a string "1101" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
1101101
1101011
1101001
1101000
74. Encode a string "1110" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
1110000
1110101
1110100
1110110
75. Encode a string "1111" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
1111110
1111011
1111111
1111101
76. Find the information amount of a symbol from the language with total number of symbols n = 18.
I = log218
I = log182
I = 18 * log218
I = 18 * log182
83. If a card is chosen from a pack of 52 cards, what is the probability of getting a five or a seven?
4/52
8/52
1/169
84. In a box, there are 8 red, 7 blue and 6 green balls. One ball is picked up randomly. What is the probability that it is neither blue nor green?
8/21
3/7
9/22
87. In a throw of dice what is the probability of getting number greater than 5.
1/6
1/5
96. Specify the error position in the string "0000110", if the initial string was encoded with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
i1
i2
i3
i4
97. 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)
r2
98. Specify the error position in the string "0011001", if the initial string was encoded with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
r1
r3
99. Specify the error position in the string "0101011", if the initial string was encoded with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
100. Specify the error position in the string "0101110", if the initial string was encoded with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1,
no error