Solve : Writing in Binary?

Other Other in Other . 2 years ago

  4   0   0   0   0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Hello All,

First off, If this is the wrong area, Please let me know. I've searched all other topics and feel my question is best SUITED here.

I've been confused on is that I understand that 256 Decimal is 100000000.

My question is that, am I suppose to write it as 100000000? or Since it goes into a second bit, I guess is the WAY to say it, that it should be written as 0000000100000000?

Please let me know, and I'm sorry for the silly/newb question.
1 Byte is 0-255, so 2 Bytes are needed to get the range of 256 - 65535

so

00000000 11111111 = 255

and

00000001 00000000 = 256

and

11111111 11111111 = 65535Binary can be expressed using no more digits than needed. You would not write 0001000 in decimal if you MEANT one thousand. It is common to prefix a decimal number with a zero and a lower case b.



However if you are dealing with (for example) nibble, byte, word (4,8, or 16 bits) SIZED chunks of data you would pad with as many leading zeros as necessary e.g.:

Bit: 1
Nibble: 0101
Byte: 00000101
Word: 0000000000000101
Thank you for the clarification. I really appreciate it!

Posted on 18 May 2022, this text provides information on Other related to Other in Other. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Tuteehub forum answer Answers

Post Answer

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.