• Keine Ergebnisse gefunden

Compare the average word length with the Shannon-Fano encoding

N/A
N/A
Protected

Academic year: 2022

Aktie "Compare the average word length with the Shannon-Fano encoding"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Problem sheet 3, 2005, Oct. 19 MT441 Channels 1 Ex. 1

Use Huffman’s encoding for the source given in example 2.4.2 (p1 = 0.6, p2 = 0.13, p3 = 0.12, p4 = 0.1, p5 = 0.05). Compare the average word length with the Shannon-Fano encoding.

Also calculate the entropy H=−P

pilog2pi and compare.

Ex. 2

Use Shannon-Fano encoding for the source given in example 2.5.4 (p1 = 0.5, p2 = 0.2, p3 = 0.15, p4 = 0.1, p5 = 0.05). Compare the average word length with the Hufmann coding. Also calculate the entropyH and compare.

Ex. 3

Find a simple necessary codition so that in Kraft’s and McMillan’s inequality equality

= 1 can hold. In the noiseless coding therem, when can the lower bound be attained?

Ex. 4

Compare the noiseles coding theorem with the length of a compact encoding of 2k−1 binary words with equal probabilityp= 2k1−1.

Ex. 5

You are allowed six questions that will truthfully be answered by Yes or NO. Describe briefly a strategy how one can determine one square of a chessboard (64 squares).

How many questions does one need to specify one square on andn×n board?

Ex. 6

Examine whether the following three codes are uniquley decipherable, prefix codes, and/or instantaneous codes.

C1 ={0,010,01,10}, C2={10,00,11,110}, C3 ={0,10,110,111}.

(Prove your statements).

Ex. 7

You are given a balance and nine apparently identical coins. One coin is different from the rest. Devise a strategy of three weigings to find the coin and whether it is heavier or lighter. Try to generalise.

To be returned in one week, before the lecture.

My web page contains a collection of related material.

http://www.ma.rhul.ac.uk/∼elsholtz/WWW/lectures/0506mt441/lecture.html

Referenzen

ÄHNLICHE DOKUMENTE

However, as also mentioned in the first section of this article, the ruling also stated that the protocols “cannot be interpreted...in a way that would contradict the provisions

When we accept the concept of continuum, when we accept therefore the fact that we can define an association somewhere in the space of vegetation according to our decision, we

Work with licenses offers two kinds of challenges: one is the terminology that should be common to all parties and as consistent as possible. In practice the terms used

The staged scene of unity between the military and various political groups on the day of Morsi’s overthrow masked a divergent vision for the future of Egypt and an imbalance

In the first study, on the contrary, teacher tutors’ summative assessments were more accurate than student tutor’s summative assessments because the teacher

While it is certain that with lower divorce costs more individuals may decide to change their marital status from single to married in the first period, the extent any cost effects

Given that Greece is a member of the European Union and the Union's new structural policies recognised in the Maastricht Treaty initialised a new phase, where the elimination

Other uses of kitsch and trivials were described by the outstanding author Jerzy Andrzejewski who wrote that 'contempt for substantive and artistic kitsch seems to me as absurd