100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Interview

AQA Computer Science Notes - Syllabus: 8025

Rating
-
Sold
-
Pages
2
Uploaded on
27-08-2022
Written in
2021/2022

This document contains revision notes which help to achieve top grades

Institution
Course








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course
School year
2

Document information

Uploaded on
August 27, 2022
Number of pages
2
Written in
2021/2022
Type
Interview
Company
Unknown
Person
Unknown

Subjects

Content preview

Compression
Why use compression?
Originally to save space when saving files to a disk.
In today's modern world compression is now done to reduce data sent over a network which needs
to be done for many reasons.


Lossy Compression
Lossy compression works by removing non-essential pieces of information.
The result as shown here is a blocky and untidy image. However, our ability to identify the subject of
the image is not impeded.
The only downside is the quality.


Lossless compression
Records patterns in data rather than data itself. Using these patterns and instructions on how to use
them the computer can reverse the procedure.


Run Length Encoding (Lossless)
Run length encoding relies on reducing repeating block of the same data to the item of data and a
number representing the number of items of that data

AAABBBBBBBBAAA – could be represented as A3B8A3
As long as the space needed to encode the repetition number is less than that of the original data
the compressed file will be smaller.

Runs of pixels of similar colour are often used as examples of this




We might need 3 bytes to store the exact colour blue.... and therefore if we stored 5 of these we
would have 15 bytes of info. If instead of this the 3 colour bytes were always followed by a length
byte we could compress the blue pixels down to 4 bytes of data.




Dictionary based compression
A dictionary is built that maps sequences of strings in the text onto values ;
the (sequences of) strings in the text are then replaced by the corresponding values in the
dictionary;
$10.98
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
aryanmistry

Get to know the seller

Seller avatar
aryanmistry
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
3 year
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions