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=MOD(27,26) | AGives 23, so a negative number wraps backwards into the range 0 to 25 | |
| 2=MOD(-3,26) | B=MOD(B2+3,26) | |
| 3Shift a letter position in B2 forward by 3 and wrap it back into 0 to 25 | CThe divisor is 25, but the alphabet has 26 letters, so the wrap-around happens at the wrong place. | |
| 4Decrypt by shifting a letter position in B2 back by 3 without going below 0 | DThe number and the divisor are the wrong way round. The divisor 26 should come second and the shifted position first. | |
| 5=MOD(26,B2+3) | EGives 1, because 27 divided by 26 leaves a remainder of 1 | |
| 6=MOD(B2+3,25) | F=MOD(B2-3,26) |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
=MOD(number, divisor) — Returns the remainder after division, so numbers wrap around. =MOD(27,26) gives 1, which is how a Caesar shift loops from Z back to A.=MOD(27,26)=MOD(27,26)=MOD(-1,26)=MOD(A2+3,26)=MOD(A2-3,26)