Units of Data Storage (OCR GCSE Computer Science)

Revision Note

Robert Hampton

Written by: Robert Hampton

Reviewed by: James Woodhouse

Units of Data Storage

  • Computers use binary numbers to represent data

  • Data such as characters, images and sound must be stored as binary

  • The smallest unit of data a computer can store is 1 binary digit, otherwise expressed as 1 bit

  • 1 bit can only hold one value (21), this is not big enough to store all kinds of data, so computers have different 'Units of Data'

What are units of data?

  • A unit of data is a term given to describe different amounts of binary digits stored on a digital device

  • These are the units you need to know for GCSE:

Unit

Symbol

Binary

Written as

Example

Bit

b

1 or 0

 

 

Nibble

 

4 b

 

 

Byte

B

8 b

 

A single character

Kilobyte

KB

1000 B (210)

Thousand bytes

A small text file

Megabyte

MB

1000 KB (220)

Million byes

A music file

Gigabyte

GB

1000 MB (230)

Billion bytes

A high definition movie

Terabyte

TB

1000 GB (240)

Trillion bytes

A large hard drive

Petabyte

PB

1000 TB (250)

Quadrillion bytes

A large data centre

Examiner Tips and Tricks

Binary only contains two digits (1 and 0) so technically larger multiples would be calculated as 2number of bytes

For example, a kilobyte is 210 = 1024 bytes not 1000 bytes

In GCSE we approximate all larger units of storage as multiples of 1000 to make calculations easier

Converting between units

  • It is often a requirement of the exam to be able to convert between different units of data, for example bytes to megabytes (larger) or kilobytes to bytes (smaller)

  • This process involves division, moving up in size of unit and multiplication, moving down in size of unit

  • When dealing with all units bigger than a byte we use multiples of 1000

  • For example, 2000 kilobytes in megabytes would be 2000 / 1000 = 2 MB and 2 terabytes in gigabytes would be 2 * 1000 = 2000 GB

  • When dealing with bits and bytes the same process is used with the value 8 as there are 8 bits in a byte

  • For example, 24 bits in bytes would be 24 / 8 = 3 B and 10 bytes in bits would be 10 * 8 = 80 b

 

Unit

 

Multiply by 8

Bit

Divide by 8

Byte

Multiply by 1000

Kilobyte

Divide by 1000

Megabyte

Gigabyte

Terabyte

Petabyte

Worked Example

Computers represent data in binary form.

Tick one box in each row to identify the binary unit equivalent of each of the given file sizes [4]

A table with file size measurements in rows and columns for 4 megabytes, 24 bits, 5 kilobytes, 10 bytes, and 2 terabytes.

Answer

Table associating different file sizes with various measurements. Green cells highlight "24 bits" for '6 nibbles' and '3 bytes', "5 kilobytes" for '5000 bytes', and "2 terabytes" for '2000 gigabytes'.

Last updated:

You've read 0 of your 5 free revision notes this week

Sign up now. It’s free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Did this page help you?

Robert Hampton

Author: Robert Hampton

Expertise: Computer Science Content Creator

Rob has over 16 years' experience teaching Computer Science and ICT at KS3 & GCSE levels. Rob has demonstrated strong leadership as Head of Department since 2012 and previously supported teacher development as a Specialist Leader of Education, empowering departments to excel in Computer Science. Beyond his tech expertise, Robert embraces the virtual world as an avid gamer, conquering digital battlefields when he's not coding.

James Woodhouse

Author: James Woodhouse

Expertise: Computer Science

James graduated from the University of Sunderland with a degree in ICT and Computing education. He has over 14 years of experience both teaching and leading in Computer Science, specialising in teaching GCSE and A-level. James has held various leadership roles, including Head of Computer Science and coordinator positions for Key Stage 3 and Key Stage 4. James has a keen interest in networking security and technologies aimed at preventing security breaches.