Recent content by Villiers

  1. Villiers

    Comp Sci Run length encoding byte calculation for encoded sequence

    I get 156 Line Run length encoded sequence 1 20W 2 bytes 2 20W 2 bytes 3 20W 2 bytes 4 8W5K7W 6 bytes 5 8W5K7W 6 bytes 6 8W5K7W 6 bytes 7 8W5K7W 6 bytes 8 9W3K8W 6 bytes 9 7W7R6W 6 bytes 10 6W4R1Y4R5W 10 bytes 11 6W1R1W5R1W1R5W 14 bytes...
  2. Villiers

    Comp Sci Run length encoding byte calculation for encoded sequence

    Hi I know the answer is 152 bytes but I don't understand how you get to this number. i understand how each line has been compressed with 2 bytes per instance of a colour and that each line adds up to 20. here is the original image file...
  3. Villiers

    Comp Sci What does 38 bits reduction per occurrence mean in dictionary compression?

    Hi I have the answer to the dictionary compression question- but can't understand the following in the notes: Instead, the word could be added to a dictionary and assigned the binary code 01 which is a reduction of 38 bits for each occurrence - what does this mean? This is the extract in...
  4. Villiers

    Comp Sci Run length encoding byte calculation for encoded sequence

    Hi Thanks for your reply. I have the answer... i just don't understand the result and how it was derived. I have attached the answer document. Would appreciate any advice :)https://docs.google.com/document/d/11gg55ZDuIsTfv9GJ1ivcv6VqxueO0YU7GBEyFxZ5XnA/edit?usp=sharing
  5. Villiers

    Comp Sci Run length encoding byte calculation for encoded sequence

    Line Run length encoded sequence 1 20W 2 20W 3 20W 4 8W5K7W 5 8W5K7W 6 8W5K7W 7 8W5K7W 8 9W3K8W 9 7W7R6W 10 6W4R1Y4R5W 11 6W1R1W5R1W1R5W 12 6W1R1W2R1Y2R1W1R5W 13 6W1R1W5R1W1R5W 14 6W1R1W2R1Y2R1W1R5W 15 9W3B8W 16 9W3B8W 17 9W3B8W 18 9W3B8W 19 9W3B8W 20...