# GCSE Computer Science OCR - Hexadecimal?

Watch
Announcements
Thread starter 4 years ago
#1
How can i convert 55 into hexadecimal?
0
4 years ago
#2
base 16, whats the biggest power of 16 that is less than 55? 16. How many 16s go into 55? 3 with 7 left over. the next power of 16 is 1 (16^0). how many 1s go into 7? 7. so the answer is 37,

Note, if you end up at 1 with a value larger than 9, then the number becomes letters. take the number 58. 3 16s, 10 left over, you would assume then that the number is 310, but it is not, the 10 becomes A. so the answer is 3A.

After 10 we have:

11: B
12: C
13: D
14: E
15: F

Edit, i must say, if you end up with any power of 16 with a number larger than 9 you must replace them with letters, must this would only occur with quite large numbers that they would not likely give you in a GCSE exam, but its worth noting that its not only the case when you get to 1s.
0
4 years ago
#3
Convert 55 into Binary: 00110111
Split it into 2 nibbles: 0011 0111
Calculate the value of each nibble in denary: 3 7
Convert each digit into Hex: 37

NOTE: If you end up at step 3 with a values of 10 or more:
10 is A
11 is B
12 is C
13 is D
14 is E
15 is F
0
4 years ago
#4
37
0
4 years ago
#5
(Original post by aqvague)
Convert 55 into Binary: 00110111
Split it into 2 nibbles: 0011 0111
Calculate the value of each nibble in denary: 3 7
Convert each digit into Hex: 37

NOTE: If you end up at step 3 with a values of 10 or more:
10 is A
11 is B
12 is C
13 is D
14 is E
15 is F
There is also the binary first method, quicker if you are good with binary.
0
4 years ago
#6
(Original post by Divinchi)
How can i convert 55 into hexadecimal?
how many times does 16 go into 55?

55/16 = 3.4375
or to put it another way
3 remainder 7

0
4 years ago
#7
I know an easier method but it is a bit longer.

First convert 55 into binary so that would be 00110111 then split it in half so that would be 0011 0111. After you have done this convert each of the 2 into denary you should get this. 3 7 therefore it would be 37 in Hexadecimal. If it is 10 or above then you use alphabets ie A for 10 B for 11 and so on...

Hope that helps if youve got any confusion ask away
0
4 years ago
#8
Omg this is soooo ARGH!
0
4 years ago
#9
(Original post by Joinedup)
how many times does 16 go into 55?

55/16 = 3.4375
or to put it another way
3 remainder 7

Sorry, but how did you get '37' from '3.4375' ?!?
0
4 years ago
#10
(Original post by Roman_Akira)
Sorry, but how did you get '37' from '3.4375' ?!?
3*16 = 48
which is to say 3 is the highest number of 16s that go into 55 without going over
we write 3 in the 16s column

but there's there's a bit left over, we still need to write something in the units column

you could get the remainder by doing 55-48 = 7

alternatively because it's integer divided by 16 the leftover 0.4375 must be a whole number of 16ths

0.4375 is 7/16ths

either way 7 goes into the units column and we're finished
0
X

new posts
Back
to top
Latest
My Feed

### Oops, nobody has postedin the last few hours.

Why not re-start the conversation?

see more

### See more of what you like onThe Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

### Poll

Join the discussion

#### Are you travelling in the Uni student travel window (3-9 Dec) to go home for Christmas?

Yes (50)
30.67%
No - I have already returned home (21)
12.88%
No - I plan on travelling outside these dates (36)
22.09%
No - I'm staying at my term time address over Christmas (15)
9.2%
No - I live at home during term anyway (41)
25.15%