London | 26-SDC-Mar | Beko | Sprint 1 | Number Systems#378
London | 26-SDC-Mar | Beko | Sprint 1 | Number Systems#378Abubakar-Meigag wants to merge 2 commits into
Conversation
cjyuan
left a comment
There was a problem hiding this comment.
Can you do a self-check against the answers on https://github.com/CodeYourFuture/Module-Tools/blob/solutions/number-systems/README.md?plain=1
Should you have any question regarding number systems, feel free to raise them in the comment of this PR.
|
I did a self-check and only one answer needs to be corrected, and I already pushed the change |
|
|
||
| Which is larger: 00100 or 01011? | ||
| Answer: 00100 | ||
| Answer: 01011 |
There was a problem hiding this comment.
Have you figured out why 01011 is larger?
There was a problem hiding this comment.
Have you figured out why 01011 is larger?
Yes, because in binary, 01011 equals 11 in decimal, which is greater than 00100 which equals 4 in decimal
There was a problem hiding this comment.
Can you tell which binary number is larger without converting to decimal? First or second number?
00011111111111111111111111111111111111111111111
00101000000000000000000000000000000000000010101
Changelist
Complete the second mandatory task by answering all the questions in the Number Systems exercise.