right, i have to learn this is college but i have an indian teacher that I cannot understand a word of, and even when I asked for a printout of the work so i can look at home she said no and walked away, so i may aswell talk to the flippin wall. anyway, i need to know how to convert a number into binary. eg 27 or 35. I know how to add them and i know the 1st and 2nd compliment, just need to know how to convert, rep left for any helpers

thanks, dean

thanks, dean

Options

## All Comments

(17) Jump to unreadPost a commentBut i forgot, if ur doing the above its really a stupid course im on my 2nd year and they teach you loads of stuff that is irrelevant. Anyway try this http://www.math.grin.edu/~rebelsky/Courses/152/97F/Readings/student-binary or http://www.google.co.uk/search?q=binary+help+compliment&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a

http://www.computerhope.com/binhex.htm

that what i mean, she speak bottom line english and half of the time when i ask her a question, she just pulls a face and turns around to do her own buisness. thanks for the above, rep left :thumbsup:

But i forgot, if ur doing the above its really a stupid course im on my 2nd year and they teach you loads of stuff that is irrelevant. Anyway try this http://www.math.grin.edu/~rebelsky/Courses/152/97F/Readings/student-binary or http://www.google.co.uk/search?q=binary+help+compliment&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a

exactly the course I'm doing National Diploma electronical engineering

i will never get to understand this one, its like half the thing she says come out a jibber jabber, and she cant even understand us ! no hope

Is the unit you are doing micro-electronics? That got dropped at my college. What units are you doing this semester?

Is the unit you are doing micro-electronics? That got dropped at my college. What units are you doing this semester?

maths, E & E, communications (guess which teacher i have to teach communications), micro processors, key skills, electronical principles, some other stuff but i cant remember

If they can't be understood, they can't be understood. Nationality doesn't need to be brought into it. :)

If they can't be understood, they can't be understood. Nationality doesn't need to be brought into it. :)

Mr politically correct here...

32<27<16 => 1x2^4 + 27 - 16 = 2^4 +11

11>2^3 => 1x2^4 + 1x2^3 + 11 - 8 = 1x2^4 + 1x2^3 +3

3<2 ^2 => 1x2^4 + 1x2^3 + 0x2^2 + 3 - 0 = 1x2^4 + 1x2^3 + 0x2^2 + 3

3>2^1 => 1x2^4 + 1x2^3 + 0x2^2 + 1x2^1 + 3 - 2 = 1x2^4 + 1x2^3 + 0x2^2 + 1x2^1 + 1

1=2^0 => 1x2^4 + 1x2^3 + 0x2^2 + 1x2^1 + 1x2^0

So 11011 is the answer

27 = 1x16 + 1x8 + 0x4 + 1x2 + 1x1

You have to find which is the biggest power of two that is less than your number. Here it is 2^4 = 16.

That value takes a 1. Then you subtract that number (here 16) from your original number. If that number is bigger that the next smaller power of two, you value will be a 1, otherwise it's a 0. Then subtract again and continue until you reach the smallest power of two 2^0 = 1, as the example above.

Hope this helps.

If they can't be understood, they can't be understood. Nationality doesn't need to be brought into it. :)

I'm not trying to be racist if that what your implying, Dont mean to cause offence but I cant understand her

2^5<27<2^432<27<16 => 1x2^4 + 27 - 16 = 2^4 +11

11>2^3 => 1x2^4 + 1x2^3 + 11 - 8 = 1x2^4 + 1x2^3 +3

3<2 ^2 => 1x2^4 + 1x2^3 + 0x2^2 + 3 - 0 = 1x2^4 + 1x2^3 + 0x2^2 + 3

3>2^1 => 1x2^4 + 1x2^3 + 0x2^2 + 1x2^1 + 3 - 2 = 1x2^4 + 1x2^3 + 0x2^2 + 1x2^1 + 1

1=2^0 => 1x2^4 + 1x2^3 + 0x2^2 + 1x2^1 + 1x2^0

So 11011 is the answer

27 = 1x16 + 1x8 + 0x4 + 1x2 + 1x1

You have to find which is the biggest power of two that is less than your number. Here it is 2^4 = 16.

That value takes a 1. Then you subtract that number (here 16) from your original number. If that number is bigger that the next smaller power of two, you value will be a 1, otherwise it's a 0. Then subtract again and continue until you reach the smallest power of two 2^0 = 1, as the example above.

Hope this helps.

lost me at 2

I don't think you were being racist. I just think it's irrelevant that she is Indian(If indeed she is). :)

If I lost you there, you're definitely not ready to be an electronical engineer then...