encyclopegia.org

Code

In communications and information processing, a code is a system of rules to convert information—such as a letter, word, sound, image, or gesture—into another form, sometimes shortened or secret, for communication through a communication channel or storage in a storage medium. An early example of a code is language, which enables a person, through speech, to communicate what they think, see, hear, or feel to others. But speech limits the range of communication to the distance a voice can carry and limits the audience to those present when the speech is uttered. The invention of writing, which converted spoken language into visual symbols, extended the range of communication across space and time. The process of encoding converts information from a source into symbols for communication or storage. Decoding is the reverse process, converting code symbols back into a form that the recipient understands. One role of coding is to enable communication in places where ordinary plain language, spoken or written, is difficult or impossible. For example, semaphore, where the configuration of flags held by a signaler or the arms of a semaphore tower encodes parts of the message, typically individual letters and numbers. Another person standing a great distance away can interpret the flags and reproduce the words sent.

In communications and information processing, a code is a system of rules to convert information—such as a letter, word, sound, image, or gesture—into another form, sometimes shortened or secret, for communication through a communication channel or storage in a storage medium. An early example of a code is language, which enables a person, through speech, to communicate what they think, see, hear, or feel to others. But speech limits the range of communication to the distance a voice can carry and limits the audience to those present when the speech is uttered. The invention of writing, which converted spoken language into visual symbols, extended the range of communication across space and time. The process of encoding converts information from a source into symbols for communication or storage. Decoding is the reverse process, converting code symbols back into a form that the recipient understands. One role of coding is to enable communication in places where ordinary plain language, spoken or written, is difficult or impossible. For example, semaphore, where the configuration of flags held by a signaler or the arms of a semaphore tower encodes parts of the message, typically individual letters and numbers. Another person standing a great distance away can interpret the flags and reproduce the words sent. C = \{\, a\mapsto 0, b\mapsto 01, c\mapsto 011\,\} is a code, whose source alphabet is the set \{a,b,c\} and whose target alphabet is the set \{0,1\} . Using the extension of the code, the encoded string 0011001 can be grouped into codewords as 0 011 0 01, and these in turn can be decoded to the sequence of source symbols acab. Using terms from formal language theory, the precise mathematical definition of this concept is as follows: let S and T be two finite sets, called the source and target alphabets, respectively. A code C:\, S \to T^* is a total function mapping each symbol from S to a sequence of symbols over T. The extension C' of C , is a homomorphism of S^* into T^* , which naturally maps each sequence of source symbols to a sequence of target symbols. ==Further reading==

References

  1. Secret Warfare: Battle of Codes and Ciphers-Bruce Norman (1973) ISBN 978-0-7153-6223-5 Wikipedia revision 1374691852, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1374691852
    Cite this reference

    MLA "Secret Warfare: Battle of Codes and Ciphers-Bruce Norman (1973) ISBN 978-0-7153-6223-5 Wikipedia revision 1374691852, retrieved 2026-11-19." Secret Warfare: Battle of Codes and Ciphers-Bruce Norman (1973) ISBN 978-0-7153-6223-5 Wikipedia revision 1374691852, re. 2026-11-18. https://en.wikipedia.org/wiki/ISBN_(identifier). Accessed 23 November 2026.

    Chicago "Secret Warfare: Battle of Codes and Ciphers-Bruce Norman (1973) ISBN 978-0-7153-6223-5 Wikipedia revision 1374691852, retrieved 2026-11-19." Secret Warfare: Battle of Codes and Ciphers-Bruce Norman (1973) ISBN 978-0-7153-6223-5 Wikipedia revision 1374691852, re. 2026-11-18. https://en.wikipedia.org/wiki/ISBN_(identifier).

    APA Secret Warfare: Battle of Codes and Ciphers-Bruce Norman (1973) ISBN 978-0-7153-6223-5 Wikipedia revision 1374691852, re. (2026). Secret Warfare: Battle of Codes and Ciphers-Bruce Norman (1973) ISBN 978-0-7153-6223-5 Wikipedia revision 1374691852, retrieved 2026-11-19. Retrieved November 23, 2026, from https://en.wikipedia.org/wiki/ISBN_(identifier)

  2. So Why Not 29 · retrieved 2012-07-02 · rev 1374691852
    Cite this reference

    MLA "So Why Not 29." Kogan, Hadass "So Why Not 29" Archived 2010-12-12 at the Wayback Machine American Journalism Review. 2012-07-02. http://www.ajr.org/Article.asp?id=4408. Accessed 23 November 2026.

    Chicago "So Why Not 29." Kogan, Hadass "So Why Not 29" Archived 2010-12-12 at the Wayback Machine American Journalism Review. 2012-07-02. http://www.ajr.org/Article.asp?id=4408.

    APA Kogan, Hadass "So Why Not 29" Archived 2010-12-12 at the Wayback Machine American Journalism Review. (2012). So Why Not 29. Retrieved November 23, 2026, from http://www.ajr.org/Article.asp?id=4408

  3. Western Union · retrieved 2012-07-02 · rev 1374691852
    Cite this reference

    MLA "Western Union." "Western Union "92 Code" & Wood's "Telegraphic Numerals" ". 2012-07-02. http://www.civilwarsignals.org/pages/tele/wurules1866/92code.html. Accessed 23 November 2026.

    Chicago "Western Union." "Western Union "92 Code" & Wood's "Telegraphic Numerals" ". 2012-07-02. http://www.civilwarsignals.org/pages/tele/wurules1866/92code.html.

    APA "Western Union "92 Code" & Wood's "Telegraphic Numerals" ". (2012). Western Union. Retrieved November 23, 2026, from http://www.civilwarsignals.org/pages/tele/wurules1866/92code.html

Cite this article

MLA

"Code." encyclopegia.org, 2026, https://encyclopegia.org/wiki/code. Accessed 23 November 2026.

Chicago

"Code." encyclopegia.org. Accessed November 23, 2026. https://encyclopegia.org/wiki/code.

APA

encyclopegia.org. (2026). Code. Retrieved November 23, 2026, from https://encyclopegia.org/wiki/code

Accessed November 23, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Ardajin

stub · references available

Kurtuvėnai Manor

stub · references available

Albert Paul

stub · references available

Steve Mason

stub · references available

Asadabad-e Darband

stub · references available

Ashburton

stub · references available
CC BY-SA 4.0 · tier1-factual · https://en.wikipedia.org/w/index.php?oldid=1374691852 · 0.55 · snapshot code-1659750-692adebcfea990d4 · QID Q15218791

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.