• 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)

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
OMG Guy's i forgot all of it shit... arghhh


i can't even work this one out in the excel text book its screwed



1011110 divided by 110


i got 1010 remainder 100


but the answer is bloody screwed
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
ummm could u like ummmm do this in paint just the working out bit coz its hard to see the working out with numbers everywhere
 

SamD

Member
Joined
Jul 21, 2002
Messages
256
Gender
Male
HSC
N/A
I'll do it by hand then scan it, give us a few minutes!
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
Originally posted by SamD
I'll do it by hand then scan it, give us a few minutes!
Thanks Sam! You're always here to the rescue, i'm so behind in the option topic, not revealing much, but we haven't finished the topic. Bah so sad :(
 

leeraff

Member
Joined
Sep 11, 2003
Messages
63
Gender
Male
HSC
2004
i hope this isnt too complicated

format is a bit screwy

does 110 go into 1, no, 10, no, 101, no, but it does into 1011
therefore add a one to the top
1
110 / 1011110

now u do 1011 - 110

2's complement

110 = 001 + 1 = 010

1011 + 010 = 1101

thus u get
1111
110/1011110
.......0110
.......1101 *cut off the leading one
........1011- *bring down the 1, and put a one at the top
..........110 *1011 + 010 = 1101
.........11011- *bring down the 1, cut off the one
..............110
............11010- *bring down 0, cut off the one
................110
................100

there for the answer is 1111 r 100

the answer in excel is just the fraction version of the same thing, writing the above will give the same result
 
Last edited:

leeraff

Member
Joined
Sep 11, 2003
Messages
63
Gender
Male
HSC
2004
u dont know how long that took me, the answer was ok.......but the dam format was all screwy!! think this is like my 4 post :(

just ignore the excel 1111.10101010 (repeater), just doin it to confuse ppl....i rang up advice line and they said "yeh that anwer was fine".
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
Originally posted by leeraff
u dont know how long that took me, the answer was ok.......but the dam format was all screwy!! think this is like my 4 post :(

just ignore the excel 1111.10101010 (repeater), just doin it to confuse ppl....i rang up advice line and they said "yeh that anwer was fine".
Thanks for the help
but fark this section of revision is sooo HARD!!!!


like for example

question 5,9 and 10 i have not heard of those at all!!!!
 

SamD

Member
Joined
Jul 21, 2002
Messages
256
Gender
Male
HSC
N/A
What's the go, you can only attach files up to 1 byte!!!

Winston I've emailed a jpeg to you using your hotmail address from this site. If you can shove it in this thread somehow that would be good.

Sam
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
Originally posted by SamD
What's the go, you can only attach files up to 1 byte!!!

Winston I've emailed a jpeg to you using your hotmail address from this site. If you can shove it in this thread somehow that would be good.

Sam
Yeah we're stingy on bandwidth at the moment lol...

i'm not sure if it's gonna go to my inbox because hotmail is 2mb, stingy on space as well


try my bigpond

npang@bigpond.net.au
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
ok i got a query

how does this work out?


the first subtraction done


1011 + 110

wouldn't it be 10001 ??
 

SamD

Member
Joined
Jul 21, 2002
Messages
256
Gender
Male
HSC
N/A
You're adding not subtracting

from the RHS:

1-0 =1 then
1-1 = 0 then
10-1=1

So you get 101
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
Originally posted by SamD
You're adding not subtracting

from the RHS:

1-0 =1 then
1-1 = 0 then
10-1=1

So you get 101
i think i've never heard of 10 - 1 b4 lol :S
 

leeraff

Member
Joined
Sep 11, 2003
Messages
63
Gender
Male
HSC
2004
there is a thing called 2'complement. Since computers cant subtract they add the negative version of that number

So when you minus the numbers, instead of taking away u find the negative version of that number then add it.

For instance you want to do

1011 - 110

therefore u find the 2's complement of 110

to find this, u first find the 1's complement, which basically means turning all the 0's into 1's and 1's into 0's

so 110 becomes 001.

BUt now you have to find the 2's complement, and this is done by adding a 1.

so u get

001+
001

which becomes 010.

thus now you can add 010 to 1011,

1011+
0010

which will get you the same as minusing it.

think of it like this. you have positive 1011, and you wish to minus 110. now when you find the 2's complement you are finding a negative number. so it becomes

1011 - - 010, which becomes 1011 + 010 (two negatives make a positive)
 
Last edited:

leeraff

Member
Joined
Sep 11, 2003
Messages
63
Gender
Male
HSC
2004
so this becomes
1011 + 010

which equals, 1101, but you ignore the first bit, so you get 101.

i wouldnt get into the habit of trying to minus binary, because quite often if the bos give you a binary minus of diversion question they want you to use 2's complement.
 

leeraff

Member
Joined
Sep 11, 2003
Messages
63
Gender
Male
HSC
2004
Originally posted by Winston
Thanks for the help
but fark this section of revision is sooo HARD!!!!


like for example

question 5,9 and 10 i have not heard of those at all!!!!
question 5 is basically about adders. You NEED to know these. Adders are used in adding up bits, and you should really revise this. Rind advice line, they can explain it.

Question9, well this is to do with ASCII, dont worry you dont need to know all the ASCII codes, but you should learn some basic printer commands e.g. carrage return. The actual question they give you will not be on the test, unless they include a ASCII table (which they wont), but none the less they may ask about different printer commands in an algorithm. The most likely thing that this will be used will be similar to the specium paper (http://www.boardofstudies.nsw.edu.au/syllabus_hsc/pdf_doc/software_specexam.pdf), but with printer options instead of Pen lifting.

question 10, is a simple comprehesion question, read your text book.

hope that helps
 

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

Top