Substitution cipher
A cipher that replaces each letter or symbol of the plaintext with another according to a key, keeping the symbols in their original order; the Caesar cipher is the classic example.
A substitution cipher replaces each unit of plaintext, usually a letter, with a different unit according to a key, while leaving the units in their original order. The Caesar cipher, which shifts each letter a fixed number of places, is the classic example. A monoalphabetic substitution uses one fixed mapping for the whole message, so a given plaintext letter always becomes the same ciphertext letter. A polyalphabetic substitution, such as the Vigenère cipher, switches between several mappings, so the same plaintext letter can encrypt differently in different positions.
The weakness of a monoalphabetic cipher is that it preserves the letter frequencies of the language. In English, E, T and A are common, and the most frequent ciphertext symbols tend to stand for them, so frequency analysis can break the cipher without the key. Polyalphabetic ciphers flatten those statistics but remain breakable. The companion technique is the transposition cipher, which keeps the letters but rearranges their order. Modern block ciphers such as AES combine both ideas over many rounds to achieve confusion and diffusion.
Exam relevance: a scenario in which letters are replaced but stay in position is likely to point to a substitution cipher; one in which the letters are unchanged but move is likely to point to transposition. Candidates are expected to connect monoalphabetic substitution with frequency analysis.