Question 18
HardOriginal questionIf CANDLE is coded as BDEOFM, how is BASKET coded in the same way?
Show the answer and explanation
CorrectNot quiteAnswer A
Correct answer: A
Explanation
Shift BDEOFM back by 1 to get ACDNEL.
ACDNEL is CANDLE with each pair swapped: CA to AC, ND to DN, LE to EL.
So the code swaps each pair and moves every letter 1 place forward.
BASKET: pairs BA, SK, ET swap to AB, KS, TE, giving ABKSTE; +1 gives BCLTUF.
Worth noting
CBTLFU shifts without swapping. BCLTFU forgets to swap the last pair. ZAJRSD swaps correctly but shifts the wrong way.
- Concept
- Pair swap combined with a shift
- Typical timeTypical
- 110 s
- Your timeYours
- —
Practise this chapter →
Ten questions from Coding and Decoding, at your own pace.