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 addressError messages/codesAssembly language // low-level languageURL // web addressMemory dumpsLocations in memory2(c)[4]
One mark for a description, one mark for a correct example
Structure
Layout of the web pagee.g. Where text is placedPresentation
Formatting of the web pagee.g. the colour of the font2(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 structureThe 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 websiteAllows 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.

