Palindrome Quiz
Questions: 16 · 10 minutes
1. To verify that a seven-character string is a palindrome, how many mirrored character pairs must be compared?
Two pairs
Four pairs
Three pairs
Seven pairs
2. What do you get when you reverse the letters in “drawer”?
reward
warder
redraw
drawer
3. Which word is a palindrome?
Garden
Candle
Rotor
Silver
4. What must be true of the two central characters in every even-length palindrome?
They must appear in alphabetical order
They must be different characters
They must both be vowels
They must be the same character
5. Ignoring spaces, punctuation, and capitalization, which phrase is a palindrome?
Never even nor odd
Never odd and even
Never an odd or even
Never odd or even
6. What is the minimum possible length of a nonempty palindrome?
Four characters
Three characters
Two characters
One character
7. Which pair contains two different words that are exact reversals of each other?
diaper / repaid
stressed / dessert
drawer / rewards
deliver / revived
8. A checker converts text to lowercase and removes every non-alphanumeric character before testing it. Which input would return false?
Never odd or always even
Eva, can I see bees in a cave?
No lemon, no melon
Palindrome emordnilap
9. In an odd-length palindrome, what is special about the center character?
It must also appear at both ends
It must be a vowel or a digit
It can be any character because it mirrors itself
It must come alphabetically before its neighboring characters
10. A program compares every character exactly, without ignoring spaces, punctuation, or capitalization. Which input would it accept as a palindrome?
1221
Level
nurses run
Aba!
11. When checking “radkar” from the outside inward, which mirrored pair first reveals that it is not a palindrome?
The first and last characters: r and r
The third and fourth characters: d and k
The second and fifth characters: a and a
No pair; the string is a palindrome
12. Which digit should be appended to 1232 to create a five-digit palindrome?
2
1
0
3
13. After removing spaces, punctuation, and capitalization, what does “A man, a plan, a canal: Panama!” become?
amanplanacanalpanama
amanaplanacanalapanama
amanaplanacanalpanama
amanaplanacanalpanam
14. Which definition best describes a palindrome?
A word formed by rearranging all the letters of another word
A sequence that reads the same forwards and backwards under the stated comparison rules
A pair of different words that sound alike
A sentence in which every word begins with the same letter
15. Which letter can be added to the end of “raceca” to create a palindrome?
a
e
c
r
16. Which string is a palindrome under exact character-by-character comparison, including punctuation?
RE!DDER
RED!DER
REDDE!R
R!EDDER