Loading...
Hello, my name's Mrs. Jones, and I'm really pleased you decided to join this lesson today.
In this lesson, we will look at bits and bytes and how we convert from one to another, as well as the meaning behind the different prefixes.
We'll also look at how data is transferred across different digital devices.
So let's get started.
Welcome to today's lesson.
Today's lesson is called "Measurements of data" from the unit "Data representation: text and numbers." And by the end of this lesson, you'll be able to provide examples of the different ways binary digits are physically represented in digital devices.
There are two keywords to today's lesson.
Unit: unit is a standard measurement used to quantify the amount of digital information.
Prefix: prefix changes the size of the unit by a certain amount.
There are three sections to today's lesson.
The first, convert between bits and bytes, second, express sizes using prefixes, and the third, explain how data is transferred.
So let's start with convert between bits and bytes.
We use nanometers to measure the size of molecules.
We use centimeters to measure the size of objects.
We use kilometers to measure the distance between cities.
And Lucas asks, "Why do we use different units?" Different units are best suited for different contexts.
Kilometers are useful for measuring long distances.
Centimeters and millimeters are better for smaller objects.
Nanometers are used to measure extremely small things on the scale of atoms and molecules.
You could say 0.
000000002 meters instead of 2 nanometers, but that's hard to read, easy to make mistakes with, and impractical for quick communication.
In computing, it's very common to group binary digits into chunks of eight.
A group of eight binary digits is called a byte.
Caution, though: a bit is 1 binary digit.
A byte is 8 binary digits.
These are not the same, and do not confuse them.
For example, here are 8 binary digits.
This is a byte.
This is 1 byte.
8 binary digits together is 1 byte.
Here are 24 binary digits.
This is 3 bytes.
There are three sets of eight binary digits, which means there are 3 bytes.
This is a sequence of 128 bits.
What size is it in bytes? Well, how many groups of 8 can you form with 128 bits? 128 divided by 8 equals 16 bytes.
And we can write that as 16 bytes or 16 capital B.
Let's have a quick check.
A group of eight binary digits is called a, A, bit, B, nibble, C, byte.
Pause the video to consider your answer, and then we'll check it.
Let's check your answer.
The answer was C, a byte.
Well done if you got that correct.
To convert bits to bytes, divide the number of bits by 8 because this is how many groups of 8 bits, for example, bytes, fit in the sequence.
So to go from bits to bytes, we divide by 8.
To convert bytes to bits, we multiply the number of bytes by 8 because there are 8 bits in every byte.
Bytes to bits multiplied by 8.
Let's have a quick check.
A piece of text is 16 bytes long.
What is its size in bits? Pause the video, go back through the slides, consider your answer, and then we'll check it.
Let's check your answer.
There are 16 groups of 8 bits.
16 multiplied by 8 equals 128 bits, which can also be written as 128 lowercase b.
Well done if you got that correct.
Let's do an activity.
A user comes across a small text file in her hard disk.
The name of the file is "simple" and its size is 12 bytes.
How many binary digits, bits, does this file contain? Pause the video, go back through the slides, use your worksheet, and then we'll check your answer.
Let's check your answer.
There are 8 bits in a byte.
So there are 8 multiplied by 12, because we've got 12 bytes, so it is 96 bits in the file.
Well done if you got that correct.
Let's do the second part of the activity.
The table below contains examples of a few symbols and their binary encodings in the UTF-8 coding scheme.
Fill in the last column of the table to state how many bytes are required for each of the characters.
So you can see there the table, you have the characters on the left, the next column has the binary representation, the next column has the number of bits, and you need to complete the number of bytes.
Pause the video, go back through the slides, use your worksheet, and then we'll check your answers.
Let's check your answers.
The answers, for the first one, which was the @ character, was 8 divided by 8 equals 1 byte.
For the pound sign, we had 16 bits.
16 divided by 8 was 2 bytes.
The next character, where we have those three flower star symbols/characters there, is 24 bits.
24 divided by 8 was 3 bytes.
And for the musical note, we had 32 number of bits.
32 divided by 8 equals 4 bytes.
Well done if you got those correct.
Let's move to the second part of today's lesson: Express sizes using prefixes.
True or false? Binary digits can only be used to represent characters and numbers.
Pause the video to consider if that is true or false, and then we'll check your answers.
Let's check your answer.
The answer is false.
All pieces of information are represented as sequences of binary digits.
Well done if you got that correct.
All pieces of information are represented as sequences of binary digits.
For example, text, numbers, images, sounds, animations and videos, programs. Sequences of binary digits tend to get really long.
A type of information here is a chapter in a book.
The number of bits is a few thousand.
A photograph or a song is a few million bits.
A film, the human genome, is a few billion bits.
All the files on a computer or all the files on Wikipedia is a few trillion bits.
How do we talk about these huge numbers of binary digits? Scientists use prefixes to denote multiples of a unit.
The prefix kilo-, or k for short, is a thousands.
Mega-, in short a capital M, means millions.
Giga-, capital G, means billions.
Tera-, capital T, is trillions.
We use multiples, such as thousands, millions, et cetera, and that's what we use.
So for example, 3,000 grams is 3 kilograms, or 3 lowercase kg.
8 million pixels is 8 megapixels, or 8 capitals MP.
4.
5 billion years is 4.
5 gigayears.
Let's have a quick check.
Can you put the prefixes here into order from smallest to largest? So you have A, tera, B, kilo, C, giga, D, mega.
What order should those be in to go from smallest to largest? Pause the video to consider your answer, and then we'll check it.
Let's check your answer.
The answer is B, kilo, D, mega, C, giga, and then A, tera.
Well done if you got that order correct.
Izzy says, "My favorite song is 24 million bits." It is common practice to use prefixes instead of multiples.
For example, replace millions with mega-.
So then Izzy would say, "My favorite song is 24 megabits." Use short forms. For example, replace mega- with a capital M and bits with a lowercase b.
So now Izzy would say, "My favorite song is 24 megabits, or 24 capital M lowercase b." Convert bits to bytes, and use an uppercase B for bytes.
So now she would say, "My favorite song is 3 megabytes, or 3 capital M capital B." So a sequence that is 24 million binary digits long would be described as 3MB, 3 megabytes.
Let's have a look at another example.
Aisha says, "My operating system is 2 gigabytes, 2 capital G capital B." Expand short forms. For example, use giga- and bytes instead of G and B.
So now Aisha says, "My operating system is 2 capital G capital B, or 2 gigabytes." Translate prefixes to multiples.
For example, billions instead of giga-.
So now Aisha says, "My operating system is 2 billion bytes." Convert bytes to bits if needed.
And now Aisha says, "My operating system is 16 billion bits." So when we say something is 2 gigabytes in size, we really mean that it's a sequence of 16 billion binary digits.
Translating and converting will help you interpret what may seem like gibberish.
Let's do an activity, and use your worksheet for this.
You've been provided with the name, size, and type of six files.
Put the files in order of size from smallest to largest.
Pause the video, go back through the slides, use your worksheet, and then we'll check it.
Let's check your answers.
So the order we have is the logo, which was an image which was 23kB.
book.
txt, which is a text file, which is 720kB.
A song, which is audio, 1.
6MB.
A picture, image, 2.
3MB.
A book, which is a document, 23.
0MB.
And party, which is a video, is 2.
0GB.
Well done if you got those correct.
Let's do the second part of the activity.
A standard hard disk has a capacity of 1 terabyte.
T stands for the prefix tera-, and uppercase B means bytes, so 1TB is 1 terabyte.
There are two parts to this activity.
A, how many bytes is 1 terabyte? B, how many bits is 1 terabyte? And there's a hint at the bottom there: start from the answer to the previous question.
Pause the video, use your worksheet, and then we'll check your answers.
Let's check your answer.
For the first part was how many bytes is in 1 terabyte? Well, 1 terabyte is 1 trillion bytes.
The second part was how many bits in 1 terabyte? So 1 trillion bytes equals 1 trillion groups of 8 bits, which means 8 trillion bits.
Well done if you got that correct.
Let's do the third part of this activity.
You really enjoy taking pictures with your mobile phone.
You purchase a 16 gigabyte memory card, and you want to know how many pictures you can store on the memory card.
The size of each individual picture is approximately 4 megabytes.
A, the card's capacity is expressed in gigabytes.
A picture's size is expressed in megabytes.
You will need to convert how many megabytes is 16 gigabytes.
And the second part is how many pictures can be stored on your memory card? Pause the video, use your worksheet, go back through the slides and consider your answers, and then we'll check them.
Let's check your answers.
The first part was the card's capacity is expressed in gigabytes, a picture's size in megabytes, and you needed to convert how many megabytes is there in 16 gigabytes? 1 gigabyte is 1,000 megabytes, so 16 gigabytes is 16,000 megabytes.
The second part was how many pictures can be stored on your memory card? So now that we know the megabytes, 16,000 divided by 4 equals 4,000 pictures.
Well done if you got those correct.
Let's move to the last part of today's lesson: Explain how data is transferred.
In the past, programs and data were stored and processed using perforated paper.
0s and 1s were represented by the presence or lack of holes in the paper.
Magnetic core memory used metal rings connected with wires to store and process data.
Each ring, core, stored one bit.
Electricity was used for writing and reading the information in the cores.
0s and 1s were represented by the way in which each core was magnetized.
Now computing devices use electronic components such as processors, main memory, and storage devices.
In electronic components, 0s and 1s are represented by the flow of electricity, controlled by interconnected switches.
Let's have a quick check.
What do electronic circuits use to represent and process binary digits? A, sound, B, light, C, electricity, D, magnetism.
Pause the video to consider your answer, and then we'll check it.
Let's check your answer.
The answer was C, electricity.
Well done if you got that correct.
Magnetic hard disk drives, HDDs, or just hard drives, are used to store data.
The material on the surface of hard disks is magnetic.
0s and 1s are represented as changes in the magnetic orientation, north-south or south-north, of individual regions on the surface.
The typical capacity of a hard disk is 1 terabyte, which is 8 trillion binary digits.
Solid state storage devices, SSDs, are a form of flash memory.
SSDs have no moving parts and can either be housed inside a computer system or used as an external device.
SSDs electronically store data in NAND flash memory cells.
Optical discs like CDs, DVDs, and Blu-ray discs store data so it can be transferred easily.
The surface of optical discs is reflective.
0s and 1s are represented by pits, microscopic holes, or lands, regions without holes.
Light is used to read the binary digits off the surface of the disc.
The typical capacity of a CD is 700 megabytes, which equals 5.
6 billion binary digits.
Let's have a quick check.
What do hard disk drives, HDDs, use to represent and process binary digits? A, sound, B, light, C, electricity, D, magnetism.
Pause the video to consider your answer, and then we'll check it.
Let's check your answer.
The answer was D, magnetism.
Well done if you got that correct.
Sam says, "But how are binary digits transmitted between digital devices?" Good question.
Binary digits are transmitted between devices either through wired or wireless connections.
Wired connections; binary digits are transferred through wires using electricity.
Binary digits are transferred through fiber-optic cables using light.
You can see the image here of an Ethernet cable at the top and the fiber-optic cables at the bottom.
Wireless connections.
In all wireless communications, binary digits are transferred using electromagnetic waves, transmitted and received by antennas.
Let's do an activity, and you'll need your worksheet.
There are two parts.
The first, explain how data is stored on optical discs.
Second, explain how data is transferred from one digital device to another.
Pause the video, go back through the slides, use your worksheet, and then we'll check your answers.
Let's check your answers.
For the first part, explain how data is stored on optical discs, data is stored on optical discs like CDs and DVDs using light.
Tiny marks called pits and lands are made on the surface of the disc.
Light is used to read the marks on the disc, which are read as 0s and 1s.
The second part was explain how data is transferred from one digital device to another.
Data can be sent from one device to another using wires or wirelessly.
Wired ways use electricity or light to transmit data, and wireless waves use electromagnetic waves.
Well done if you got those correct.
In summary, data is measured in units, like bits and bytes, kilobytes, megabytes, and gigabytes.
You can convert between units.
Binary digits are physically represented in digital devices.
All digital data, whether text, images, or videos, is stored using patterns of bits.
Well done for completing this lesson, "Measurements of data.".