ArticleslgStudy

computer science

Commercial code (communications)

Commercial code (communications) 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 Commercial code (communications) rather than just read about it. In short: In telecommunication, a commercial code is a code once used to save on cablegram costs. Telegraph (and telex) charged per word sent, so companies which sent large volumes of telegrams developed codes to save money on tolls.

Commercial code (communications) — main illustration
Commercial code (communications) — illustration

Key takeaways

  • Commercial code (communications) 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 Commercial code (communications) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Commercial code (communications) from memory before moving on to harder problems.

Reference excerpt

In telecommunication, a commercial code is a code once used to save on cablegram costs. Telegraph (and telex) charged per word sent, so companies which sent large volumes of telegrams developed codes to save money on tolls. Elaborate commercial codes which encoded complete phrases into single words were developed and published as codebooks of thousands of phrases and sentences with corresponding codewords. Commercial codes were not generally intended to keep telegrams private, as codes were widely published; they were usually cost-saving measures only. This act of encoding large amounts of information into smaller amounts of information is a form of data compression. Many general-purpose codes, such as the Acme Code and the ABC Code, were published and widely used between the 1870s and the 1950s, before the arrival of transatlantic telephone calls and next-day airmail rendered them obsolete. Numerous special-purpose codes were also developed and sold for fields as varied as aviation, car dealerships, insurance, and cinema, containing words and phrases commonly used in those professions. These codes turned complete phrases into single words (commonly of five letters). These were not always genuine words; for example, codes contained "words" such as BYOXO ("Are you trying to weasel out of our deal?"), LIOUY ("Why do you not answer my question?"), BMULD ("You're a skunk!"), or AYYLU ("Not clearly coded, repeat more clearly.").

History The first telegraphic codes were developed shortly after the advent of the telegraph, and spread rapidly: the first codebook was in use by 1845. In 1854, one eighth of telegrams transmitted between New York and New Orleans were written in code. Cable tolls were charged by the word, and telegraph companies counted codewords like any other words, so a carefully constructed code could reduce message lengths enormously. Early codes were typically compilations of phrases and corresponding codewords numbering in the tens of thousands. Codewords were chosen to be pronounceable words to minimize errors by telegraphers, and telegrams composed of non-pronounceable words cost significantly more. Regulations of the International Telegraph Union evolved over time; in 1879, it mandated coded telegrams only contain words from German, English, Spanish, French, Italian, Dutch, Portuguese, or Latin, but commercial codes already frequently used nonsense words. By 1903 regulations were changed to allow any pronounceable word no more than ten letters long. Another aim of the telegraph codes was to reduce the risk of misunderstanding by avoiding having similar words mean similar things. Codes were usually designed to avoid error by using words which could not be easily confused by telegraph operators. Telegrapher errors could sometimes cause serious monetary damages, which in one instance resulted in the United States Supreme Court case Primrose v. Western Union Telephone Company, in which a wool dealer argued that an error by a Western Union telegrapher cost $20,000 due to misread instructions. The Supreme Court subsequently ruled Western Union was liable only for the cost of the message, $1.15. Examples of commercial codes include the ABC Telegraphic Code, Bentley's Second Phrase Code, Lieber's Standard Telegraphic Code (1896), Phillips Code (1879 and later), Slater's Telegraphy Code (1916), Western Union Universal Codebook (1907) and Unicode (1889).

Mechanics In codes such as the ABC Code, code words could contain blanks. For example, in the "Freight and tonnage requirements" section, ANTITACTE means "Mozambique, loading at not more than two places, to ____, steamer for about ____ tons general cargo at ____ per ton on the d/w capacity to cargo". The telegrapher would then fill in the three parameters: the destination, the number of tons, and the price per ton. The regulations of the International Telegraph Convention distinguished between "code telegrams", which it describes as "those composed of words the context of which has no intelligible meaning", and "cipher telegrams", which it describes as "those containing series of groups of figures or letters having a secret meaning or words not to be found in a standard dictionary of the language". Cipher telegrams were subject to higher tolls. Codes such as the ABC Telegraphic Code, therefore, included both numbers and code words so the user could choose between the two.

Examples

Example code words:

From the ABC Telegraphic Code (5th edition): PAROMELLA — in leaving the dock (harbour) struck the pier, damaging the stern ARIMASPEN — Phaeton with 6 B.H.P. two cylinder motor to seat four passengers speed — miles per hour HAUBARER — Charterers will allow the option of carrying horses for ship's benefit From the ABC Telegraphic Code (6th edition): ENBET — Captain is insane From Bentley's Complete Phrase Code: OYFIN — has not been reinsured AZKHE — clean bill of health ATGAM — have they authorised? From the telegraphic cipher code specially adapted to the cotton trade: DRESS — the supply from India will be less than expected INSANE — at what price, free on board and freight, can you offer us cotton for shipment by steamer sailing this week? PUNCHER — we anticipate rate of interest will be reduced by Bank of England From Unicode (which, unlike the others, was intended for domestic use in addition to commercial; unrelated to the Unicode computing standard): DIONYSIA — Amputation is considered necessary ANNOSUS — Confined yesterday, Twins, both dead, Mother not expected to live COGNOSCO — Dining out this evening, send my dress clothes here From Lieber's Standard Telegraphic Code (1896): AANPRATEN — Have accomplished nothing. ALBANAMOS — Decline caused by Brazilians selling in this market. BOATTIERE — Hear there has been a robbery; is it true?

See also Codebook Brevity code Australian railway telegraphic codes Great Western Railway telegraphic codes Telegraph code Telegraphese

Notes

References Kahn, David (1967). The Codebreakers: The Story of Secret Writing (1st ed.). New York: Macmillan. Godfrey, Helen L. (2018). Submarine Telegraphy and the Hunt for Gutta Percha. BRILL. ISBN 9004357289. Condee, William; Rountree, Barry (December 01, 2020). "Nonmaterial Performance". The Drama Review. 64 (4): 147–57.

Illustrations

Commercial code (communications): First of 20 pages of commercial telegraph code from a 1910 radiator catalog[4]
First of 20 pages of commercial telegraph code from a 1910 radiator catalog[4]
Commercial code (communications): "Piers" section of the Fifth Edition ABC Telegraphic Code with encoded word PAROMELLA
"Piers" section of the Fifth Edition ABC Telegraphic Code with encoded word PAROMELLA

Worked examples

Example 1 — a first encounter with Commercial code (communications)

Start with the simplest possible case. Write down what Commercial code (communications) 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 Commercial code (communications) 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 Commercial code (communications) 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 Commercial code (communications)

In research
Commercial code (communications) 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 Commercial code (communications) 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
Commercial code (communications) is common in secondary-school and first-year university syllabi. It links to neighbouring topics History of cryptography, Telegraphy, so understanding it makes those chapters shorter.
In everyday life
Look for Commercial code (communications) 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 “Commercial code (communications)” →

How to study Commercial code (communications) in 20 minutes

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

Frequently asked questions

What is Commercial code (communications) in simple terms?

In telecommunication, a commercial code is a code once used to save on cablegram costs. Telegraph (and telex) charged per word sent, so companies which sent large volumes of telegrams developed codes to save money on tolls.

Why does Commercial code (communications) 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 Commercial code (communications)?

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 Commercial code (communications).

Tags

  • History of cryptography
  • Telegraphy

Keep exploring