Binary and Hexidecimal

Associate
Joined
6 Apr 2004
Posts
1,829
Location
Bath, UK
Anyone good with binary and those sorts of numbers? I'm not :/

"Convert the decimal 211 to a binary number and to a hexadecimal number"

and

"By means of the ASCII table, express your last name written in upper case letters as a sequence of 2 digit hexadcimals"

Means nothing to me
smiley6.gif


Any help appreciated.
 
What is this for?

I'm pretty sure you can work it out yourself if you concentrate enough on it... I can give it a go in a minute though, a bit busy right now.
 
It's not homework, i was just looking for help on how to convert from decimal to binary - as everything i have looked at hasn't made much sense. Was hoping someone could simplify it for me.
 
Nope, that's -212, 211 is '011010011' unless of course you're using signed binary. ;)

Using pure binary (eg not 2's complement, or sign and magnitude, or any other encoding) he's right, and for the scope of this question that's all that's needed.

Also, how did you get -212? 2's complement would be -45, sign and magnitude would be plus or minus 83?
 
No need to go online to do hex, decimal, binary, octal conversions. Just use the windows calculator. Scientific mode in Vista and Programmer mode in Win 7.
 
Back
Top Bottom