Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1=CHAR(MOD(CODE(A2)-65+$B$1,26)+65) | AShifts the capital letter in A2 forward by the key in $B$1 and returns the encrypted letter | |
| 2$B$1 | BThe +65 is missing at the end, so CHAR gets a number from 0 to 25 instead of a letter code | |
| 3Subtracting 65 turns a capital letter's code into a position from 0 to 25 (A = 0) | CMOD(CODE(A2)-65+$B$1,26) | |
| 4MOD with 26 wraps a shifted position back to the start of the alphabet so Z plus 1 becomes A | DCODE(A2)-65 | |
| 5=CHAR(MOD(CODE(A2)-65+B1,26)+65) | EThe key B1 is not locked, so when the formula is copied across it becomes C1, D1 and so on and the shift changes | |
| 6=CHAR(MOD(CODE(A2)-65+$B$1,26)) | FA locked cell reference that keeps pointing at the key when the formula is copied |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
=CHAR(MOD(CODE(A2)-65+$B$1,26)+65) — Shifts the capital letter in A2 forward by the key in locked cell $B$1, wrapping Z back to A, and returns the encrypted letter. Copy it across so each cell encrypts one letter.=CHAR(MOD(CODE(A2)-65+$B$1,26)+65)=CHAR(MOD(CODE(A2)-65+$B$1,26)+65)=CHAR(MOD(CODE(A2)-65+$B$1,26)+65)=CHAR(MOD(CODE(A2)-65+$B$1,26)+65)=CHAR(MOD(CODE(B2)-65+$B$1,26)+65)