AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

Memory and processors

Week 6 · Unit 3: Selecting hardware and software · 3 lessons
1

Counting storage

Computing 6: Unit 3, pp. 40–51
GoalName the units of storage, say how they are related and work out how much storage a short text needs.
New words
bit · the smallest piece of data, a 0 or a 1byte · 8 bits, enough to store one characterkilobyte (kB) · 1024 bytesgigabyte (GB) · 1024 megabytes
Explanation

A computer is built from tiny switches, and each switch is either on or off. We write on as 1 and off as 0, and one 0 or 1 is called a bit. A group of 4 bits is a nibble. A group of 8 bits is a byte, and one byte is enough to store one character. A character can be a letter, a digit, a symbol, a punctuation mark or a space. Larger amounts of data are counted in steps of 1024. A kilobyte is 1024 bytes, a megabyte is 1024 kilobytes, a gigabyte is 1024 megabytes and a terabyte is 1024 gigabytes. The shops often round these numbers to 1000, but computers count in 1024.

UnitShort formSizeAbout how much
bitba 0 or a 1the smallest piece
nibble4 bitshalf a byte
byteB8 bitsone character
kilobytekB1024 Ba page of plain text
megabyteMB1024 kBa song
gigabyteGB1024 MBhours of music
terabyteTB1024 GBa huge collection of files
Worked examples
The eight bits 01001000 are one byte. They stand for the letter H. The first four bits, 0100, are one nibble and the last four, 1000, are the other nibble.
Count the characters in ‘Good morning’. Good has 4 letters, the space is 1 character and morning has 7 letters. That is 4 + 1 + 7 = 12 characters, so the greeting needs 12 bytes. Each byte is 8 bits, so it needs 12 × 8 = 96 bits.
ChangeWorkingAnswer
2 kB to bytes2 × 10242048 bytes
3 MB to kB3 × 10243072 kB
2 GB to MB2 × 10242048 MB
4 TB to GB4 × 10244096 GB
To change a bigger unit into a smaller one, multiply by 1024.
Class activity

Byte game (no computer): take eight small cards or coins. Put each one face up for 1 or face down for 0. Make the byte 01001000 and read it aloud. Make three more bytes of your own and ask a partner to say how many bits you used. Next, write a short message, such as ‘Meet at 4.’, and count every letter, number, space and full stop. The number of characters is the number of bytes. Multiply by 8 to find the bits. If you have a computer or tablet, look at the size of a small text file and a photo and compare them.

Practice
1
Which is bigger, 3000 kB or 3 MB? Explain.
2
How many bits are in 3 bytes? How many bits are in 5 nibbles?
3
These three bytes store a short message. How many characters does it have, and how many bits are used?
4
How many bytes are needed to store the sentence ‘See you soon.’?