Question bank › GCSE › GCSE Computer Science › Fundamentals of data representation

Units of information & binary arithmetic (addition, shifts)

10 questions42 marksabout 50 min

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

1Grade 4–54 marks

(a) Add together the following three 8-bit binary numbers. Give your answer in binary and show your working. [2]

  00110101
  01001011
+ 00010110

(b) Convert the three numbers and your answer to (a) into denary to check that your answer is correct. [2]

2Grade 6–74 marks

(a) The binary number 00010110 is shifted two places to the left. Give the result as an 8-bit binary number and state the effect of the shift on the value. [2]

(b) A programmer wants to divide the binary number 10110000 by 8 using a binary shift. Describe the shift needed and give the result as an 8-bit binary number. [2]

3Grade 1–34 marks

(a) State what is meant by a bit. [1]

(b) State how many bits there are in one byte. [1]

(c) Write the following units in order from smallest to largest. [1]

gigabyte   kilobyte   terabyte   megabyte

(d) State how many kilobytes there are in one megabyte. [1]

Stuck on Units of information & binary arithmetic (addition, 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

(a) Add together the following two 8-bit binary numbers. Give your answer as an 8-bit binary number and show your working. [2]

  01101001
+ 00101110

(b) State the denary value of your answer to part (a). [1]

5Grade 4–55 marks

A photographer uses a camera that stores each photo as a file of size 3.5 MB.

(a) Calculate the maximum number of whole photos that can be stored on an empty 16 GB memory card. Show your working. [3]

(b) A short text file on the same card is 2.4 kB in size. Calculate the size of this file in bits. [2]

6Grade 4–54 marks

(a) The 8-bit binary number 00001101 is shifted three places to the left. Give the result as an 8-bit binary number. [1]

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

(c) The 8-bit binary number 00101101 is shifted two places to the right. Give the result as an 8-bit binary number and explain why the denary result is not exactly equal to the original value divided by 4. [2]

7Grade 6–74 marks

(a) Add together the following three 8-bit binary numbers. Give your answer as an 8-bit binary number and show your working. [2]

  00101101
  01000110
+ 00011001

(b) Your answer to part (a) is then shifted two places to the right using a logical shift. Give the result as an 8-bit binary number and state its denary value. [2]

8Grade 6–74 marks

The table shows the sizes of four files stored on a laptop.

FileSize
Podcast (audio)4.2 MB
Essay (document)850 kB
Photo (image)3 600 000 bytes
Lecture (video)0.9 GB

(a) Write the names of the four files in order of size, from smallest to largest. [2]

(b) Calculate the total size of the four files in megabytes. Show your working. [2]

9Grade 6–74 marks

The diagram shows the contents of an 8-bit register before a logical shift right by two places is carried out.

(a) Complete the diagram by writing the contents of the register after the shift. [1]

(b) Describe what happens to the two bits at the right-hand end of the register during the shift, and what fills the empty positions at the left-hand end. [2]

(c) State the denary values of the register before and after the shift. [1]

Beforebit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 010011010logical shift right, 2 placesAfter(LSB)(LSB)(MSB)(MSB)
10Grade 8–96 marks

A programmer wants to multiply an 8-bit binary number by 10 using only binary shifts and binary addition. They use the fact that 10 = 8 + 2.

(a) The number 00001011 is to be multiplied by 10.

  (i) Shift the number left by three places and give the result. [1]

  (ii) Shift the original number left by one place and give the result. [1]

  (iii) Add your two results together to give the final 8-bit answer, and show that it is correct by converting to denary. [2]

(b) The programmer then tries to multiply 00011001 by 16 using a single left shift of four places, still in an 8-bit register. Give the result that would be stored and explain why it is incorrect. [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