Note AcademyNote Academy

Computer Science · May / June 2022 · Paper 12 · Question 2

0478

As printed in the paper

The question as text

Hexadecimal is used for Hypertext Markup Language (HTML) colour codes. An HTML colour code is: #2F15D6 Each pair of digits is stored as binary in an 8‑bit register.

Read automatically from the paper; the printed page above is exact.

Show the answer and mark scheme
  • 2(a)[6]

    Two marks each correct conversion (one mark for the first four bits, one mark for the second four bits)

    0

    0

    1

    0

    1

    1

    1

    1

    2F

    0

    0

    0

    1

    0

    1

    0

    1

    15

    1

    1

    0

    1

    0

    1

    1

    0

    D6

  • 2(b)[2]

    Any two from:

    IP address
    Error messages/codes
    Assembly language // low-level language
    URL // web address
    Memory dumps
    Locations in memory
  • 2(c)[4]

    One mark for a description, one mark for a correct example

    Structure

    Layout of the web page
    e.g. Where text is placed

    Presentation

    Formatting of the web page
    e.g. the colour of the font
  • 2(d)[2]

    Two from:

    The formatting of the page can be changed/edited without needing to alter the structure
    … so, they can make regular updates without needing to check the structure
    The formatting document can be used again for a different website …
    If further content and web pages are added to the website, the necessary formatting can be easily applied …
    … so, this can save time when developing/updating a website
    Allows use of CSS to standardise formatting
    … so, CSS only needs to be created once (to be applied to each webpage)

Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.