Question: Section 1 . Entropy You are playing an on - line card game that uses a deck of 1 0 0 cards containing: 3 Aces
Section Entropy
You are playing an online card game that uses a deck of cards containing:
Aces
Kings
Queens
Jacks
Tens
In each round of the game the cards are shuffled, you make a bet about what type of card will be drawn,
then a single card is drawn and the winners are paid off. The card is reinserted into the deck before the next
round begins.
How much information do you receive when told that a Queen has been drawn during the current round?
Give a numeric expression for the average information content received when learning about the
outcome of a round. The value of the numeric expression is
Construct a variablelength Huffman encoding that minimizes the length of messages that report the
outcome of a sequence of rounds. The outcome of a single round is encoded as A ace K king Q queen
J jack or X ten Specify your encoding for each A K Q J and X Using your code, what is the expected
length of a message reporting the outcome of rounds ie a message that contains symbols
Same question as the previous one but using ShannonFano instead of Huffman.
The Monaco Gaming Commission regularly received messages in which the outcome for each round is
encoded using the symbols A K Q J and X They discover that a large number of messages describing the
outcome of rounds ie messages with symbols can be compressed by the LZW algorithm into
files of size bytes in total. They immediately issue an indictment for running a crooked game. Briefly
explain their reasoning.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
