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

Probability distribution of the net present value, Suppose that $4 million ...

Suppose that $4 million is available for investment in three projects.  The probability distribution of the net present value earned from each project depends on how much is invest

Hirap, #q A paper mill products two grade of paper viz., X & Y. Because of ...

#q A paper mill products two grade of paper viz., X & Y. Because of raw material restriction, it cannot produce more than 400 tons of grade X paper & 300 tons of grade Y paper in a

Describe indirect least squares, Indirect least squares: An estimation tech...

Indirect least squares: An estimation technique used in the fitting of structural equation models. Commonly least squares are first used to estimate reduced form parameters. Usi

EDUC 606, The GRE has a combined verbal and quantitative mean of 1000 and a...

The GRE has a combined verbal and quantitative mean of 1000 and a standard deviation of 200.

Prevented fraction, Prevented fraction is a measure which can be used to a...

Prevented fraction is a measure which can be used to attribute the protection against the disease directly to an intervention. The measure can given by the proportion of disease w

Decision tree analysis, Ask questioThe finance manager of ‘Softy’ baby soap...

Ask questioThe finance manager of ‘Softy’ baby soap manufacturing company being successful in the first two years of the company’s operations is considering setting up another plan

Parks test, The Null Hypothesis - H0: β 1 = 0 i.e. there is homoscedastici...

The Null Hypothesis - H0: β 1 = 0 i.e. there is homoscedasticity errors and no heteroscedasticity exists The Alternative Hypothesis - H1: β 1 ≠ 0 i.e. there is no homoscedasti

Adjusted r-squared, R-squared is regarded as the coefficient of determinati...

R-squared is regarded as the coefficient of determination and is used to give the proportion of the fluctuation of the variance of one variable to another variable. R-squared also

Explain Geometric distribution, Geometric distribution: The probability di...

Geometric distribution: The probability distribution of the number of trials (N) before the first success in the sequence of Bernoulli trials. Specifically the distribution is can

Simplex method, Economic Interpretation of the Optimum Simplex solution

Economic Interpretation of the Optimum Simplex solution

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