Codes & ciphers

Selective Thinking Skills · Unit 2: Problem solving

Codes & ciphers notes

Fact-checked by a second, independent AI review.

This unit covers how codes and ciphers transform messages, focusing on how to recognise, decode and explain the rules behind simple substitutions and shifts in problem-solving tasks.

Cipher vs Code
A code replaces words or phrases with symbols or numbers; a cipher changes individual letters or the alphabet according to a rule.
Plaintext and Ciphertext
Plaintext is the original message; ciphertext is the encoded form produced by the cipher.
Key and Rule
The key is the rule or shift used to transform letters (e.g., Caesar shift by 3) or a mapping pattern.
Substitution/Shift Ciphers
Common problems use simple shifts or letter-to-letter substitutions; test shifts of 1–3 and reverse to check.
Problem-Solving Strategy
Look for patterns, hypothesise a rule, apply it, then reverse to verify by decoding back to plaintext.

Remember it: HOOK: 'CRACK' the code by Checking, Reversing, and Affirming the Key – condition the rule, then decode and re-check.

Exam tip: Markers want clear steps: state the rule (the key), show the decoding process, then verify by decoding back to readable text; keep work neat and concise.

Syllabus checklist

  • Codes & ciphers: core ideas
  • Terms and typical exam questions for "Problem solving" in NSW Selective High School Placement Test Thinking Skills (Year 6)

Practice questions

  1. 1. A code replaces words with symbols; a cipher replaces letters.

    Answer checked

    Show answer

    Answer: True. Codes map whole words/phrases; ciphers map individual letters to other letters.

  2. 2. If HELLO encodes with a Caesar shift of 1, the encoded word is ____.

    Answer checked

    Show answer

    Answer: IFMMP. H→I, E→F, L→M, L→M, O→P gives IFMMP.

  3. 3. Which statement is true about a Caesar cipher with shift 5?

    Answer checked

    Show answer

    Answer: Each letter moved 5 forward. A Caesar cipher shifts each letter forward by 5; others describe other types of ciphers.

  4. 4. How many possible shifts exist in a Caesar cipher with 26 letters?

    Answer checked

    Show answer

    Answer: 26. There are 26 possible shifts, including a shift of 0.

Practise codes & ciphers as a game

Hearts, combos, streaks and an AI tutor that explains every answer. Start free.

Start free

More from Unit 2: Problem solving