Computing
Computer Science LearnITWithMrC ⛯ Year 7 Year 8 Year 9 GCSE
Responsive image

Lesson Video

52

Lesson Tasks

  • Watch the Lesson video
    Make notes if needed.
  • Open your Learning Journal
    Complete Task 1 in your Learning Journal
  • Complete the learning activities
    Make sure you complete the book tasks in your Unit Booklet
  • Complete End of Task Assessment
    Update your learning objectives

What do I need to Learn?

0 results forGuest
I need to learn how to explain how data can be compressed using run length encoding (RLE).
I need to learn how to represent data in RLE frequency/data pairs.

Key Terms

Run-Length Encoding frequency value storage image compression compression.

Task 1 - Getting organised Click to see more


Task: Learning Journal

Open your Learning Journal by clicking on the image below

Good notes will help you organise and process data and information


Task 2 - Run Length Encoding (RLE) Click to see more

Run Length Encoding

  • Run Length Encoding (RLE) is a simple form of lossless data compression which works by reducing the physical size of a sequence of
  • data having the same value and are stored using requency/data pairs.

    • This repeating string, called a run, is encoded into two bytes.
    • The first byte represents the number of characters in the run and the second gives the character.
    • For example, let's look at the following string:
      • aaabbbbbbccccccccc
      • This string length is 18 bytes.
      • Using run length encoding, this could be compressed to:
      • 3a6b9c
      • This string has been reduced to 6 bytes using RLE.

    • RLE provides very good compression ratios where there are long runs of one particular value like the following 1-bit black and white image:

    rle.png

    • When represented by a letter, the size of the file is 64 bytes: 8 bytes per line.
    • Using Run Length Encoding will reduce the file size of this one character from 64 bytes to 48 bytes.

    Task:

    Open your student workbook at page 64 Read through the notes then complete the following tasks in your book.
    1. Task 33
    2. Task 34

  • When you are finished screenshot your answer into your Learning Journal

  • Task 3 - AQA Notes Click to see more

    Below are some notes published by AQA you might wat to read for further infromation about Run Length Encoding

    RLE1 RLE2 RLE3 RLE4 RLE5