Advanced Placement (AP) Computer Science 2025 – 400 Free Practice Questions to Pass the Exam

Image Description

Question: 1 / 400

In which type of cipher is each letter replaced with a letter a certain number of places down the alphabet?

Vigenère cipher

Caesar cipher

The Caesar cipher specifically involves replacing each letter of the plaintext with another letter that is a fixed number of positions down the alphabet. For example, with a shift of 3, the letter 'A' would be replaced by 'D', 'B' would become 'E', and so on. This simple method of encoding is straightforward and historically significant, often introduced as an early example of encryption in educational contexts.

In contrast, the Vigenère cipher utilizes a more complex method, involving a keyword to determine the shift for each letter, making it more secure than the Caesar cipher. The transposition cipher does not alter the letters themselves but rearranges their positions, thus maintaining the original letters' identities while changing their order. Substitution ciphers, while they may sound similar, generally refer to any cipher where each letter is replaced with another letter or symbol without defining a fixed shift, thereby including a variety of methods beyond just the Caesar cipher.

Therefore, the defining characteristic of the Caesar cipher aligns perfectly with the description given in the question, making it the correct answer.

Get further explanation with Examzify DeepDiveBeta

Transposition cipher

Substitution cipher

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy