Menu

Binary to Hexadecimal Conversion Exam Questions

12 OCR GCSE Computer Science (J277) exam-style questions on Binary to Hexadecimal Conversion (1.2 Memory & Storage), 30 marks in all. Answer them on paper or print them, then open the mark schemes and example answers to see how each is marked.

Revise Binary to Hexadecimal Conversion first

Build a paper on 1.2 Memory & Storage
Print
Download
1Convert1 mark

Binary numbers can represent different forms of data.

Convert the binary number 01011111 into hexadecimal.

[1 mark]
Mark scheme
  • 1 mark for 5F

Guidance

Correct answer only

Ignore case

Example answers and how they were marked
Full marks1/1

5F

Why: 0101 is 5 and 1111 is F: 5F (1).

No marks0/1

515

Why: A digit over 9 is written in denary instead of as a letter (0).

No marks0/1

F5

Why: The digits are the wrong way round (0).

2Convert1 mark

Computers represent data in binary form.

Convert the binary number 11101110 into hexadecimal.

[1 mark]
Mark scheme
  • 1 mark for EE

Guidance

Correct answer only

Ignore case

Example answers and how they were marked
Full marks1/1

EE

Why: 1110 is E and 1110 is E: EE (1).

No marks0/1

1414

Why: A digit over 9 is written in denary instead of as a letter (0).

No marks0/1

FF

Why: The digits are the wrong way round (0).

3Convert1 mark

Computers store all data as binary.

Convert the binary number 10100101 into hexadecimal.

[1 mark]
Mark scheme
  • 1 mark for A5

Guidance

Correct answer only

Ignore case

Example answers and how they were marked
Full marks1/1

A5

Why: 1010 is A and 0101 is 5: A5 (1).

No marks0/1

105

Why: A digit over 9 is written in denary instead of as a letter (0).

No marks0/1

5A

Why: The digits are the wrong way round (0).

4Convert1 mark

Computers store all data as binary.

Convert the binary number 11110000 into hexadecimal.

[1 mark]
Mark scheme
  • 1 mark for F0

Guidance

Correct answer only

Ignore case

Example answers and how they were marked
Full marks1/1

F0

Why: 1111 is F and 0000 is 0: F0 (1).

No marks0/1

150

Why: A digit over 9 is written in denary instead of as a letter (0).

No marks0/1

F

Why: The final 0 is left off, which changes the value (0).

5Convert1 mark

Binary numbers can represent different forms of data.

Convert the binary number 00111100 into hexadecimal.

[1 mark]
Mark scheme
  • 1 mark for 3C

Guidance

Correct answer only

Ignore case

Example answers and how they were marked
Full marks1/1

3C

Why: 0011 is 3 and 1100 is C: 3C (1).

No marks0/1

312

Why: A digit over 9 is written in denary instead of as a letter (0).

No marks0/1

C3

Why: The digits are the wrong way round (0).

6Convert1 mark

Computers store all data as binary.

Convert the binary number 10100000 into hexadecimal.

[1 mark]
Mark scheme
  • 1 mark for A0

Guidance

Correct answer only

Ignore case

Example answers and how they were marked
Full marks1/1

A0

Why: 1010 is A and 0000 is 0: A0 (1).

No marks0/1

100

Why: A digit over 9 is written in denary instead of as a letter (0).

No marks0/1

A

Why: The final 0 is left off, which changes the value (0).

7Convert4 marks

Computers store all data as binary.

Each row in the table contains a number written as a denary value, an 8-bit binary value and a 2-digit hexadecimal value. Some values are missing.

Complete the table by writing in the missing value for each number.

[4 marks]
Denary8-bit binaryHexadecimal
5500110111
10111110BE
178B2
011010116B
Mark scheme

1 mark for each completed box

Denary | 8-bit binary | Hexadecimal

55 | 00110111 | 37

190 | 10111110 | BE

178 | 10110010 | B2

107 | 01101011 | 6B

Guidance

Correct answers only – binary must be 8 bits.

Ignore case in hex.

Example answers and how they were marked
Full marks4/4

37

190

10110010

107

Why: Every missing value is correct, and the binary is 8 bits (4).

Some marks2/4

73

190

10110010

214

Why: Rows 2 and 3 are correct (2); row 1 (hexadecimal) has its digits the wrong way round (0) and row 4 (denary) reads the place values from the wrong end (0).

No marks0/4

73

125

01001101

214

Why: None of the values is right: row 1 (hexadecimal) has its digits the wrong way round (0); row 2 (denary) reads the place values from the wrong end (0); row 3 (binary) is back to front (0); row 4 (denary) reads the place values from the wrong end (0).

8Convert4 marks

Binary numbers can represent different forms of data.

Each row in the table contains a number written as a denary value, an 8-bit binary value and a 2-digit hexadecimal value. Some values are missing.

Complete the table by writing in the missing value for each number.

[4 marks]
Denary8-bit binaryHexadecimal
0011100139
209D1
2216
23711101101
Mark scheme

1 mark for each completed box

Denary | 8-bit binary | Hexadecimal

57 | 00111001 | 39

209 | 11010001 | D1

22 | 00010110 | 16

237 | 11101101 | ED

Guidance

Correct answers only – binary must be 8 bits.

Ignore case in hex.

Example answers and how they were marked
Full marks4/4

57

11010001

00010110

ED

Why: Every missing value is correct, and the binary is 8 bits (4).

Some marks2/4

156

11010001

00010110

1413

Why: Rows 2 and 3 are correct (2); row 1 (denary) reads the place values from the wrong end (0) and row 4 (hexadecimal) has a digit over 9 written in denary (0).

No marks0/4

156

10001011

10110

1413

Why: None of the values is right: row 1 (denary) reads the place values from the wrong end (0); row 2 (binary) is back to front (0); row 3 (binary) leaves off the leading 0s, so it is not 8 bits (0); row 4 (hexadecimal) has a digit over 9 written in denary (0).

9Convert4 marks

Binary numbers can represent different forms of data.

Complete the table by writing the missing denary, 8-bit binary or hexadecimal values.

[4 marks]
Denary8-bit binaryHexadecimal
25011111010
10101000A8
5800111010
1559B
Mark scheme

1 mark for each completed box

Denary | 8-bit binary | Hexadecimal

250 | 11111010 | FA

168 | 10101000 | A8

58 | 00111010 | 3A

155 | 10011011 | 9B

Guidance

Correct answers only – binary must be 8 bits.

Ignore case in hex.

Example answers and how they were marked
Full marks4/4

FA

168

3A

10011011

Why: Every missing value is correct, and the binary is 8 bits (4).

Some marks2/4

1510

168

3A

11011001

Why: Rows 2 and 3 are correct (2); row 1 (hexadecimal) has a digit over 9 written in denary (0) and row 4 (binary) is back to front (0).

No marks0/4

1510

21

310

11011001

Why: None of the values is right: row 1 (hexadecimal) has a digit over 9 written in denary (0); row 2 (denary) reads the place values from the wrong end (0); row 3 (hexadecimal) has a digit over 9 written in denary (0); row 4 (binary) is back to front (0).

10Convert4 marks

Binary numbers can represent different forms of data.

Each row in the table contains a number written as a denary value, an 8-bit binary value and a 2-digit hexadecimal value. Some values are missing.

Complete the table by writing in the missing value for each number.

[4 marks]
Denary8-bit binaryHexadecimal
10165
11110000F0
20411001100
217D9
Mark scheme

1 mark for each completed box

Denary | 8-bit binary | Hexadecimal

101 | 01100101 | 65

240 | 11110000 | F0

204 | 11001100 | CC

217 | 11011001 | D9

Guidance

Correct answers only – binary must be 8 bits.

Ignore case in hex.

Example answers and how they were marked
Full marks4/4

01100101

240

CC

11011001

Why: Every missing value is correct, and the binary is 8 bits (4).

Some marks2/4

1100101

240

CC

10011011

Why: Rows 2 and 3 are correct (2); row 1 (binary) leaves off the leading 0s, so it is not 8 bits (0) and row 4 (binary) is back to front (0).

No marks0/4

1100101

15

1212

10011011

Why: None of the values is right: row 1 (binary) leaves off the leading 0s, so it is not 8 bits (0); row 2 (denary) reads the place values from the wrong end (0); row 3 (hexadecimal) has a digit over 9 written in denary (0); row 4 (binary) is back to front (0).

11Convert4 marks

Computers store all data as binary.

Each row in the table contains a number written as a denary value, an 8-bit binary value and a 2-digit hexadecimal value. Some values are missing.

Complete the table by writing in the missing value for each number.

[4 marks]
Denary8-bit binaryHexadecimal
281C
10101000A8
19811000110
1589E
Mark scheme

1 mark for each completed box

Denary | 8-bit binary | Hexadecimal

28 | 00011100 | 1C

168 | 10101000 | A8

198 | 11000110 | C6

158 | 10011110 | 9E

Guidance

Correct answers only – binary must be 8 bits.

Ignore case in hex.

Example answers and how they were marked
Full marks4/4

00011100

168

C6

10011110

Why: Every missing value is correct, and the binary is 8 bits (4).

Some marks2/4

11100

168

C6

01111001

Why: Rows 2 and 3 are correct (2); row 1 (binary) leaves off the leading 0s, so it is not 8 bits (0) and row 4 (binary) is back to front (0).

No marks0/4

11100

21

126

01111001

Why: None of the values is right: row 1 (binary) leaves off the leading 0s, so it is not 8 bits (0); row 2 (denary) reads the place values from the wrong end (0); row 3 (hexadecimal) has a digit over 9 written in denary (0); row 4 (binary) is back to front (0).

12Convert4 marks

Computers store all data as binary.

Each row in the table contains a number written as a denary value, an 8-bit binary value and a 2-digit hexadecimal value. Some values are missing.

Complete the table by writing in the missing value for each number.

[4 marks]
Denary8-bit binaryHexadecimal
12201111010
001111113F
10701101011
225E1
Mark scheme

1 mark for each completed box

Denary | 8-bit binary | Hexadecimal

122 | 01111010 | 7A

63 | 00111111 | 3F

107 | 01101011 | 6B

225 | 11100001 | E1

Guidance

Correct answers only – binary must be 8 bits.

Ignore case in hex.

Example answers and how they were marked
Full marks4/4

7A

63

6B

11100001

Why: Every missing value is correct, and the binary is 8 bits (4).

Some marks2/4

710

63

6B

10000111

Why: Rows 2 and 3 are correct (2); row 1 (hexadecimal) has a digit over 9 written in denary (0) and row 4 (binary) is back to front (0).

No marks0/4

710

252

611

10000111

Why: None of the values is right: row 1 (hexadecimal) has a digit over 9 written in denary (0); row 2 (denary) reads the place values from the wrong end (0); row 3 (hexadecimal) has a digit over 9 written in denary (0); row 4 (binary) is back to front (0).

Keep practising Binary to Hexadecimal Conversion

More exam questions on 1.2 Memory & Storage

Teachers: print these as a worksheet with the mark schemes at the end, and sign your school up to set your classes activities on Binary to Hexadecimal Conversion.

Fetch Decode Explain isn't affiliated with or endorsed by OCR.