Question 1
Question
A card is drawn from a pack of 52 cards. The probability of getting a king of heart is
Question 2
Question
A card is drawn from a pack of 52 cards. The probability of getting a queen or a king of heart is
Question 3
Question
A code has two allowable combinations 101 and 010. What is the allowable combination for the error combination 001?
Question 4
Question
A code has two allowable combinations 101 and 010. What is the allowable combination for the error combinat
Question 5
Question
A code has two allowable combinations 101 and 010. What is the allowable combination for the error combination 000?
Question 6
Question
51. Code has dmin = 9. How many errors can be corrected by this code?
Question 7
Question
A code has two allowable combinations 101 and 010. What is the allowable combination for the error combination 111?
Question 8
Question
52. Code has dmin = 9. How many errors can be detected by this code?
Question 9
Question
57. Determine the Hamming distance for code that can detect 3 errors and correct 2 errors.
Question 10
Question
A code has two allowable combinations 101 and 010. What is the allowable combination for the error combination 011?
Question 11
Question
58. Determine the Hamming distance for code that can detect 3 errors and correct 1 errors.
Question 12
Question
A code has two allowable combinations 101 and 010. What is the allowable combination for the error combination 110?
Question 13
Question
59. Determine the Hamming distance for code that can detect 5 errors and correct 3 errors.
Question 14
Question
A fair coin is tossed four times, the probability of getting four heads is
Question 15
Question
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
Answer
-
2.1 bit
-
1.9 bit
-
2.0 bit
-
8.0 bit
Question 16
Question
60. Encode a string "0000" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
Answer
-
0000001
-
0000111
-
0000000
-
0000101
Question 17
Question
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
Answer
-
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
Question 18
Question
61. Encode a string "0001" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
Answer
-
0001010
-
0001001
-
0001011
-
0001111
Question 19
Question
Bag contain 10 black and 20 white balls, One ball is drawn at random. What is the probability that ball is white
Question 20
Question
62. Encode a string "0010" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
Answer
-
0010010
-
0010111
-
0010110
-
0010100
Question 21
Question
Calculate the code rate for Hamming (15,11) code
Question 22
Question
63. Encode a string "0011" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
Answer
-
0011100
-
0011001
-
0011101
-
0011111
Question 23
Question
64. Encode a string "0100" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
Answer
-
0100011
-
0100110
-
0100111
-
0100101
Question 24
Question
Calculate the code rate for Hamming (31,26) code
Question 25
Question
65. Encode a string "0101" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
Answer
-
0101101
-
0101000
-
0101100
-
0101110
Question 26
Question
Calculate the code rate for Hamming (7,4) code
Question 27
Question
Calculate the efficiency of the language if it has 32 letters and its I average is 1 bit.
Question 28
Question
66. Encode a string "0110" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
Answer
-
0110101
-
0110011
-
0110001
-
0110000
Question 29
Question
Calculate the redundancy of the language if it has 32 letters and its I average is 1 bit.
Question 30
Question
Code has dmin = 1. How many errors can be corrected by this code?
Question 31
Question
67. Encode a string "0111" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
Answer
-
0111110
-
0111000
-
0111010
-
0111011
Question 32
Question
Code has dmin = 1. How many errors can be detected by this code?
Question 33
Question
68. Encode a string "1000" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
Answer
-
1000111
-
1000100
-
1000101
-
1000001
Question 34
Question
Code has dmin = 10. How many errors can be detected by this code?
Question 35
Question
Code has dmin = 11. How many errors can be corrected by this code?
Question 36
Question
69. Encode a string "1001" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
Answer
-
1001111
-
1001010
-
1001110
-
1001100
Question 37
Question
70. Encode a string "1010" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
Answer
-
1010111
-
1010001
-
1010011
-
1010010
Question 38
Question
71. Encode a string "1011" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
Answer
-
1011100
-
1011010
-
1011000
-
1011001
Question 39
Question
72. Encode a string "1100" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
Answer
-
1100110
-
1100000
-
1100010
-
1100011
Question 40
Question
73. Encode a string "1101" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
Answer
-
1101101
-
1101011
-
1101001
-
1101000
Question 41
Question
74. Encode a string "1110" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
Answer
-
1110000
-
1110101
-
1110100
-
1110110
Question 42
Question
75. Encode a string "1111" with Hamming (7,4) code using the following structure (i1, i2, i3, i4, r1, r2, r3)
Answer
-
1111110
-
1111011
-
1111111
-
1111101
Question 43
Question
76. Find the information amount of a symbol from the language with total number of symbols n = 18.
Answer
-
I = log218
-
I = log182
-
I = 18 * log218
-
I = 18 * log182
Question 44
Question
83. If a card is chosen from a pack of 52 cards, what is the probability of getting a five or a seven?
Question 45
Question
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?
Question 46
Question
87. In a throw of dice what is the probability of getting number greater than 5.
Question 47
Question
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)
Question 48
Question
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)
Question 49
Question
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)
Question 50
Question
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)
Question 51
Question
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,