recategorized by
2,932 views

1 Answer

3 votes
3 votes

$A - 1110$

$B - 0$

$C - 10$

$D - 110$

$E - 1111$

Avg length = $ 4 * (0.08) + 1*(0.4) + 2*(0.25) + 3*(0.15) + 4*(0.12)$ = 2.15

edited by

Related questions

0 votes
0 votes
3 answers
1
Pooja Khatri asked Jul 13, 2018
3,601 views
Consider the set of all possible five-card poker hands dealt fairly from a standard deck of fifty-two cards. How many atomic events are there in the joint probability dis...
1 votes
1 votes
3 answers
3
Pooja Khatri asked Jul 13, 2018
3,336 views
Consider the array A=<4, 1, 3, 2, 16, 9, 10, 14, 8, 7>. After building heap from the array A, the depth of the heap and the right child of max-heap are ______ and _____ r...
0 votes
0 votes
2 answers
4
Pooja Khatri asked Jul 13, 2018
8,888 views
A hash function h defined h(key)=key mod 7, with linear probing, is used to insert the keys 44, 45, 79, 55, 91, 18, 63 into a table indexed from 0 to 6. What will be the ...