Prefix code: Difference between revisions

Content deleted Content added
m Reverted edits by 173.72.27.72 (talk) to last version by Citation bot 1
added: machine code
Line 5:
Using prefix codes, a message can be transmitted as a sequence of concatenated code words, without any [[out-of-band]] markers to [[framing (telecommunication)|frame]] the words in the message. The recipient can decode the message unambiguously, by repeatedly finding and removing prefixes that form valid code words. This is not possible with codes that lack the prefix property, for example {0, 1, 10, 11}: a receiver reading a "1" at the start of a code word would not know whether that was the complete code word "1", or merely the prefix of the code word "10" or "11".
 
The variable-length [[Huffman coding|Huffman codes]], [[country calling codes]], the country and publisher parts of [[ISBN]]s, and the Secondary Synchronization Codes used in the [[UMTS]] [[W-CDMA]] 3G Wireless Standard, and the [[Instruction set|instruction sets]] (machine language) of most computer microarchitectures are prefix codes.
 
Prefix codes are not [[error-correcting codes]]. In practice, a message might first be compressed with a prefix code, and then encoded again with [[channel coding]] (including error correction) before transmission.
Line 33:
* [[VCR Plus|VCR Plus+ codes]]
* the [[UTF-8]] system for encoding [[Unicode]] characters
* the [[Instruction set|instruction sets]] (machine language) of most computer microarchitectures
 
===Techniques===