Skip to content

Commit 9e9d514

Browse files
authored
Update README.md
1 parent 6a2932e commit 9e9d514

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

number-systems/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ What's the largest number you can store with 4 bits, if you want to be able to r
3232
Answer: 15
3333

3434
How many bits would you need in order to store the numbers between 0 and 255 inclusive?
35-
Answer: 7
35+
Answer: 8
3636

3737
How many bits would you need in order to store the numbers between 0 and 3 inclusive?
3838
Answer: 2
3939

4040
How many bits would you need in order to store the numbers between 0 and 1000 inclusive?
41-
Answer: 9
41+
Answer: 10
4242

4343
How can you test if a binary number is a power of two (e.g. 1, 2, 4, 8, 16, ...)?
4444
Answer: If the number have only one '1' digit at the start and other digits are 0 - the number is a power of two
4545

4646
Convert the decimal number 14 to hex.
47-
Answer: F
47+
Answer: E
4848

4949
Convert the decimal number 386 to hex.
5050
```

0 commit comments

Comments
 (0)