Mahmud RAHMAN - 1.2 Workbook (Part 2)
Mahmud RAHMAN - 1.2 Workbook (Part 2)
Mahmud RAHMAN - 1.2 Workbook (Part 2)
Resources
We recommend the OCR endorsed text book from PG Online for use during your GCSE studies.
Craig'n'Dave videos for SLR 1.2
GCSE J277 Unit 1.2 | Memory and storage – part 2 Craig’n’Dave
Kilobyte: 1024 which can be approximated to 103 or 1000 bytes. The symbol for a kilobyte is KB
You can store a few paragraphs of text in a single kilobyte. In the 1980s, a 5.25 inch floppy disk would store 160-360 kilobytes of data.
You can store a in a single megabyte. In the 1990s, a 3.5 inch floppy disk would store 1.44 megabytes of data.
GCSE J277 Unit 1.2 | Memory and storage – part 2 Craig’n’Dave
You can store 12 hours of music in a single gigabyte. In the 1990s, a MiniDisc would store 1 gigabyte of data.
You can store 1 million novels in a single terabyte. In 2018 hard disks in computers have terabytes of data capacity.
You can store 100 years of television in a single petabyte. The amount of data Google processes in an hour can be measured in petabytes.
GCSE J277 Unit 1.2 | Memory and storage – part 2 Craig’n’Dave
Unit conversions:
7.5GB
130 0.13 0.00013 0.00000013
10700000 10700 10.7 0.0107 A portable video player stores films in a compressed
format on flash memory. Each film is 4.7GB.
How many films can a 32GB player store?
2300000 2300 2.3 0.0023
6
5000000 5000 5 0.005
1400000000 1400000 1400 1.4 A dashboard camera records video at 120MB per
second. How much storage is required in gigabytes for
30 seconds of footage?
50000000 50000 50 0.05
= 2.5 PB = 4 KB
15.4PB video IBM’s Watson
uploaded to YouTube supercomputer
in 2012. 16TB RAM.
= 15400 TB = 0.016 PB
= 470 MB = 1500 MB
GCSE J277 Unit 1.2 | Memory and storage – part 2 Craig’n’Dave
Computers store data in binary (0 or 1) because: Electronic components are easier to manufacture and cheaper to make when there are only two states.
RAM, Hard disks, CDs, DVDs and flash drives all use binary to store data. In the case of RAM, flash chips within the
GCSE J277 Unit 1.2 | Memory and storage – part 2 Craig’n’Dave
Photo album with 230 postcard sized photos and 40 half minute video clips:
A portable music player capable of holding 3000x3 minute songs and ¼ postcard sized track thumbnail images:
GCSE J277 Unit 1.2 | Memory and storage – part 2 Craig’n’Dave
How to convert positive denary whole numbers (0-255) into 8 bit binary numbers and vice
versa
GCSE J277 Unit 1.2 | Memory and storage – part 2 Craig’n’Dave
Binary shifts
10
11
12
13
14
15
GCSE J277 Unit 1.2 | Memory and storage – part 2 Craig’n’Dave
Converting positive denary whole numbers (0-255) into 2 digit hexadecimal numbers and vice
versa
How to convert from denary to hexadecimal: How to convert from hexadecimal to denary:
GCSE J277 Unit 1.2 | Memory and storage – part 2 Craig’n’Dave
Number conversions
Bi n 1 1 0 1
De
11011000
96 r y
ar y
D8 imal
01
na
Binary ec
01
xad
01001010
He
Binary
6A mal
5D
Hexadecimal
ci
Hexadecimal
De 11
ade
y
56 nar
na
De 6
Hex
ry
8
99 y
ar
Bin 111
00
001
Den
11
1
ary 1
AB
Bin 0000
Hexadecimal ar y
Hexadecimal
al
11 nary
im
He
xa F
0
De 130
FF
Bi
He 3
ec
y
1
ar
x
0 00
140 ry
d
01
Bin 0101
n
a
BE De
na
d
na
10
ecim
1
ary
20 ry
De
9
al
Denary
10 Binary 2B imal
11
00 10 10
ec
xad
01100000
He
Binary
y
nar
De 0
78
al
exa decim 4
H 8C imal 1 10
0
00 ec Bin 1110
00100
xad
Binar 0
11111111
0 e ary
B i 01 0 H
Hexadecimal
Binary
l
ry
ecima
na 1
na 1
ry 1
01
al
y
11 nary
e
im
1F
D 10
22
xa 12
1
ry
Bi
c
0
Hexad
na De
de
011
De 4 na
7 18 r y
e
0
Dena
H
ry
19 0
Denary
48
GCSE J277 Unit 1.2 | Memory and storage – part 2 Craig’n’Dave
Computers store and process all data in binary. Therefore all data including text, images and sounds must be represented with just 0’s and 1’s.
How my first name is stored in binary using the 8 bit Extended ASCII character set:
Letter Binary
My binary bracelet:
GCSE J277 Unit 1.2 | Memory and storage – part 2 Craig’n’Dave
A character set is: All the characters that a computer can use.
ASCII is a 7 bit character set. This means you can represent 128 Extended ASCII is an 8 bit character set. This means you can represent 256
characters in that set because there are 2 7 permutations of 7 bits. characters in that set because there are 2 8 permutations of 8 bits.
Standard ASCII character set. Characters 32-127: Extended ASCII character set. Characters 128-255:
GCSE J277 Unit 1.2 | Memory and storage – part 2 Craig’n’Dave
Bitmap images
1 bit image:
Meta data
includes:
Bitmap images
2 bit image:
Bitmap images
3 bit image:
101
100
Bit depth (3-bits)
011
010
001
000
The effect of doubling the bit rate on the quality of the sound and file size
1010
1001
1000
0111
Bit depth (4-bits)
0110
0101
0100
0011
0010
0001
0000
The effect of doubling the sample rate and bit rate on the quality of the sound and file size
1010
1001
1000
0111
Bit depth (4-bits)
0110
0101
0100
0011
0010
0001
0000
Compression will
Lossy compression loses some of the data when the file is compressed. This reduces the quality, but also significantly reduces file size.
Lossless compression does not lose any of the data when the file is compressed. Instead, the data is encoded in a different way.
Lossy compression
Lossy compression loses some of the data when the file is compressed. This reduces the quality, but significantly reduces file size.
With JPEG encoding below you can see that increasingly larger regions of the picture are drawn with the same colour as the compression increases.
2 3
4 5 6
GCSE J277 Unit 1.2 | Memory and storage – part 2 Craig’n’Dave
Lossless compression
Colour palette:
Assuming the first 3 bits are the colour and the next 4 bits are the number of pixels of that colour:
The first two lines of the image encoded in binary are:
Lossless compression
Case study:
Elizabeth is looking to upgrade her phone. She is choosing between model A and model B.
Model A Model B
Consider that 32GB of data storage will be used for apps. Assume 50% compression.
Maximum number of
photographs that could be
stored on the phone:
GCSE J277 Unit 1.2 | Memory and storage – part 2 Craig’n’Dave
Feedback
Breadth Depth Understanding
□ Some aspects complete □ Basic level of depth shown □ Some work is accurate
□ Little work complete □ Little depth and detail provided □ Little work is accurate
☹😐☺ I can explain what meta data is and provide some examples.
☹😐☺ I can explain the effect of colour depth and resolution on the size of an image file.
☹😐☺ I can explain how sound can be sampled and stored in a digital form.
☹😐☺ I can explain how the following factors affect the size of a sound file and the quality of its playback: sample rate
☹😐☺ I can explain how the following factors affect the size of a sound file and the quality of its playback: sample duration
☹😐☺ I can explain how the following factors affect the size of a sound file and the quality of its playback: bit depth
☹😐☺ I can explain the advantages and disadvantages of lossy vs lossless compression.
My revision focus will need to be: