Skip to main content
O-LevelComputer ScienceData Representation2210/12 · May/June 2022 · Q214 Marks

Hexadecimal is used for Hypertext Markup Language (HTML) colour codes. An HTML colour code is: #2F15D6

  1. (a)Give the 8-bit binary value that would be stored for each pair of hexadecimal digits. 2F 15 D6 Working space[6]
  2. (b)HTML colour codes and Media Access Control (MAC) addresses are two examples of where hexadecimal is used in Computer Science. Give two other examples of where hexadecimal can be used in Computer Science. Example 1 Example 2[2]
  3. (c)Websites can be created using HTML structure and presentation. State what is meant by HTML structure and presentation. Give an example of each in your answer. Structure Presentation[4]
  4. (d)Explain why presentation is often separated from structure when creating a web page.[2]

Mark scheme

Marking points from the official mark scheme (May/June 2022). The mark or mark type is shown in brackets.

  1. [2] 2F: 00101111 (1 mark for 0010, 1 mark for 1111)
  2. [2] 15: 00010101 (1 mark for 0001, 1 mark for 0101)
  3. [2] D6: 11010110 (1 mark for 1101, 1 mark for 0110)
  4. [1] IP address
  5. [1] Error messages/codes
  6. [1] Assembly language // low-level language
  7. [1] URL // web address
  8. [1] Memory dumps
  9. [1] Locations in memory
  10. [1] Structure: Layout of the web page
  11. [1] Structure: e.g. Where text is placed
  12. [1] Presentation: Formatting of the web page
  13. [1] Presentation: e.g. the colour of the font
  14. [1] The formatting of the page can be changed/edited without needing to alter the structure
  15. [1] so, they can make regular updates without needing to check the structure
  16. [1] The formatting document can be used again for a different website
  17. [1] If further content and web pages are added to the website, the necessary formatting can be easily applied
  18. [1] so, this can save time when developing/updating a website
  19. [1] Allows use of CSS to standardise formatting
  20. [1] so, CSS only needs to be created once (to be applied to each webpage)

Write your answer and get it marked

On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.

Sign up free →

About this question

Topic
Data Representation, O-Level Computer Science (syllabus 2210). Structured question, 14 marks.
Source
O-Level Computer Science, May/June 2022 Paper 1 Variant 2, question 2.

Questions and mark schemes are from past examination papers and remain the copyright of the exam board. How Oracle Prep builds its content

Related Computer Science questions

© 2026 Oracle Prep