B2P2 - Information theory and lossless compression Flashcards

1
Q

ASCII coding

A

a standard 7-bit code for repping a source alphabet of 128 symbols, comprising the letters A-Z (upper and lower case), the numerals 0-9 and various other symbols and control characters;

ASCII = American Standard Code for Information Interchange;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

binary-coded decimal (BCD)

A

a code for binary rep of decimal numbers in which each of the decimal digits 0-9 is repped by a four-bit code word that is the binary equivalent of the decimal value;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

code tree (decision tree)

A

a graphical rep of a procedure for the generation and decoding of instantaneous codes;

[e.g. a Huffman code tree?]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

compression

A

in the context of source coding, the reduction of the number of bits required to rep a source;

compression may be either lossy or lossless;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

entropy

A

in information theory, the entropy of an information source is the theoretical minimum number of bits per symbol needed to rep the transmitted symbols;

it is a measure of the rate at which information is being transmitted from the source;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Huffman coding

A

a procedure in which source symbols with the highest probabilities are allocated systematically to the shortest code words;

Huffman coding results in a maximally efficient source code;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

information theory

A

a body of theory that addresses fundamental performance limits of communications systems;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

instantaneously decodable code

A

a code that is not only uniquely decodable, but for which each received code word can be decoded immediately after it has been received;

it is not necessary to wait for any later code words;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Lempel-Ziv-Welch (LZW)

A

a method of compression based on detecting patterns in data, assigning short codes to them, and then using those codes when the same patterns appear again;

[is a generalisation of RLE];

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

lossless compression

A

any source coding technique that enables an exact reconstruction of the original source data from the compressed rep;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

lossy compression

A

any source coding technique where there is an irreversible loss of information, and only an approximate version of the original source data can be reconstructed from the compressed data;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

message

A

in the context of information theory as formulated by Claude Shannon, an information source generates a sequence of messages to be sent over a comms channel;

each message consists of a source symbol that is selected from the source alphabet;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

prefix

A

in the context of source coding, a code that also forms the first part of another code;

e.g. 11 would be a prefix code for the code 1101;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

pseudocode

A

a semi-formal description of an algorithm using the conventions of computer programming but intended for a human reader;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

run-length encoding (RLE)

A

a method fo data compression based on sending numbers that indicate the lengths of runs of symbols of the same type;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

source alphabet

A

in the context of information theory, the set of all possible source symbols that may be used for the message to be communicated over the channel;

17
Q

source coding

A

coding that can be either lossless or lossy, and has the aim of repping a source input signal by the minimum number of bits without exceeding some defined level of distortion;

18
Q

source extension

A

the effective source when source symbols are grouped together;

[A.to(generating new numbers out of the digits 0-9; generating new words out of the letters A-Z);

19
Q

uniquely decodable code

A

a code for which any sequence of code words has only one possible decoding;

a uniquely decodable code is not necessarily instantaneously decodable;

it may be necessary to wait until all of the code sequence has been received before earlier code words can be decoded;