Skip to content

Course home

Number bases

Number bases

EasyMediumHard
1234567
Question 4

An apprentice software engineer is writing a program for an embedded microcontroller with very limited storage. In their design document, they write:

"To save memory space in the microcontroller's flash storage, all constant values in our source code should be defined using hexadecimal notation (such as 0x3F) rather than binary notation (such as 0b00111111), because hexadecimal requires fewer digits to represent the same values."

Explain why the apprentice's reasoning is incorrect.

[2]
Markscheme

Number bases Questions

  1. GCSE
  2. /Computer Science
  3. /Number bases

27 exam-style questions on AQA GCSE Computer Science Number bases. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank