CSS 11 Q3 W3 Data Representation
CSS 11 Q3 W3 Data Representation
VIDEO
Measurements
of storage
What is the order?
A. 3 nibbles
B. 1 byte
C. 10 bits
D. 2 bytes
Can you think of any other units of measurement that are used in computer science?
Objective
● Define the terms ‘bit’, ‘nibble’, ‘kilobyte’, ‘megabyte’, ‘gigabyte’, ‘terabyte’,
‘petabyte’, ‘exabyte’, ‘zettabyte’, and ‘yottabyte’
● Compare ‘kibibyte’, ‘mebibyte’, ‘gibibyte’, ‘tebibyte’, pebibyte’,
‘exbibyte’, ‘zetbibyte’, and ‘yobibyte’ to ‘kilobyte’, ‘megabyte’,
‘gigabyte’, ‘terabyte’, ‘petabyte’, ‘exabyte’, ‘zettabyte’, and ‘yottabyte’
● Convert between units of measurement
Data Storage Units
Data is a term that refers to information encoded in digital
space. Data storage units, therefore, are different terms for
amounts of data that can be stored on a given device or in a
computer system.
Data Storage Units
For example, a smartphone might hold 64 or 128 gigabytes of
information. Data storage units are not unique to phones and
desktop computers: laptops, tablets, memory cards, and even
video game consoles all have to store data in order to
function.
Data Storage Units
Data storage is usually defined using metric prefixes. Each larger unit can
usually hold 1,000 (or 1,024 in binary math) units of data, just like how one
kilometer is made up of one thousand meters. To understand how these units
all fit together, it can be helpful to look at data units from smallest to largest
Units of measurement
The smallest unit of measurement in computer science is a bit.
● A nibble (4 bits)
● A byte (8 bits or 2 nibbles)
Here are some other units of measurement:
The prefix "yotta" is part of the International System of Units (SI), and means
1024. Hard disk manufacturers label their products in SI, which may confuse
some people in the IT field. The ISO, IEEE and the IEC all recommend using
the unit yobibyte, which signifies 280 bytes.
Yottabyte (YB)
A yottabyte is so much data that, according to backup vendor Backblaze Inc., a
yottabyte of storage would take up a data center the size of the states of
Delaware and Rhode Island.
To help you remember the order of the units, you can think of a silly sentence!
Your silly sentence should be made up of words that have the same first letters
as the units of measurement listed on the right-hand side, in the same order.
Activity 1
ACTIVITY
Sample of Silly Sentence:
● Bit
● Nibble 4 bits
● Byte — B 8 bits
● Kilobyte — kB 1,000 bytes
● Megabyte — MB 1,000 kilobytes
● Gigabyte — GB 1,000 megabytes
● Terabyte — TB 1,000 gigabytes
● Petabyte — PB 1,000 terabytes
● Exabyte – EB 1,000 petabytes
● Zettabyte – ZB 1,000 exabytes
● Yottabyte – YB 1,000 zettabytes
Why is it important to remember the order of these
Units of measurement for Data Storage?
Activity 2
Use your sentence to help you remember the order and pick
which units of measurement are the largest or the smallest.
Off we go!
Activity 2
Gigabyte Megabyte
Petabyte Kilobyte
Activity 2
Megabyte Kilobyte
Gigabyte Terabyte
Activity 2
Gigabyte Terabyte
Petabyte Megabyte
Activity 2
Nibble Byte
Megabyte Kilobyte
Activity 2
Gigabyte Megabyte
Petabyte Kilobyte
What is the order?
A. 2 kilobytes
B. 2 kibibytes
C. 1,000 megabytes
D. 4 nibbles
E. 3 bytes
F. 1 terabyte
G. 1,000 bytes
Activity 2
Answers
Activity 2
Gigabyte Megabyte
Petabyte Kilobyte
Activity 2
Gigabyte Megabyte
Petabyte Kilobyte
Activity 2
Megabyte Kilobyte
Gigabyte Terabyte
Activity 2
Megabyte Kilobyte
Gigabyte Terabyte
Activity 2
Gigabyte Terabyte
Petabyte Megabyte
Activity 2
Gigabyte Terabyte
Petabyte Megabyte
Activity 2
Nibble Byte
Megabyte Kilobyte
Activity 2
Nibble Byte
Megabyte Kilobyte
Activity 2
Gigabyte Megabyte
Petabyte Kilobyte
Activity 2
Gigabyte Megabyte
Petabyte Kilobyte
What is the order?
50 × 8 = ?
Activity 3
50 × 8 = 400 bits
Activity 3
40,000 ÷ 8 = bytes
1. 220 MB to KB
= 220 X 1000 KB
= 220,000 KB
SAMPLE
2. 72 KB = B
= 72 X 1000 B
= 72,000 B
SAMPLE
3. 30 GB to KB
= 30 X 1000² KB
= 30,000,000 KB
SAMPLE
4. 1,538 KB to MB
= 1,538 ÷ 1000 MB
= 1.538 MB / 1.5 MB
SAMPLE
5. 4 GB to B
= 4 X 1000³ B
= 4,000,000,000 B
SAMPLE
6. 512 GB to TB
= 512 ÷ 1000 TB
= 0.5 TB
SAMPLE
7. 67,003,324 KB to TB OR
= 67,003,324 / (1000³) TB = 67,003,324 /1000/1000/1000
= 0.067 TB = 0.067 TB
BOARDWORK
8
Activity 3
240,000 ÷ 8 = ?
Activity 3
For example:
210 29 28 27 26 25 24 23 22 21 20
1 0 0 0 0 0 0 0 0 0 0
Activity 4
210 29 28 27 26 25 24 23 22 21 20
1 0 0 0 0 0 0 0 0 0 0
Activity 4
A. 2 kilobytes
B. 2 kibibytes
C. 1,000 megabytes
D. 4 nibbles
E. 3 bytes
F. 1 terabyte
G. 1,000 bytes
Summary
Next lesson
Learnt about different units of Find out about lossy and lossless
measurement compression