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 as0b00111111), because hexadecimal requires fewer digits to represent the same values."
Explain why the apprentice's reasoning is incorrect.
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.