Numbers
Converting values between decimal, binary, hexadecimal and other bases, and spotting impossible representations by their digits alone.
30 exercises
Exercise 1
If I told you that the decimal number (i.e., base-10 number) 2022 was equal to , would you call me a liar without even having to think too hard?
Exercise 2
If I told you that the decimal number 2022 was equal to , would you call me a liar without even having to think too hard?
Exercise 3
If I told you that the decimal number 2022 was equal to 8FA, would you call me a liar without even having to think too hard?
Exercise 4
If I told you that the decimal number 2022 was equal to 1231, would you call me a liar without even having to think too hard?
Exercise 5
If I told you that the decimal number 2022 was equal to 7E, would you call me a liar without even having to think too hard?
Exercise 6
If I told you that 98,243,917,215 mod 7 was equal to 1, would you call me a liar without even having to think too hard?
Exercise 7
If I told you that 273,111,999,214 mod 6 was equal to 6, would you call me a liar without even having to think too hard?
Exercise 8
Are the numbers 18 and 25 equal?
Exercise 9
Are the numbers 18 and 25 congruent mod 7?
Exercise 10
Are the numbers 18 and 25 congruent mod 6?
Exercise 11
Are the numbers 617,418 and 617,424 equal?
Exercise 12
Are the numbers 617,418 and 617,424 congruent mod 3?
Exercise 13
Are the numbers 617,418 and 617,424 congruent mod 2?
Exercise 14
Are the numbers 617,418 and 617,424 congruent mod 5?
Exercise 15
Are the numbers 617,418 and 617,424 congruent mod 6?
Exercise 16
What's ?
Exercise 17
What's ?
Exercise 18
What's ?
Exercise 19
What's ?
Exercise 20
What's ?
Exercise 21
What's ?
Exercise 22
What's ?
Exercise 23
What's ?
Exercise 24
What's the binary number in hexadecimal? Or is that too hard a question to eyeball?
Exercise 25
What's the binary number in decimal? Or is that too hard a question to eyeball?
Exercise 26
What's the hex number F4CE in decimal? Or is that too hard a question to eyeball?
Exercise 27
What's the hex number F4CE in binary? Or is that too hard a question to eyeball?
Exercise 28
If I told you that the bit pattern 1010 was meant to represent an
unsigned number, what value would it represent?
Exercise 29
If I told you that the bit pattern 1010 was meant to represent a
sign-magnitude number, what value would it represent?
Exercise 30
If I told you that the bit pattern 1010 was meant to represent a
two's-complement number, what value would it represent?
Adapted from A Cool Brisk Walk Through Discrete Mathematics © 2023 Stephen Davies. Licensed under CC BY-SA 4.0. Source: A Cool Brisk Walk Through Discrete Mathematics. Imported at revision 4b9934b.