HolidayBuyer's Guide

Computer Help forum

Question

binary hexdecimal

by waqar_wua / April 21, 2015 6:34 AM PDT

Hi, I'm trying to work this binay number out but I can't.
Problem :
I have this binary number 0111000010000010 which is 16 bits 2 byts.

However I can't figure how this 16 bits 2 byts is broken down and segmented.

I know that this binay number will give bits values of:

3278, 16384, 8092, 4096, etc but I don't know how you get these numbers.

guys any solutions ??? I hope you guys can help!!

Discussion is locked
You are posting a reply to: binary hexdecimal
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: binary hexdecimal
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.

All Answers

Collapse -
Answer
Re: binary
by Kees_B Forum moderator / April 21, 2015 6:47 AM PDT
In reply to: binary hexdecimal

Binary is not the same as hexadecimal. So your subject line is strange.

Now about that number. You start at the back. Then you get
0 * 1 = 0
1 * 2 = 2
0 * 4 = 0
0 * 8 = 0
Then add the (decimal) numbers after the equal sign and you get 0010 (start at the bottom) = 2.

With 5 digits it's:
0 * 1 = 0
1 * 2 = 2
0 * 4 = 0
0 * 8 = 0
1 * 16 =16
So you get 10010 = 18.

I leave it to you to extend this to 16 lines for a 16-bit unsigned number.

It's a nice spreadsheet-exercise to break down a string of 16 zeroes and ones into A1 to A16, have the constants 0,2,4,8,16,.32,64 and so on in B1 to B16, calculate the outcome of the multiplications in C1 to c16 and sum that array into the decimal value of the 16 bit binary value you entered somewhere in another cell.

Kees

Collapse -
Answer
0111 0000 1000 0010 = 70 82
by wpgwpg / April 21, 2015 7:41 AM PDT
In reply to: binary hexdecimal

That's hexadecimal, you just break the binary code into 4 bit clusters. It's normally used in dumps, places like the registry, and for representing text characters internally. Of course inside the computer everything is represented in binary bits (zeros and ones), it's just the way it's used that determines whether it's meant to be a number or a character. And of course if it's a number, there's pure binary and floating point, the latter being used in scientific calculations.
`And remember:
Hexadecimal hits the spot,
16 bits is quite a lot,
twice as much as octal too,
hexadecimal is the byte for you!

`
Happy computing.

Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

The Samsung RF23M8090SG

One of the best French door fridges we've tested

A good-looking fridge with useful features like an auto-filling water pitcher and a temperature-adjustable "FlexZone" drawer. It was a near-flawless performer in our cooling tests.