Skip to content

Commit 53622a5

Browse files
committed
Revert "number-systems exercise -- not complete"
This reverts commit c104cd4.
1 parent 4856862 commit 53622a5

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

number-systems/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,34 +5,34 @@ Do not convert any binary numbers to decimal when solving a question unless the
55
The goal of these exercises is for you to gain an intuition for binary numbers. Using tools to solve the problems defeats the point.
66

77
Convert the decimal number 14 to binary.
8-
Answer: 110
8+
Answer:
99

1010
Convert the binary number 101101 to decimal:
11-
Answer: 45
11+
Answer:
1212

1313
Which is larger: 1000 or 0111?
14-
Answer: 1000
14+
Answer:
1515

1616
Which is larger: 00100 or 01011?
17-
Answer: 01011
17+
Answer:
1818

1919
What is 10101 + 01010?
20-
Answer: 11111
20+
Answer:
2121

2222
What is 10001 + 10001?
23-
Answer: 100010
23+
Answer:
2424

2525
What's the largest number you can store with 4 bits, if you want to be able to represent the number 0?
26-
Answer: 1111
26+
Answer:
2727

2828
How many bits would you need in order to store the numbers between 0 and 255 inclusive?
2929
Answer:
3030

3131
How many bits would you need in order to store the numbers between 0 and 3 inclusive?
32-
Answer: 2
32+
Answer:
3333

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

3737
How can you test if a binary number is a power of two (e.g. 1, 2, 4, 8, 16, ...)?
3838
Answer:

0 commit comments

Comments
 (0)