Question bank › GCSE › GCSE Computer Science › Memory and storage

Binary addition, overflow and shifts

10 questions43 marksabout 50 min

Answer on paper first, then reveal the mark scheme one mark at a time.

1Grade 6–74 marks

(a) Add together the following two 8-bit binary numbers. Show your working. [2]

  01101101
+ 01011011

(b) A student adds 11010110 and 01100011 using an 8-bit register. The register stores the result 00111001.

Explain why the stored result is incorrect. [2]

2Grade 6–74 marks

(a) Perform a 2-place left binary shift on 00010110. [1]

(b) State the effect this shift has on the denary value of the number. [1]

(c) A 2-place right shift is performed on 01101011 (denary 107). The result is 00011010 (denary 26).

Explain why the result is not exactly 107 ÷ 4. [2]

3Grade 1–34 marks

The diagram shows an 8-bit binary number stored in a register.

(a) State the value of the most significant bit (MSB) of this number. [1]

(b) State the value of the least significant bit (LSB) of this number. [1]

(c) Add the binary number 00000101 to the number in the register. Give your answer as an 8-bit binary number. [2]

101101001286432168421bit 7bit 0
Stuck on Binary addition, overflow and shifts?

Get it sorted in a free 30-minute session

We work through your weakest questions on this topic on Zoom. I reply the same day.

4Grade 1–33 marks

The 8-bit binary number 00001011 is stored in a computer.

(a) Carry out a 1-place left shift on 00001011. Give your answer as an 8-bit binary number. [1]

(b) Convert the original number 00001011 to denary. [1]

(c) State the effect that a 1-place left shift has on the denary value of a binary number. [1]

5Grade 4–54 marks

(a) Add together the following two 8-bit binary numbers. Show your working, including any carries. [2]

  10110011
+ 00101110

(b) Convert each of the two numbers and your answer to denary to show that your binary addition is correct. [2]

6Grade 4–54 marks

A 3-place right shift is carried out on the 8-bit binary number 11011000 (denary 216).

(a) Write down the result of the shift as an 8-bit binary number. [1]

(b) Describe the effect that a 3-place right shift has on the denary value of a number. [1]

(c) The same 3-place right shift is carried out on 11011011 (denary 219). The result is the same as your answer to (a).

Explain why the two different numbers give the same result. [2]

7Grade 4–54 marks

A student is asked to add the binary numbers 1101 and 10011 and give the answer as an 8-bit number.

(a) Write both numbers as 8-bit binary numbers. [1]

(b) Add the two numbers together, showing your working. Give your answer as an 8-bit binary number. [2]

(c) The student says that writing extra zeros in front of a binary number changes its value. Explain why the student is wrong. [1]

8Grade 6–75 marks

A computer uses 8-bit registers to store whole numbers.

(a) State the largest denary value that can be stored in an 8-bit register. [1]

(b) The computer adds 11101010 and 00110101 and stores the result in an 8-bit register.

(i) Show the full result of the addition, including any carry out of the left-most column. [2]

(ii) State the denary value that will actually be stored in the register, and explain why this is an example of an overflow error. [2]

9Grade 6–75 marks

A programmer wants to multiply a number by 8 quickly. Instead of using the multiplication operator, the program performs a binary shift on the number, which is stored in 8 bits.

(a) State the type and size of shift that multiplies a binary number by 8. [1]

(b) The number 00100111 is shifted in this way. Write the 8-bit result of the shift. [1]

(c) Convert 00100111 and the result in (b) to denary. [1]

(d) Explain why the program does not give the correct answer for this number. [2]

10Grade 8–96 marks

The denary number 201 is stored in an 8-bit register.

(a) Convert 201 to an 8-bit binary number. [1]

(b) A 1-place left shift is performed on the register. Write the 8-bit contents of the register after the shift, and give its denary value. [2]

(c) A 1-place right shift is then performed on the register contents from (b). Write the 8-bit result. [1]

(d) A student claims: "Shifting a number left by one place and then right by one place always returns the original number."

Use your answers to explain whether the student is correct. [2]

Stuck on this topic?

Book a free 30-minute session on WhatsApp and we'll find exactly which step is costing you the marks. Or build a timed paper on it.

Free 30-minute session