Skip to content

Commit 7a910f8

Browse files
Merge pull request #2 from hammadhaidershah/individual-shell-tools/exercise
BCN | SDC | Hammad Haider | Sprint 1 | number system exercises
2 parents d41cbab + 1a566b9 commit 7a910f8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

number-systems/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Answer: 1·32 + 0·16 + 1·8 + 1·4 + 0·2 + 1·1 = 32 + 8 + 4 + 1 = 45
1313
Which is larger: 1000 or 0111?
1414
Answer: 1000 (1000 = 8, 0111 = 7)
1515

16-
Which is larger: 00100 or 01011?
16+
Which is larger: 00100 or 01011?cd
1717
Answer: 01011 (00100 = 4, 01011 = 11)
1818

1919
What is 10101 + 01010?
@@ -63,3 +63,4 @@ Answer: Purple/magenta-like (R=170, G=0, B=255 → purple/magenta)
6363

6464
If reading the bytes 0xAA00FF as a sequence of three one-byte decimal numbers, what decimal numbers would they be?
6565
Answer: 170, 0, 255 (AA = 170, 00 = 0, FF = 255)
66+
.

0 commit comments

Comments
 (0)