Logical Ordering
Computer Science: OCR GCSE, topic 1.2.28
Logical Ordering
Both ASCII and Unicode store characters in a logical, numerical order.

ASCII - example
- Denary
- 'A' = 65
- 'B' = 66
- 'a' = 97
- 'b' = 98
- Hex
- 'A' = 41
- 'B' = 42
- 'a' = 61
- 'b' = 62

Unicode - examples
- 'A' = U+0391
- 'B' = U+0392
- 'a' = U+0061
- 'b' = U+0062

Notes
- The codes for uppercase letters are different from the codes for lowercase letters.
- The character for 'B' will be one more than the character code for 'A', and so on.
Test yourself on Logical Ordering
Select the correct statement about ASCII and Unicode codes.