Skip to content

Commit df73d4a

Browse files
committed
add more detail to answers
1 parent 27e27d1 commit df73d4a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎number-systems/Part-2.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ Q17: If reading the byte 0x21 as an ASCII character, what character would it mea
1313
Answer: ! (exclamation point character corresponds to hex code 21)
1414

1515
Q18: If reading the byte 0x21 as a greyscale colour, as described in "Approaches for Representing Colors and Images", what colour would it mean?
16-
Answer: Very dark grey
16+
Answer: Very dark grey - the scale goes from 0x00 (black) to 0xFF (white), and 0x21 is very low down on this scale, thus resulting in a colour close to black
1717

1818
Q19: If reading the bytes 0xAA00FF as a sequence of three one-byte decimal numbers, what decimal numbers would they be?
1919
Answer: AA is 170, 00 is 0, FF is 255
2020

2121
Q20: If reading the bytes 0xAA00FF as an RGB colour, as described in "Approaches for Representing Colors and Images", what colour would it mean?
22-
Answer: Purple
22+
Answer: Purple - AA is darkish red, 00 is no green, FF is max blue, and red and blue mix to make purple

0 commit comments

Comments
 (0)