Run-Length Encoding (RLE) (AQA GCSE Computer Science): Quizzes
📚Quizzes
Practise the questions
12 questions from this quiz
ShowHide
Practise the questions
12 questions from this quiz
What two pieces of information does RLE store for each sequence?
What two pieces of information does RLE store for each sequence?
Number of repetitions and the value
How would RLE represent the text 'AAAABBBBBCCCCCCCC'?
How would RLE represent the text 'AAAABBBBBCCCCCCCC'?
(4,A)(5,B)(7,C)
In ASCII representation, what does '65' represent in RLE data?
In ASCII representation, what does '65' represent in RLE data?
ASCII code for 'A'
How many bits does 'AAAABBBBBCCCCCCCC' use with RLE vs original ASCII?
How many bits does 'AAAABBBBBCCCCCCCC' use with RLE vs original ASCII?
42 bits vs 119 bits
In B&W image RLE, how many bits identify colour and count pixels?
In B&W image RLE, how many bits identify colour and count pixels?
1 bit for colour, 7 bits for count
For a 32-pixel image, what is the bit saving using RLE?
For a 32-pixel image, what is the bit saving using RLE?
25% saving (32 bits to 24 bits)
Which type of data compresses best with RLE?
Which type of data compresses best with RLE?
Simple graphics with solid colours
When does RLE fail to compress data effectively?
When does RLE fail to compress data effectively?
Random data with few repetitions
What can happen when RLE is applied to inappropriate data?
What can happen when RLE is applied to inappropriate data?
Files can become larger than original
What type of compression is RLE?
What type of compression is RLE?
Lossless - no data is lost
Which advantage makes RLE suitable for real-time use?
Which advantage makes RLE suitable for real-time use?
Fast compression with minimal processing
What order does RLE use to store compressed data?
What order does RLE use to store compressed data?
Count first, then value
