Past-paper question · 2021 February-March · Paper 02 · Q2

Question 2 2021 · February-March · Paper 02 · 28 marks

Original past-paper question for 2
Reveal official mark-scheme answer

The answer for this question is in the official mark scheme.

Show text version of question

Question 2

Enter a formula in cell B6 to calculate the length of the string in cell B5.

Place replicable formulae in all appropriate cells in rows 8 to 13. Each formula must trap out possible errors that may occur when a Stored text string does not contain 12 characters.

  • In row 8 extract each of the 12 characters from the stored text string.
  • In row 9 extract the code for each character (hint: use the CODE function).
  • In row 10 convert the code for each character from decimal into binary so that all 8 binary
  • digits are visible (hint: use the DEC2BIN function).

  • In row 11 transpose the binary digits for each nibble. This involves moving the first 4

digits so that they become the last 4 digits, e.g.

0 1 0 1 1 1 0 0 becomes 1 1 0 0 0 1 0 1

All 8 binary digits must still be visible.

  • In row 12 convert the code of each character from binary into decimal (hint: use the
  • BIN2DEC function).

  • In row 13 display the character for the new code (hint: use the CHAR function).

Enter a formula in cell B14 to compress all the Encrypted data characters into a single string. Save the file.

[28]
Topic relevance

Why this question appears here

80% assigned-topic match · Spreadsheets › Spreadsheets

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 9626_m21_qp_02.pdf

Keep practising this topic