From 7aea7fa31fc105cfe9021bd145d5eb0dfbf5dca9 Mon Sep 17 00:00:00 2001 From: Poonam Rajput Date: Fri, 29 May 2026 15:18:16 +0100 Subject: [PATCH] switching last two hex questions So a trainee has to convert the hex into a number befor considering how this might look as colours, ideally to lead better into the idea of the % of bytes used creating the colour mix --- number-systems/Part-2.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/number-systems/Part-2.md b/number-systems/Part-2.md index 92b700529..68b0933d9 100644 --- a/number-systems/Part-2.md +++ b/number-systems/Part-2.md @@ -7,16 +7,16 @@ The goal of these exercises is for you to gain an intuition for binary numbers. The answers to these questions will require a bit of explanation, not just a simple answer. Q16: How can you test if a binary number is a power of two (e.g. 1, 2, 4, 8, 16, ...)? -Answer: +Answer: Q17: If reading the byte 0x21 as an ASCII character, what character would it mean? -Answer: +Answer: Q18: If reading the byte 0x21 as a greyscale colour, as described in "Approaches for Representing Colors and Images", what colour would it mean? -Answer: +Answer: -Q19: If reading the bytes 0xAA00FF as an RGB colour, as described in "Approaches for Representing Colors and Images", what colour would it mean? -Answer: +Q19: If reading the bytes 0xAA00FF as a sequence of three one-byte decimal numbers, what decimal numbers would they be? +Answer: -Q20: If reading the bytes 0xAA00FF as a sequence of three one-byte decimal numbers, what decimal numbers would they be? -Answer: +Q20: If reading the bytes 0xAA00FF as an RGB colour, as described in "Approaches for Representing Colors and Images", what colour would it mean? +Answer: