A student has written a Python program to implement a Caesar cipher.
When the algorithm encrypts the plaintext ZETA with a shift of +3, the output is ]HWD.
ZETA
+3
]HWD
This output is incorrect.
Explain the error.
16 exam-style questions on Edexcel IGCSE Computer Science Encryption. Each one has a worked solution and a mark scheme showing where the marks go.