Command-line options, Advanced Statistics

Assignment Help:

Command-Line options

Compression:

C++:  ./compress  -f  myfile.txt  [-o  myfile.hzip  -s

Java:  sh  compress.sh  -f  myfile.txt  [-o  myfile.hzip  -s]

Decompression:

C++:  ./decompress  -f  myfile.hzip[-r  -v]

Java:  sh  decompress.sh  -f  myfile.hzip  [-o  myfile.txt  -s]

The command-line options that are within the square bracket are optional. The option \-f" precedes the input le name, which always has a .txt extension. The \-s" option prints statistics, such as for compression it prints, how many distinct characters are there, what is the compression ratio, and the wall clock time that it took for performing the compression task. For decompression, it prints how many character were written, and the wall clock time it took for performing the decompression task. The \-o" option precedes the name of an output le. If the output file name is not given, then we will append .hzip at the end of the input filename to create the output filename.


Related Discussions:- Command-line options

Explain non-response, Non-response is the term generally used for the fail...

Non-response is the term generally used for the failure to give the relevant information being collected in the survey. Poor response can be because of the variety of causes, for

Simplex method, Economic Interpretation of the Optimum Simplex solution

Economic Interpretation of the Optimum Simplex solution

Artificial neural network, Artificial neural network : A mathematical arran...

Artificial neural network : A mathematical arrangement modelled on the human neural network and designed to attack various statistical problems, particularly in the region of patte

Fibonacci distribution, The probability distribution of the various observa...

The probability distribution of the various observations is required to obtain the run of two successes in the series of Bernoulli trials with the probability of success equal to a

January 2015 Take-Home Assignment, 3. a. A researcher in Hong Kong computes...

3. a. A researcher in Hong Kong computes the correlation between the percentage of employee turnover and the local unemployment rate (also expressed as a percentage) over a 20-mont

To create a relative frequency histogram, The total amount of protein produ...

The total amount of protein produced by a dairy cow can be estimated from periodic testing of her milk.  The following are the total annual protein production values (lb) for 28 tw

Binomial distribution with continuity correction, Records on the computer m...

Records on the computer manufacturing process at Pratt-Zungia Limited show that the percentage of defective computers sent to  customers has been 5% over the last few years. Shipme

Pie chart, Pie chart is an extensively used graphical technique for presen...

Pie chart is an extensively used graphical technique for presenting relative frequencies related with the observed values of the categorical variable. The chart comprises of a cir

Attack rate, Attack rate : This term frequently used for the incidence of t...

Attack rate : This term frequently used for the incidence of the disease or condition in the particular group, or during a limited interval of time, or under the special circumstan

Write Your Message!

Captcha
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