ArticleslgStudy

computer science

List of binary codes

List of binary codes is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand List of binary codes rather than just read about it. In short: This is a list of some binary codes that are (or have been) used to represent text as a sequence of binary digits "0" and "1". Fixed-width binary codes use a set number of bits to represent each character in the text, while in variable-width binary codes, the number of bits may vary from character to character.

Key takeaways

  • List of binary codes belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect List of binary codes to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of List of binary codes from memory before moving on to harder problems.

Reference excerpt

This is a list of some binary codes that are (or have been) used to represent text as a sequence of binary digits "0" and "1". Fixed-width binary codes use a set number of bits to represent each character in the text, while in variable-width binary codes, the number of bits may vary from character to character.

Five-bit binary codes Several different five-bit codes were used for early punched tape systems. Five bits per character only allows for 32 different characters, so many of the five-bit codes used two sets of characters per value referred to as FIGS (figures) and LTRS (letters), and reserved two characters to switch between these sets. This effectively allowed the use of 60 characters. Standard five-bit standard codes are:

International Telegraph Alphabet No. 1 (ITA1) – Also commonly referred to as Baudot code International Telegraph Alphabet No. 2 (ITA2) – Also commonly referred to as Murray code American Teletypewriter code (USTTY) – A variant of ITA2 used in the USA DIN 66006 – Developed for the presentation of ALGOL/ALCOR programs on paper tape and punch cards The following early computer systems each used its own five-bit code:

J. Lyons and Co. LEO (Lyon's Electronic Office) English Electric DEUCE University of Illinois at Urbana-Champaign ILLIAC ZEBRA EMI 1100 Ferranti Mercury, Pegasus, and Orion systems The steganographic code, commonly known as Bacon's cipher uses groups of 5 binary-valued elements to represent letters of the alphabet.

Six-bit binary codes Six bits per character allows 64 distinct characters to be represented. Examples of six-bit binary codes are:

International Telegraph Alphabet No. 4 (ITA4) Six-bit BCD (Binary Coded Decimal), used by early mainframe computers. Six-bit ASCII subset of the primitive seven-bit ASCII Braille – Braille characters are represented using six dot positions, arranged in a rectangle. Each position may contain a raised dot or not, so Braille can be considered to be a six-bit binary code. See also: Six-bit character codes

Seven-bit binary codes Examples of seven-bit binary codes are:

International Telegraph Alphabet No. 3 (ITA3) – derived from the Moore ARQ code, and also known as the RCA ASCII – The ubiquitous ASCII code was originally defined as a seven-bit character set. The ASCII article provides a detailed set of equivalent standards and variants. In addition, there are various extensions of ASCII to eight bits (see Eight-bit binary codes) CCIR 476 – Extends ITA2 from 5 to 7 bits, using the extra 2 bits as check digits International Telegraph Alphabet No. 4 (ITA4)

Eight-bit binary codes Extended ASCII – A number of standards extend ASCII to eight bits by adding a further 128 characters, such as: HP Roman ISO/IEC 8859 Mac OS Roman Windows-1252 EBCDIC – Used in early IBM computers and current IBM i and System z systems.

10-bit binary codes AUTOSPEC – Also known as Bauer code. AUTOSPEC repeats a five-bit character twice, but if the character has odd parity, the repetition is inverted. Decabit – A datagram of electronic pulses which are transmitted commonly through power lines. Decabit is mainly used in Germany and other European countries.

16-bit binary codes UCS-2 – An obsolete encoding capable of representing the basic multilingual plane of Unicode

32-bit binary codes UTF-32/UCS-4 – A four-bytes-per-character representation of Unicode.

Variable-length binary codes UTF-8 – Encodes characters in a way that is mostly compatible with ASCII but can also encode the full repertoire of Unicode characters with sequences of up to four 8-bit bytes. UTF-16 – Extends UCS-2 to cover the whole of Unicode with sequences of one or two 16-bit elements GB 18030 – A full-Unicode variable-length code designed for compatibility with older Chinese multibyte encodings Huffman coding – A technique for expressing more common characters using shorter bit strings than are used for less common characters Data compression systems such as Lempel–Ziv–Welch can compress arbitrary binary data. They are therefore not binary codes themselves but may be applied to binary codes to reduce storage needs.

Other Morse code is a variable-length telegraphy code, which traditionally uses a series of long and short pulses to encode characters. It relies on gaps between the pulses to provide separation between letters and words, as the letter codes do not have the "prefix property". This means that Morse code is not necessarily a binary system, but in a sense may be a ternary system, with a 10 for a "dit" or a "dot", a 1110 for a dash, and a 00 for a single unit of separation. Morse code can be represented as a binary stream by allowing each bit to represent one unit of time. Thus a "dit" or "dot" is represented as a 1 bit, while a "dah" or "dash" is represented as three consecutive 1 bits. Spaces between symbols, letters, and words are represented as one, three, or seven consecutive 0 bits. For example, "NO U" in Morse code is "— . — — — . . —", which could be represented in binary as "1110100011101110111000000010101110". If, however, Morse code is represented as a ternary system, "NO U" would be represented as "1110|10|00|1110|1110|1110|00|00|00|10|10|1110".

See also List of computer character sets

References

Worked examples

Example 1 — a first encounter with List of binary codes

Start with the simplest possible case. Write down what List of binary codes claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to List of binary codes before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about List of binary codes ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of List of binary codes

In research
List of binary codes appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses List of binary codes in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
List of binary codes is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computing-related lists, Computing terminology, Data types, so understanding it makes those chapters shorter.
In everyday life
Look for List of binary codes outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study List of binary codes in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what List of binary codes means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain List of binary codes out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is List of binary codes in simple terms?

This is a list of some binary codes that are (or have been) used to represent text as a sequence of binary digits "0" and "1". Fixed-width binary codes use a set number of bits to represent each character in the text, while in variable-width binary codes, the number of bits may vary from character…

Why does List of binary codes matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study List of binary codes?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on List of binary codes.

Tags

  • Computing-related lists
  • Computing terminology
  • Data types
  • Data unit
  • Primitive types
  • Units of information

Keep exploring