Summary A Level Computer Science revision notes - 1.3.1 Compression, Encryption and Hashing
4 views 0 purchase
Course
Content of Computer systems
Institution
OCR
Revision notes for 1.3.1 Compression, Encrytion and Hashing from topic 1.3: Exchanging data.
Included in the content for OCR A Level Computer Science Paper 1.
These notes were originally written in Markdown language and converted to a pdf.
1.3.1 Compression, Encryption and
Hashing
(a) Lossy vs Lossless compression.
Compression
• a process used to reduce the storage space required by a file
Lossy compression
• removes non-essential information/data from a file
• results in permanent data loss
Lossless compression
• all data from the original file can be retrieved
• records patterns in data rather than the actual data
• files compressed with lossless compression are usually larger than files
compressed with lossy compression
(b) Run length encoding and dictionary coding for lossless
compression.
Run length encoding
• lossless compression method
• repeated values are replaced with one occurrence of the data followed by the
number of times it is repeated
• relies on many consecutive data values being the same
• RLE will not greatly reduce the size of a file if it contains little repetition
Dictionary coding
• lossless compression method
• frequently occurring pieces of data are replaced with an index
• each index has an entry in the dictionary that matches it to its corresponding
data
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller alinat. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $3.86. You're not tied to anything after your purchase.