Conversions of number systems Flashcards

Binary to denary, hex to binary, etc. (6 cards)

1
Q

Binary to Denary

A

Classic conversion, 128 halving down to 1, above each digit in binary, then add all the values above the 1’s.
128 64 32 16 8 4 2 1
1. 0. 1. 1.1 0 1 1
1+2+8+16+32+128 = 187

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Denary to binary

A

Also classic number scale. Write out 128 to 1 scale, subtracting the largest possible number from the scale, leaving a 1 if you subtracted, 0 if not.
209
128 64 32 16 8 4 2 1
1 1 0 1 0 0 0 1
209-128=81 81-64=17 17-16=1. 1-1=0
11010001

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Binary to hexadecimal

A

Split the 8 bit binary number into 2 4 bit nibbles. Work out decimal for each one, and give them a value based on hex scale. 0-9 = 0-9, 10-15 = A-F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Hex to binary

A

Opposite of before. Just work out what each hex character refers to in decimal, then convert them to binary and stick them together.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Denary to hex

A

Just convert to binary, then convert binary to hex

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Hex to denary

A

Just convert hex to binary, then binary to denary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly