• 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

Converting to bin, hexa, octa (1 Viewer)

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
Hey guys i always forget how to do it
maybe i just get lost
what's the best way to do these conversions
 

criminal

New Member
Joined
Aug 31, 2002
Messages
3
Learn how to convert to binary with the most emphasis, then convert freely from binary to either octal or hexadecimal by grouping,

ie. 493 == 111101101 (base 2)
111 101 101 == 755 (base 8)
1 1110 1101 == 1ED (base 16)

This is how I did every conversion when I did 2/3U CS in the 97 HSC.
 

spice girl

magic mirror
Joined
Aug 10, 2002
Messages
785
i would guess, if u want to convert dec to bin, you do this:

say 493: divide by 2. If there's a remainder, the last digit is 1. Otherwise it is 0. Get the whole number quotient (i.e. 493/2 = 246 + remainder, 246 is the quotient), and do it again. 246 has no remainder, so the next digit (the 2nd last) is 0. get 246/2 = 123, do it again, etc.

There must be a quicker way, but *shrug* :rolleyes:
 

Case Study

Member
Joined
Aug 19, 2002
Messages
25
Location
Northern Beaches, Sydney
Gender
Undisclosed
HSC
2002
Originally posted by Morgues
except we are not allowed to use calculators in the hsc
I think you're right. Just noticed it on the equipment list. We've always been able to use it in the trials and other assessments tho. Better start learning them then. :rolleyes:
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
draw columns?
lol
can u explain abit more
 

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

Top