Compress some already compressed files

Assignment Help Basic Computer Science
Reference no: EM131045595

Suppose we have a compression function c, which takes a bit string s to a compressed string c(s).

(a) Show that for any integer N there must be a string s of length N for which length(c(s)) ≥ N; that is, no effective compression is done.

(b) Compress some already compressed files (try compressing with the same utility several times in sequence). What happens to the file size?

(c) Given a compression function c as in (a), give a function c ′ such that for all bit strings s, length(c ′ (s)) ≤ min(length(c(s)), length(s)) + 1; that is, in the worst case, compression with c ′ expands the size by only 1 bit.

Reference no: EM131045595

Questions Cloud

Key issues in supply chain management : 1. Explain the difficulties and key issues in supply chain management. Reference
Give the average number of byte-order conversions needed : The probability that both endpoints are big-endian is p 2 ; the probability that the two endpoints use different byte orders is 2p(1 - p).
Current cabinet secretary for lands in kenya : Name the current cabinet secretary for lands in Kenya... How many govenors are there in kenya?
Store with his own and moved them to a new : Johnson, who owned a hardware store, was indebted to Hutchinson, one of her suppliers. Johnson sold her business to Lockhart, one of Johnson's previous competitors, who combined the inventory from Johnson's store with his own and moved them to a n..
Compress some already compressed files : Given a compression function c as in (a), give a function c ′ such that for all bit strings s, length(c ′ (s)) ≤ min(length(c(s)), length(s)) + 1; that is, in the worst case, compression with c ′ expands the size by only 1 bit.
Management about the low pay : Three employees believe that their pay is too low, yet one of them quits, the second complains to management about the low pay and the third does nothing. Explain why these employees engaged in different behaviors even though they held the same be..
Performance on four primary groups of measures : Use the balanced scorecard or another similar tool to recommend indicators and measurements that will tell you if the company is successful or unsuccessful in progressing toward your vision through execution of  Sony corporation strategy.
Conduct research on company that uses marketing strategies : Conduct some research on 1 company that uses Cause Marketing strategies. Give a short description of the company.
Why is bit order then not relevant to presentation : [Pos81] defines (in its Appendix B) the standard network bit order. Why is bit order then not relevant to presentation formatting?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Involved in a team charged to repair

1. You are involved in a team charged to repair and maintain a web-based ticket distribution system, what are the necessary questions your team should pose to the owner? Make up five questions and suggest solutions to them. Keep your answe..

  How it would validate the customer complaint

Trouble Ticket 101: Customer in Atlanta complains that when she tries to log into the system server.headquarters.com in New York, she gets disconnected with a time-out. However, her colleague in her New York office reports that he is able to acces..

  Review the wbs and gantt chart you created for tasks

Review the WBS and Gantt chart you created for Tasks Propose three to five additional activities that would help you estimate resources and durations. Write a one-page paper describing these new activities.

  Why can i only see up to the index of this book

Why can I only see up to the index of this book? I understand it's a large book and you may only want to give the reader access to part of the book, but if it's read only until I get my book in the mail, why can't I see the whole book

  What are the values of the flip-flop output

The table given above shows some parameters for the a 7474 Edge Triggered D Flip-Flop. What would be the maximum operating frequency this type of flip-flop?

  Determine the least coefficient of static friction

The tongs are used to lift the 150-kg crate, whose center of mass is at G. Determine the least coefficient of static friction at the pivot blocks so that the crate can be lifted.

  Differences and similarities of the business models

Recognize differences and similarities of the business models, taking into account the following factors: Who is the target audience for this Web site.

  Write challenges with requirement elicitation

What is meant by "enterprise-wide analytics technology," and how can it play part in understanding business processes? Write down the challenges related with "requirement elicitation"

  An example of a picture effect for images in powerpoint 2007

An example of a picture effect for images in PowerPoint 2007 would be

  Explain at least one 1 possible effect that multithreading

question 1 describe at least one 1 possible effect that multithreading could have on event-driven programming when you

  What different between before and after parallel

I need project consist 6 pages include problem before parallel and after parallel and I need all instruction for use this project in order to run program (Implementaion) and what different between before and after parallel

  In the k-bounded spanning tree problem

In the k-bounded spanning tree problem you are given an undirected graph G(V,E). The goal is to decide whether or not G contains a spanning tree T(V,E') such that each vertex v in V has degree at most k in the spanning tree T.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd