ArticleslgStudy

computer science

Colossus computer

Colossus computer 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 Colossus computer rather than just read about it. In short: Colossus was a set of computers developed by British codebreakers in the years 1943–1945 to help in the cryptanalysis of the Lorenz cipher. Colossus used thermionic valves (vacuum tubes) to perform Boolean and counting operations.

Colossus computer — main illustration
Colossus computer — illustration

Key takeaways

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

Reference excerpt

Colossus was a set of computers developed by British codebreakers in the years 1943–1945 to help in the cryptanalysis of the Lorenz cipher. Colossus used thermionic valves (vacuum tubes) to perform Boolean and counting operations. Colossus is regarded as the world's first programmable, electronic, digital computer. There were earlier electromechanical computers, the first being Konrad Zuse's Z3, completed in Berlin in 1941. Colossus was designed by General Post Office (GPO) research telephone engineer Tommy Flowers, based on plans developed by mathematician Max Newman at the Government Code and Cypher School at Bletchley Park. Alan Turing's use of probability in cryptanalysis (see Banburismus) contributed to its design. It is sometimes erroneously said that Colossus was designed by Turing, not Flowers, to aid the cryptanalysis of the Enigma but an earlier machine that Turing designed was the electromechanical Bombe. The prototype, Colossus Mark 1, was working by December 1943 and was in use at Bletchley Park by early 1944. An improved Colossus Mark 2 which used shift registers to run five times faster first ran successfully on 1 June 1944, just in time for the Normandy landings on D-Day. Ten Colossus machines were in use by the end of the war and an eleventh was being commissioned. Bletchley Park's use of these machines allowed the Allies to obtain a vast amount of high-level military intelligence from intercepted radiotelegraphy messages between the German High Command (OKW) and their army commands throughout occupied Europe. The existence of the Colossus machines was kept secret until the mid-1970s. All but two machines were dismantled into such small parts that their use could not be inferred. The two retained machines were eventually dismantled in the 1960s. In January 2024, new photos were released by GCHQ that showed re-engineered Colossus in a very different environment from the Bletchley Park buildings, presumably at GCHQ Cheltenham. A functioning reconstruction of a Mark 2 Colossus was completed in 2008 by Tony Sale and a team of volunteers; it is on display in The National Museum of Computing at Bletchley Park, where it is regularly demonstrated to visitors.

Purpose and origins

The Colossus computers were used to help decipher intercepted radio teleprinter messages that had been encrypted using an unknown device. Intelligence information revealed that the Germans called the wireless teleprinter transmission systems "Sägefisch" (sawfish). This led the British to call encrypted German teleprinter traffic "Fish", and the unknown machine and its intercepted messages "Tunny" (tunafish). Before the Germans increased the security of their operating procedures, British cryptanalysts diagnosed how the unseen machine functioned and built an imitation of it called "British Tunny". It was deduced that the machine had twelve wheels and used a Vernam ciphering technique on message characters in the standard 5-bit ITA2 telegraph code. It did this by combining the plaintext characters with a stream of key characters using the XOR Boolean function to produce the ciphertext. In August 1941, a blunder by German operators led to the transmission of two versions of the same message with identical machine settings. These were intercepted and worked on at Bletchley Park. First, John Tiltman, a very talented GC&CS cryptanalyst, derived a keystream of almost 4000 characters. Then Bill Tutte, a newly arrived member of the Research Section, used this keystream to work out the logical structure of the Lorenz machine. He deduced that the twelve wheels consisted of two groups of five, which he named the χ (chi) and ψ (psi) wheels, the remaining two he called μ (mu) or "motor" wheels. The chi wheels stepped regularly with each letter that was encrypted, while the psi wheels stepped irregularly, under the control of the motor wheels.

With a sufficiently random keystream, a Vernam cipher removes the natural language property of a plaintext message of having an uneven frequency distribution of the different characters, to produce a uniform distribution in the ciphertext. The Tunny machine did this well. However, the cryptanalysts worked out that by examining the frequency distribution of the character-to-character changes in the ciphertext, instead of the plain characters, there was a departure from uniformity which provided a way into the system. This was achieved by "differencing" in which each bit or character was XOR-ed with its successor. After Germany surrendered, allied forces captured a Tunny machine and discovered that it was the electromechanical Lorenz SZ (Schlüsselzusatzgerät, cipher attachment) in-line cipher machine. In order to decrypt the transmitted messages, two tasks had to be performed. The first was "wheel breaking", which was the discovery of the cam patterns for all the wheels. These patterns were set up on the Lorenz machine and then used for a fixed period of time for a succession of different messages. Each transmission, which often contained more than one message, was enciphered with a different start position of the wheels. Alan Turing invented a method of wheel-breaking that became known as Turingery. Turing's technique was further developed into "Rectangling", for which Colossus could produce tables for manual analysis. Colossi 2, 4, 6, 7 and 9 had a "gadget" to aid this process. The second task was "wheel setting", which worked out the start positions of the wheels for a particular message and could only be attempted once the cam patterns were known. It was this task for which Colossus was initially designed. To discover the start position of the chi wheels for a message, Colossus compared two character streams, counting statistics from the evaluation of programmable Boolean functions. The two streams were the ciphertext, which was read at high speed from a paper tape, and the keystream, which was generated internally, in a simulation of the unknown German machine. After a succession of different Colossus runs to discover the likely chi-wheel settings, they were checked by examining the frequency distribution of the characters in the processed ciphertext. Colossus produced these frequency counts.

Decryption processes

… excerpt ends here. Continue reading the full article.

Illustrations

Colossus computer illustration
Colossus computer: A Lorenz SZ42 cipher machine with its covers removed at The National Museum of Computing on Bletchley Park
A Lorenz SZ42 cipher machine with its covers removed at The National Museum of Computing on Bletchley Park
Colossus computer: The Lorenz SZ machines had 12 wheels, each with a different number of cams (or "pins").


Wheel number
123456789101112

BP wheel name[13]
ψ1
ψ2
ψ3
ψ4
ψ5
μ37
μ61
χ1
χ2
χ3
χ4
χ5

Number of cams (pins)
434751535937614131292623
The Lorenz SZ machines had 12 wheels, each with a different number of cams (or "pins"). Wheel number 123456789101112 BP wheel name[13] ψ1 ψ2 ψ3 ψ4 ψ5 μ37 μ61 χ1 χ2 χ3 χ4 χ5 Number of cams (pins) 434751535937614131292623
Colossus computer: Cams on wheels 9 and 10 showing their raised (active) and lowered (inactive) positions. An active cam reversed the value of a bit (0→1 and 1→0).
Cams on wheels 9 and 10 showing their raised (active) and lowered (inactive) positions. An active cam reversed the value of a bit (0→1 and 1→0).
Colossus computer: Valves (vacuum tubes) seen on end in a recreation of the Colossus computer
Valves (vacuum tubes) seen on end in a recreation of the Colossus computer

Worked examples

Example 1 — a first encounter with Colossus computer

Start with the simplest possible case. Write down what Colossus computer 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 Colossus computer 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 Colossus computer 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 Colossus computer

In research
Colossus computer 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 Colossus computer 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
Colossus computer is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1940s computers, Bletchley Park, Computer-related introductions in 1943, so understanding it makes those chapters shorter.
In everyday life
Look for Colossus computer 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 “Colossus computer” →

How to study Colossus computer in 20 minutes

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

Frequently asked questions

What is Colossus computer in simple terms?

Colossus was a set of computers developed by British codebreakers in the years 1943–1945 to help in the cryptanalysis of the Lorenz cipher. Colossus used thermionic valves (vacuum tubes) to perform Boolean and counting operations.

Why does Colossus computer 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 Colossus computer?

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 Colossus computer.

Tags

  • 1940s computers
  • Bletchley Park
  • Computer-related introductions in 1943
  • Computer-related introductions in 1944
  • Computer-related introductions in 1945
  • Cryptanalytic devices
  • Early British computers
  • English inventions
  • Military computers
  • Serial computers
  • Vacuum tube computers
  • World War II British electronics

Keep exploring