ArticleslgStudy

science

Six-bit character code

Six-bit character code is a 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 Six-bit character code rather than just read about it. In short: A six-bit character code is a character encoding designed for use on computers with word lengths that are a multiple of 6. Six bits can only encode 64 distinct characters, so these codes generally include only the upper-case letters, the numerals, some punctuation characters, and sometimes control characters.

Key takeaways

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

Reference excerpt

A six-bit character code is a character encoding designed for use on computers with word lengths that are a multiple of 6. Six bits can only encode 64 distinct characters, so these codes generally include only the upper-case letters, the numerals, some punctuation characters, and sometimes control characters. The 7-track magnetic tape format was developed to store data in such codes, along with an additional parity bit.

Types of six-bit codes An early six-bit binary code was used for Braille, the reading system for the blind that was developed in the 1820s. The earliest computers dealt with numeric data only, and made no provision for character data. Six-bit BCD, with several variants, was used by IBM on early computers such as the IBM 702 in 1953 and the IBM 704 in 1954. Six-bit encodings were replaced by the eight-bit EBCDIC code starting in 1964, when System/360 standardized on eight-bit bytes. There are some variants of this type of code (see below). Six-bit character codes generally succeeded the five-bit Baudot code and preceded seven-bit ASCII. Six-bit codes could encode more than 64 characters by the use of Shift Out and Shift In characters, essentially incorporating two distinct 62-character sets and switching between them. For example, the popular IBM 2741 communications terminal supported a variety of character sets of up to 88 printing characters plus control characters.

Teletypesetter code

A special six-level extension of the five-level International Telegraph Alphabet was used to remotely control Linotype machines beginning around 1930. By 1950 it was widely used by wire services to send preformatted news stories to participating newspapers. It supported the 90 printable characters of Linotype machines plus whitespace characters. The TTS code had two pairs of shift codes, allowing a total of four shift states. The first operated much like a keyboard's shift key and selected between two repertoires, one lower-case and digits, and the other upper-case and symbols. A second pair of Linotype-specific "lower rail" and "upper rail" shift codes would select an alternate (usually italic) font.

BCD six-bit codes Six-bit BCD codes were adaptations of the punched card code to binary code. IBM applied the terms binary-coded decimal and BCD to the variations of BCD alphamerics used in most early IBM computers, including the IBM 1620, IBM 1400 series, and non-decimal architecture members of the IBM 700/7000 series.

COBOL databases six-bit code A six-bit code was also used in COBOL databases, where end-of-record information was stored separately.

Magnetic stripe card six-bit code A six-bit code, with added odd parity bit, is used on Track 1 of magnetic stripe cards, as specified in ISO/IEC 7811-2.

DEC SIXBIT code A popular six-bit code was DEC SIXBIT. This is simply the ASCII character codes from 32 to 95 coded as 0 to 63 by subtracting 32 (i.e., columns 2, 3, 4, and 5 of the ASCII table (16 characters to a column), shifted to columns 0 through 3, by subtracting 2 from the high bits); it includes the space, punctuation characters, numbers, and capital letters, but no control characters. Since it included no control characters, not even end-of-line, it was not used for general text processing. However, six-character names such as filenames and assembler symbols could be stored in a single 36-bit word of the PDP-10, and three characters fit in each word of the PDP-1 and two characters fit in each word of the PDP-8. Another, less common, variant is obtained by just stripping the high bit of an ASCII code in 32 - 95 range (codes 32 - 63 remain at their positions, higher values have 64 subtracted from them). Such variant was sometimes used on DEC's PDP-8 (1965).

ECMA and ISO six-bit code A six-bit code similar to DEC's, but replacing a few punctuation characters with the most useful control characters—including SO/SI, allowing code extension—was specified as ECMA-1 in 1963. Four years later, ISO Recommendation R 646-1967 (which later evolved into ISO Standard 646) included an almost identical six-bit code, differing only in some of the alternative options permitted for a few characters. ECMA-1 was eventually withdrawn, and ISO 646-1973 explicitly removed the six-bit code, standardizing only its seven-bit code.

ICT/ICL six-bit character set The ICT (later ICL) 1900-series of mainframes used a six-bit code derived from an early 1963 version of ASCII for internal storage and processing, referred to as the "ECMA character set" in its documentation.

AIS SixBit ASCII The automatic identification system (AIS) uses this code in character strings within an encoded AIVDM/AIVDO payload.

FIELDATA six-bit code FIELDATA was a seven-bit code (with optional parity) of which only 64 code positions (occupying six bits) were formally defined. A variant was used by UNIVAC's 1100-series computers. Treating the code as a six-bit code these systems used a 36-bit word (capable of storing six such reduced FIELDATA characters).

Braille six-bit code 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. Some more modern Braille systems add an extra two dots, making these systems an eight-bit code instead.

Six-bit codes for binary-to-text encoding

Transmission of binary data over systems which are designed for text only can sometimes introduce problems. For example, email historically supported only seven-bit ASCII codes and would strip the eighth bit, thus corrupting binary data sent directly through any troublesome mail server. Other systems can cause issues by improperly interpreting control characters during storage or transmission. A number of schemes exist to pack eight-bit data into text-only representations which can pass through text mail systems, to be decoded at the destination. Examples of six-bit character subsets used for packing binary data include Uuencode and Base64. These sets contain no control characters (only printable numbers, letters, some punctuation, and maybe space) and allow data to be transmitted over any medium which is also able to transmit human-readable text.

Examples of BCD six-bit codes IBM, which dominated commercial data processing use a variety of six-bit codes, which were tied to the character set used on punched cards, see BCD (character encoding). Other vendor character codes are shown below, with their Unicode equivalents.

GOST 6-bit code

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Six-bit character code

Start with the simplest possible case. Write down what Six-bit character code claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In 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 Six-bit character code 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 Six-bit character code 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 Six-bit character code

In research
Six-bit character code appears in 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 Six-bit character code 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
Six-bit character code is common in secondary-school and first-year university syllabi. It links to neighbouring topics Character encoding, so understanding it makes those chapters shorter.
In everyday life
Look for Six-bit character code 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.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Six-bit character code” →

How to study Six-bit character code in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Six-bit character code 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 Six-bit character code out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Six-bit character code in simple terms?

A six-bit character code is a character encoding designed for use on computers with word lengths that are a multiple of 6. Six bits can only encode 64 distinct characters, so these codes generally include only the upper-case letters, the numerals, some punctuation characters, and sometimes control…

Why does Six-bit character code matter?

Because it connects several 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 Six-bit character code?

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 Six-bit character code.

Tags

  • Character encoding

Keep exploring