0% found this document useful (0 votes)
66 views36 pages

Lesson 9 - Unit of Measurement

Uploaded by

Ali Papila
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views36 pages

Lesson 9 - Unit of Measurement

Uploaded by

Ali Papila
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 36

Computing

Lesson 9: Units of measurement

Data representation
In this lesson you will:

Define the terms ‘bit’, ‘nibble’, ‘byte’,


‘megabyte’, ‘gigabyte’, ‘terabyte’, and
‘petabyte’

Be able to convert between units of


measurement

2
What is the order?

Place these units of measurement in order from


smallest to largest:

● 16 bits
● 3 nibbles
● 1 Byte

3
What is the order? Solution

Place these units of measurement in order from


smallest to largest:

● 1 Byte (8 bits)
● 3 nibbles (12 bits)
● 16 bits

4
Units of measurement

The smallest unit of measurement is a single bit.

You are also familiar with:

● A nibble (4 bits)
● A Byte (8 bits)

5
Units of measurement

Here are some other units of measurement:

● kilobyte - kB 1000 Bytes


● Megabyte - MB 1000 kilobytes
● Gigabyte - GB 1000 Megabytes
● Terabyte - TB 1000 Gigabytes
● Petabyte - PB 1000 Terabytes

6
Units of measurement

Can you think of a silly sentence to help you remember


the order?

● bit
● nibble 4 bits
● Byte - B 8 bits
● kilobyte - kB 1000 Bytes
● Megabyte - MB 1000 kilobytes
● Gigabyte - GB 1000 Megabytes
● Terabyte - TB 1000 Gigabytes
● Petabyte - PB 1000 Terabytes

7
Units of measurement:
Possible solution
Can you think of a silly sentence to help you remember be nice Barry, kumar Makes Gorgeous Tomato
the order? Pizzas!

● bit
● nibble 4 bits
● Byte - B 8 bits
● kilobyte - kB 1000 Bytes
● Megabyte - MB 1000 kilobytes
● Gigabyte - GB 1000 Megabytes
● Terabyte - TB 1000 Gigabytes
● Petabyte - PB 1000 Terabytes

8
Which of these is the largest?

Gigabyte Megabyte

Petabyte kilobyte
9
Which of these is the largest?

Gigabyte Megabyte

Petabyte kilobyte
10
Which of these is the smallest?

Megabyte kilobyte

Gigabyte Terabyte
11
Which of these is the smallest?

Megabyte kilobyte

Gigabyte Terabyte
12
Which of these is the smallest?

1 megabyte 2,000,000 bytes

1 Gigabyte 1 Terabyte

13
Which of these is the smallest?

2,000,000 bytes
1 megabyte
(2MB)

1 Gigabyte 1 Terabyte

14
Converting between units of measurement

15
Converting

Two numbers that you really need to remember for


your conversions are:

● 1000
● 8

16
Converting

Two numbers that you really need to remember for


your conversions are:

● There are 1000 bytes in a kilobyte


● There are 8 bits in a byte

17
Converting

Here is a typical question:

Convert 50 bytes into bits.

There are 8 bits in a byte so we need to do the


following calculation:

18
Converting

Here is a typical question:

Convert 50 bytes into bits.

There are 8 bits in a byte so we need to do the


following calculation:

50 * 8 = ?

19
Converting

Here is a typical question:

Convert 50 bytes into bits.

There are 8 bits in a byte so we need to do the


following calculation:

50 * 8 = 400 bits

20
Converting

Let’s try another.

Convert 3000 kilobytes into Megabytes.

There are 1000 kilobytes in a Megabyte so we need to


do the following calculation:

21
Converting

Let’s try another.

Convert 3000 kilobytes into Megabytes.

There are 1000 kilobytes in a Megabyte so we need to


do the following calculation:

3000 / 1000 = ?

22
Converting

Let’s try another.

Convert 3000 kilobytes into Megabytes.

There are 1000 kilobytes in a Megabyte so we need to


do the following calculation:

3000 / 1000 = 3 Megabytes

23
Converting

Let’s try another.

Convert 40,000 bits into kilobytes.

There are 8 bits in a byte.

There are 1000 bytes in a kilobyte.

24
Converting

Let’s try another.

Convert 40,000 bits into kilobytes.

There are 8 bits in a byte.

There are 1000 bytes in a kilobyte.

40,000 / 8 = bytes

bytes / 1000 = kilobytes

25
Converting

Let’s try another.

Convert 40,000 bits into kilobytes.

There are 8 bits in a byte.

There are 1000 bytes in a kilobyte.

40,000 / 8 = 5000 bytes

bytes / 1000 = kilobytes

26
Converting

Let’s try another.

Convert 40,000 bits into kilobytes.

There are 8 bits in a byte.

There are 1000 bytes in a kilobyte.

40,000 / 8 = 5000 bytes

5000 bytes / 1000 = 5 kilobytes

27
Converting

Let’s recap back to our representing sound lesson. Here


is a typical question:

Calculate the file size in bytes for a 1 minute sound


recording that has used a sample rate of 1000 Hertz
and a sample resolution of 4 bits.

28
Converting

Let’s recap back to our representing sound lesson. Here What is the answer in bits?
is a typical question:
1000 x 4 x 60 = ?
Calculate the file size in bytes for a 1 minute sound
recording that has used a sample rate of 1000 Hertz
and a sample resolution of 4 bits.

29
Converting

Let’s recap back to our representing sound lesson. Here What is the answer in bits?
is a typical question:
1000 x 4 x 60 = 240,000
Calculate the file size in bytes for a 1 minute sound
Now we convert it to bytes. What do we divide by?
recording that has used a sample rate of 1000 Hertz
and a sample resolution of 4 bits.

30
Converting

Let’s recap back to our representing sound lesson. Here What is the answer in bits?
is a typical question:
1000 x 4 x 60 = 240,000
Calculate the file size in bytes for a 1 minute sound
Now we convert it to bytes. What do we divide by?
recording that has used a sample rate of 1000 Hertz
and a sample resolution of 4 bits. 8

31
Converting

Let’s recap back to our representing sound lesson. Here What is the answer in bits?
is a typical question:
1000 x 4 x 60 = 240,000
Calculate the file size in bytes for a 1 minute sound
Now we convert it to bytes. What do we divide by?
recording that has used a sample rate of 1000 Hertz
and a sample resolution of 4 bits. 8

240,000 / 8 = ?

32
Converting

Let’s recap back to our representing sound lesson. Here What is the answer in bits?
is a typical question:
1000 x 4 x 60 = 240,000
Calculate the file size in bytes for a 1 minute sound
Now we convert it to bytes. What do we divide by?
recording that has used a sample rate of 1000 Hertz
and a sample resolution of 4 bits. 8

240,000 / 8 = 30,000 bytes

33
Converting

What if the question said kilobytes instead? What is the answer in bits?

Calculate the file size in kilobytes for a 1 minute 1000 x 4 x 60 = 240,000


sound recording that has used a sample rate of 1000
Now we convert it to bytes. What do we divide by?
Hertz and a sample resolution of 4 bits.
8

240,000 / 8 = 30,000 bytes

34
Converting

What if the question said kilobytes instead? What is the answer in bits?

Calculate the file size in kilobytes for a 1 minute 1000 x 4 x 60 = 240,000


sound recording that has used a sample rate of 1000
Now we convert it to bytes. What do we divide by?
Hertz and a sample resolution of 4 bits.
8

240,000 / 8 = 30,000 bytes

30,000 / 1000 = 30 kilobytes

35
Remember the order!

● bit be nice Barry, kumar Makes Gorgeous Tomato


● nibble 4 bits Pizzas!
● Byte - B 8 bits
● kilobyte - kB 1000 Bytes
● Megabyte - MB 1000 kilobytes As long as you remember the order, you should be able
● Gigabyte - GB 1000 Megabytes to work out which calculation you need to perform.
● Terabyte - TB 1000 Gigabytes
● Petabyte - PB 1000 Terabytes

36

You might also like