CS08-06 Computer Science Watch
Transmission rate, file size and time
In this lesson
Transmission rate for GCSE Computer Science, with worked examples and the mistakes examiners report. Edexcel 1CP2 GCSE. Protocols and layers 6 of 6. Full Protocols and layers playlist: https://www.youtube.com/playlist?list=PLD_gG3hKyrIE More at https://scholafly.com
By the end: Use time = file size in bits / transmission rate in bits per second, rearranged for any of the three quantities, and construct the expression without working it out - converting the file size from bytes to bits (times 8) with binary prefixes (1024) and the rate with decimal prefixes (1000), and the time into seconds.
What it covers
- 0:00 Intro: transmission rate: file size
- 0:43 Transmission rate
- 3:01 Transmission rate: file size: the one relationship
- 4:10 Time for a file
- 6:41 The rate needed
- 8:14 Spot the slip
- 10:01 Time in minutes
Key words
About this video
Transmission rate, file size and time | GCSE Computer Science | CS08-06
Transmission rate for GCSE Computer Science, with worked examples and the mistakes examiners report.
Edexcel 1CP2 GCSE. Protocols and layers 6 of 6.
Full Protocols and layers playlist: https://www.youtube.com/playlist?list=PLD_gG3hKyrIE
More at https://scholafly.com
Watch first: CS07-04 - https://youtu.be/brFzi8LweiA
Video code: CS08-06 (search "ScholaFly CS08-06")
#GCSEComputerScience #ProtocolsAndLayers #TransmissionRateFileSize
For teachers
This GCSE Computer Science lesson teaches transmission rate, file size and time. By the end, students should be able to use time = file size in bits / transmission rate in bits per second, rearranged for any of the three quantities, and construct the expression without working it out - converting the file size from bytes to bits (times 8) with binary prefixes (1024) and the rate with decimal prefixes (1000), and the time into seconds. It works through five worked examples and the mistakes examiners report.
Exam board specification references:
Edexcel 1CP2
- 4.1.5
Read the transcript
An eight gigabyte game update, on broadband that runs at eighty megabits per second: how long should the download take? Eight divided by eighty is a tenth, so a tenth of a second sounds right. It takes nearer a quarter of an hour, and nobody lied to you. The two numbers are in different units, counted in different ways, and closing that gap takes three conversions and one fraction. First, what each of those two numbers is actually counting.
Network speed, or transmission rate, is measured in bits per second. A kilobit is one thousand bits. A megabit is one thousand squared bits, and a gigabit is one thousand cubed. Transmission rate means how many bits move each second. The video What makes a network fast covers why it varies. Building these expressions is one course's demand. Other courses meet bits and bytes elsewhere but do not ask for this, and the method is the same either way. Start with a speed on its own, before any file comes in. How many bits per second is twenty-five point six megabits per second? Twenty-five point six times one thousand squared. That is twenty-five point six million bits per second. File sizes are different in two ways. They are counted in bytes, not bits. And on the course that sets these sums, they use the binary prefixes, the ones with bi in the name. A kibibyte is one thousand and twenty-four bytes. A mebibyte is one thousand and twenty-four squared bytes, and a gibibyte is one thousand and twenty-four cubed. The name tells you the number. Bi in the name means one thousand and twenty-four. No bi, as in kilobit or megabit, means one thousand. That split is the convention of the course that sets these sums. Then one byte is eight bits. The file is in bytes and the speed is in bits, so every file size gets multiplied by eight.
Now the one relationship. Time in seconds equals file size in bits, divided by transmission rate in bits per second. Each part has its unit fixed: the file in bits, the rate in bits per second, the time in seconds. Get all three into those units, and the division does the rest. Rearranged, rate equals size divided by time. And size equals rate times time. Same three quantities, three ways round. Questions often say that working the sum out is not needed. Then the answer is the expression itself: one fraction, with every conversion showing. There are four steps, always in this order. Seconds first. Then the file into bits. Then the rate into bits per second. Then build the fraction.
Here's the first one. Build an expression for the time, in seconds, to send a three point five mebibyte file over a twenty megabits per second connection. Step one, seconds. The answer is wanted in seconds and the rate is per second, so there is nothing to convert. Step two, the file into bits. Mebi means one thousand and twenty-four squared. That makes three point five mebibytes three point five times one thousand and twenty-four squared bytes. Bytes to bits is times eight. The file is then three point five, times one thousand and twenty-four squared, times eight bits. Step three, the rate into bits per second. That is the bottom of the fraction. Is the mega in twenty megabits one thousand squared, or one thousand and twenty-four squared? One thousand squared. Megabit has no bi in it, so it is decimal. Twenty megabits per second is twenty times one thousand squared. Step four, build the fraction. Time equals the file in bits, over the rate in bits per second. So the time is three point five times one thousand and twenty-four squared times eight, all over twenty times one thousand squared, in seconds. Then stop. If the seconds step already feels safe, you are with a lot of students. One examiner's report notes: "Many candidates gained at least 1 or 2 marks, with the most frequent mark being for identifying an expression for the total number of seconds." That is why seconds come first: bank the step most students get, then go after the eight and the prefixes.
Now the other direction. Build an expression for the rate, in megabits per second, needed to send a two point two gibibyte file in fifteen minutes. Try it on paper before I show you the answer. Step one, the time. Sixty seconds in a minute, so the time is fifteen times sixty seconds. Step two again, the file into bits. Gibi means one thousand and twenty-four cubed. That makes the file two point two, times one thousand and twenty-four cubed, times eight bits. Step three, the rate. It is wanted in megabits per second, so the bits per second will be divided by one thousand squared at the end. Step four again, build the fraction. Rate equals size over time, so the bits go over fifteen times sixty, and the whole thing is divided by one thousand squared. The rate is two point two times one thousand and twenty-four cubed times eight, over fifteen times sixty, all divided by one thousand squared, in megabits per second.
Here's one with a mistake in it. A student builds the time to send a five hundred kibibyte file at two megabits per second. The student writes five hundred times one thousand and twenty-four, over two times one thousand times one thousand. What step has the student missed in that expression? The eight. The top of that fraction counts bytes, while the bottom counts bits, so it needs one more multiplier, eight. Corrected, the time is five hundred times one thousand and twenty-four times eight, over two times one thousand squared, in seconds. One examiner's report records the slip: "Candidates also struggled to remember that file storage size is in bytes and that transmission speeds are measured in bits, so a conversion factor of 8 is also required." The same report adds a second: "Some candidates confused SI units, decimal prefixes, with IEC units, binary prefixes." The habit that fixes both: write the unit beside every number. A bytes number over a bits number then looks wrong, and so does a one thousand and twenty-four beside a megabit.
One more, and this time the answer is wanted in minutes. A six gibibyte video file goes over a one hundred megabits per second connection. The first three steps run as before. Six times one thousand and twenty-four cubed times eight bits on top, one hundred times one thousand squared underneath. That gives seconds. What is the last step, to turn that time into minutes? Divide by sixty. A minute is sixty of them, so the whole fraction goes over sixty. So the time in minutes is six times one thousand and twenty-four cubed times eight, over one hundred times one thousand squared, all divided by sixty. One sense check. Real transfers take longer than this, because of other traffic and the extra data in each packet's header, so the expression gives the shortest possible time.
Four steps and one fraction, so the questions follow the same order. How do time, file size and transmission rate relate to each other? Time in seconds equals file size in bits, divided by rate in bits per second. Now try this: a file is two hundred kibibytes. How many bytes is that, as an expression? Two hundred times one thousand and twenty-four bytes. Kibi has bi in it, so it means one thousand and twenty-four. A different one: what size, in bits, is sent at ten megabits per second for thirty seconds? Size equals rate times time. Ten times one thousand squared, times thirty, bits. Now back to the game update from the very start. Take its size as eight gibibytes, the way these sums write file sizes. Build the time expression for eight gibibytes at eighty megabits per second. Eight times one thousand and twenty-four cubed times eight, over eighty times one thousand squared, in seconds. Worked out, that is about eight hundred and sixty seconds, roughly fourteen minutes. Not a tenth of a second. Giga against mega is about a thousand times, bytes into bits is eight times, and together that makes nearly a quarter of an hour.
This is the full chapter, with every video marked in turn up to this one. If you have got the hang of building these fractions, a thumbs up means you can leave this one alone. If the fractions still feel shaky, put the video in a saved list. A second viewing often makes them land, once the four steps are familiar.
That completes our chapter on Protocols and layers. Next chapter: Cyber security. Hopefully that's next in your feed, but if not, search for ScholaFly C S oh nine, oh oh.
Every other video is on scholafly.com too, easy to search by video code or by keyword. Whatever you're revising, go there and have a look, or, watch the next video.
Related terms
For: Edexcel GCSE 1CP2
On the specification
| Board | Spec | Statement |
|---|---|---|
| Edexcel GCSE 1CP2 | 4.1.5 | Use bits per second (kilobit, megabit, gigabit) and construct expressions involving file size, transmission rate and time. |
For teachers
This GCSE Computer Science lesson teaches transmission rate, file size and time. By the end, students should be able to use time = file size in bits / transmission rate in bits per second, rearranged for any of the three quantities, and construct the expression without working it out - converting the file size from bytes to bits (times 8) with binary prefixes (1024) and the rate with decimal prefixes (1000), and the time into seconds. It works through five worked examples and the mistakes examiners report.