Skip to content

Birmingham | 26-Jul-sdc | Roman Sanaye | Sprint 1 | Number Systems#549

Open
RomanSanaye wants to merge 5 commits into
CodeYourFuture:mainfrom
RomanSanaye:number-systems
Open

Birmingham | 26-Jul-sdc | Roman Sanaye | Sprint 1 | Number Systems#549
RomanSanaye wants to merge 5 commits into
CodeYourFuture:mainfrom
RomanSanaye:number-systems

Conversation

@RomanSanaye

Copy link
Copy Markdown

Changelist

This PR contains my completed answers for Sprint 1 exercises on number systems.

The exercises cover understanding and working with:

  • Binary numbers
  • Hexadecimal numbers
  • ASCII encoding
  • RGB and grayscale colour representation
  • Bit-level data interpretation

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.

@RomanSanaye RomanSanaye added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 3, 2026
@LonMcGregor LonMcGregor added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jul 7, 2026
@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 7, 2026
@CodeYourFuture CodeYourFuture deleted a comment from github-actions Bot Jul 7, 2026
@LonMcGregor LonMcGregor added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 7, 2026
@CodeYourFuture CodeYourFuture deleted a comment from github-actions Bot Jul 7, 2026
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 7, 2026
@RomanSanaye RomanSanaye changed the title Birmingham | 2026-Jul-sdc | Roman Sanaye | Sprint 1 | Number Systems Birmingham | 26-Jul-sdc | Roman Sanaye | Sprint 1 | Number Systems Jul 8, 2026
@RomanSanaye RomanSanaye added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 8, 2026
@github-actions

This comment has been minimized.

@OracPrime OracPrime added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jul 10, 2026

@OracPrime OracPrime left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You seemed to miss the last question in part 1, and I think you need to check Q23.

Comment thread number-systems/Part-1.md

Q6: What is 10001 + 10001?
Answer:
Answer: 10001 = 17 + 17 = 34 decimal = 100010 binary

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is one way of doing it, but what happens if you try just adding it in binary:
10001
+10001


???????

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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;

Comment thread number-systems/Part-1.md Outdated
Answer: 11

Q15: If reading the byte 0x21 as a number, what decimal number would it mean?
Answer:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you miss this one?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed that one. 0x21 hex will be 33 in decimal.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So you need to push a new commit (apologies if I'm just been too hasty and you're doing it now)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi sir @OracPrime , I have made changes and pushed. Thanks for your feedback and time.

Comment thread number-systems/Part-2.md Outdated

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)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure? Check again!

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have checked and it was bright purple color not the one I previously described.
Thanks for your time and feedbacks sir.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And when you're ready, remove Reviewed tag and re-add Needs Review

@OracPrime OracPrime added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Jul 10, 2026
@RomanSanaye RomanSanaye added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 10, 2026
@github-actions

Copy link
Copy Markdown

Results of test:
You passed 15/15 tasks in part 1.
Please let a volunteer check the answers for part 2.

@OracPrime OracPrime left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's all good

@OracPrime OracPrime added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Reviewed Volunteer to add when completing a review with trainee action still to take. labels Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants