Igcse Computer Science (0478) Chapter 1.1: Data Representation 1.1.3 Data Storage
Igcse Computer Science (0478) Chapter 1.1: Data Representation 1.1.3 Data Storage
[email protected] https://www.youtube.com/c/awabaqib/
IGCSE COMPUTER SCIENCE (0478) BY AWAB AQIB
CHAPTER 1.1: DATA REPRESENTATION
1.1.3 Data Storage
1- Checksum
-the sum for the bytes is calculated
-this value is then transmitted with the block of data
-at the receiving end, the checksum is re-calculated from the block of data received
-the calculated value is then compared to the checksum transmitted
-if they are the same value, then the data was transmitted without any error
-if the values are different, then an error has been found
-if the values are different, then a request is sent for the data to be re-transmitted
3- Parity check
-checks a byte of data
-check is performed when data is received
-a parity bit is added to the parity byte
-checks number of 1’s to see if 1’s are even or checks to see if 1’s are odd
-can be even or odd
-if parity is incorrect, error is detected
4- Echo (check)
-copy of data is sent back to sender
-data is compared to see if it matches
-if it does not match then error detected
-it can’t tell if the data got corrupted at receiving or sending end
5- Check digit
-a digit that is calculated from the data, uses modulo to calculate digit
-modulo 11 method / dividing by 11 / finding the remainder / subtracting from 11
-it is appended / added to the data
-digit is recalculated when data is entered
-digits are compared to check for error
(continued)
[email protected] https://www.youtube.com/c/awabaqib/
IGCSE COMPUTER SCIENCE (0478) BY AWAB AQIB
CHAPTER 1.1: DATA REPRESENTATION
1.1.3 Data Storage
JPG/JPEG
[email protected] https://www.youtube.com/c/awabaqib/
IGCSE COMPUTER SCIENCE (0478) BY AWAB AQIB
CHAPTER 1.1: DATA REPRESENTATION
1.1.3 Data Storage
MP3
-a file extension and compression method that utilizes the mpeg standard (lossy)
-to reduce the size, often by a factor of 12, while still maintaining audio quality
-MP3 files are commonly used to store a or the whole cd and require less drive space
-MP3 files are, on average, 90% smaller than the music files stored on a cd
-flac is a lossless audio format
MP4
-it's a compressed video format (lossy) that also can store audio and images
-MP4 file extension is a mpeg-4 video file format
-MP4s are one of the more common video file formats used for downloading and streaming
COMPRESSION ALGORITHMS
Lossy compression
Lossless compression
[email protected] https://www.youtube.com/c/awabaqib/