GCSE CS (2210) / IGCSE CS (0478) P1 NOTES Chapter 1.3: Hardware and Software 1.3.5 Memory, Storage and Media
GCSE CS (2210) / IGCSE CS (0478) P1 NOTES Chapter 1.3: Hardware and Software 1.3.5 Memory, Storage and Media
TYPES OF STORAGE
1. PRIMARY STORAGE
e.g.
1- Random Access Memory (RAM)
-is a hardware device
-allows information to be stored and retrieved on a computer
-RAM is a volatile memory and requires power to keep the data accessible
-RAM normally has a larger capacity than ROM
2. SECONDARY STORAGE
[email protected] https://www.youtube.com/c/awabaqib/
GCSE CS (2210) / IGCSE CS (0478) P1 NOTES BY AWAB AQIB
CHAPTER 1.3: HARDWARE AND SOFTWARE
1.3.5 Memory, Storage and Media
Why is Solid State Drive (SSD) replacing Hard Disk Drive (HDD)
Why many web servers still use Hard Disk Drive (HDD) technology
3. OFFLINE STORAGE
5-Blu-Ray
-Optical storage media
-has high storage capacity by using blue laser technology
(continued)
[email protected] https://www.youtube.com/c/awabaqib/
GCSE CS (2210) / IGCSE CS (0478) P1 NOTES BY AWAB AQIB
CHAPTER 1.3: HARDWARE AND SOFTWARE
1.3.5 Memory, Storage and Media
6-Flash Memory
-Nonvolatile memory chip used for storage and for transferring data
-between a personal computer (PC) and digital devices
-It has the ability to be electronically reprogrammed and erased.
-It is often found in USB flash drives, MP3 players, and digital cameras
[email protected] https://www.youtube.com/c/awabaqib/
GCSE CS (2210) / IGCSE CS (0478) P1 NOTES BY AWAB AQIB
CHAPTER 1.3: HARDWARE AND SOFTWARE
1.3.5 Memory, Storage and Media
SUMMARY OF STORAGES
[email protected] https://www.youtube.com/c/awabaqib/
GCSE CS (2210) / IGCSE CS (0478) P1 NOTES BY AWAB AQIB
CHAPTER 1.3: HARDWARE AND SOFTWARE
1.3.5 Memory, Storage and Media
(𝑝𝑟𝑜𝑑𝑢𝑐𝑡 𝑜𝑓 𝑛 𝑎𝑛𝑑 𝑚) 𝑥 𝑤
8
-to convert the answer from bytes to Kilobytes, divide it by 1024
-to convert the answer from bytes to Megabytes, divide it by 10242
-to convert the answer from bytes to Gigabytes, divide it by 10243
To calculate the size of a sound file that is b seconds long and is sampled at c times
per second. Each sample is saved using Y-bits
-multiply b and c
-if each sample is saved in 8 bits then convert it straight to kB/MB/GB/TB
-if each sample is not saved in 8 bits rather saved at Y color-depth then:
(𝑝𝑟𝑜𝑑𝑢𝑐𝑡 𝑜𝑓 𝑎 𝑎𝑛𝑑 𝑐) 𝑥 𝑌
8
-to convert the answer from bytes to Kilobytes, divide it by 1024
-to convert the answer from bytes to Megabytes, divide it by 10242
-to convert the answer from bytes to Gigabytes, divide it by 10243
(continued)
[email protected] https://www.youtube.com/c/awabaqib/
GCSE CS (2210) / IGCSE CS (0478) P1 NOTES BY AWAB AQIB
CHAPTER 1.3: HARDWARE AND SOFTWARE
1.3.5 Memory, Storage and Media
Example 1
-An image is 256 px high and 200 px wide with a 16-bit color depth. Calculate its size in kB.
51,200 𝑥 16
Size in bytes: = 102,400 bytes
8
102,400
Size in KiloBytes: = 100KB
1024
Example 2
-A 32 second-long sound clip will be recorded. The sound will be sampled at 16000 times a
second. Each sample will be saved using 8-bits. Calculate the size in Kilobytes.
Size in bytes: 32 x 16000 = 512,000 bytes
512,000
Size in KiloBytes: = 500KB
1024
Example 3
-The current status of the engine is sent to a computer in the Airplane. Each piece of data
collected is 8 bytes in size. Data collection occurs every 30 seconds. Calculate the number
of kilobytes that would be needed to store the data collected during a 10-hour flight.
bytes : duration
8 bytes 30 sec
x bytes 10*60*60 sec
288000
Bytes needed for 10-hour: x =
30
x= 9600 bytes
9600
x= KiloBytes
1024
Size in KiloBytes: x= 9.4 KB
[email protected] https://www.youtube.com/c/awabaqib/