Birmingham | 26-Jul-sdc | Roman Sanaye | Sprint 1 | Number Systems#549
Birmingham | 26-Jul-sdc | Roman Sanaye | Sprint 1 | Number Systems#549RomanSanaye wants to merge 5 commits into
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
OracPrime
left a comment
There was a problem hiding this comment.
You seemed to miss the last question in part 1, and I think you need to check Q23.
|
|
||
| Q6: What is 10001 + 10001? | ||
| Answer: | ||
| Answer: 10001 = 17 + 17 = 34 decimal = 100010 binary |
There was a problem hiding this comment.
This is one way of doing it, but what happens if you try just adding it in binary:
10001
+10001
???????
There was a problem hiding this comment.
it will be: 100010;
1+1 = 10 => we write 0 and carry 1 to next column; if we continue till the end, it ll be 100010;
| Answer: 11 | ||
|
|
||
| Q15: If reading the byte 0x21 as a number, what decimal number would it mean? | ||
| Answer: |
There was a problem hiding this comment.
I missed that one. 0x21 hex will be 33 in decimal.
There was a problem hiding this comment.
So you need to push a new commit (apologies if I'm just been too hasty and you're doing it now)
There was a problem hiding this comment.
Hi sir @OracPrime , I have made changes and pushed. Thanks for your feedback and time.
|
|
||
| Q20: If reading the bytes 0xAA00FF as an RGB colour, as described in "Approaches for Representing Colors and Images", what colour would it mean? | ||
| Answer: | ||
| Answer: strong blue + some red ==> RGB(170, 0, 255) |
There was a problem hiding this comment.
I have checked and it was bright purple color not the one I previously described.
Thanks for your time and feedbacks sir.
There was a problem hiding this comment.
And when you're ready, remove Reviewed tag and re-add Needs Review
|
Results of test: |
Changelist
This PR contains my completed answers for Sprint 1 exercises on number systems.
The exercises cover understanding and working with:
I worked through the questions manually to strengthen my understanding of how number systems are represented and converted, focusing on learning the underlying concepts rather than using tools.
Questions
I don’t have any questions at the moment, but I would appreciate feedback on whether my explanations for number system conversions and byte interpretations are correct and clearly written.