• Congratulations to the Class of 2024 on your results!
    Let us know how you went here
    Got a question about your uni preferences? Ask us here

Binary Division (1 Viewer)

-X-

Member
Joined
Aug 10, 2003
Messages
481
Gender
Undisclosed
HSC
N/A
When we get divisions like these, do we give them an answer as a remainder or decimal? Could they specifically ask the way they want the answer?
 

-X-

Member
Joined
Aug 10, 2003
Messages
481
Gender
Undisclosed
HSC
N/A
Sam, with the answer you gave, if u continued from it, would it then equal to something like this "1111.1001"? Thats what i keep getting but excel has "1111.1010...."

Thanks
 

SamD

Member
Joined
Jul 21, 2002
Messages
256
Gender
Male
HSC
N/A
Excel is correct.

You keep bringing down zeros, so you get a repeat of the following:

Bring down a zero
1000-110 = 10 the answer is now 1111.1

Bring down a zero
100 is less than 110 so the anser is 1111.10

Bring down a zero
1000-110=10 so thwe answer is 1111.101

And so on.....

The result is 1111.1010101010101010101010...

By the way, two's complement is a special case of the binary number system. If they just ask you to do a binary division then there is no need to do any of it in twos complement, in fact strictly it is the wrong thing to do. That is, you can just do the subtraction directly in binary.
 

-X-

Member
Joined
Aug 10, 2003
Messages
481
Gender
Undisclosed
HSC
N/A
YES!, thanks allot. I got it now. I forgot my long divisions (thanks calculator!). :D
 

fatmuscle

Active Member
Joined
Jul 6, 2002
Messages
3,707
Location
Hornsby
Gender
Male
HSC
2001
if youse PM me any binary arithmatic Q's i'll be happy to do them...*try* to do them
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top