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

Occam''s razor, Occam's razor  is an early statement of the parsimony princ...

Occam's razor  is an early statement of the parsimony principle, which was given by William of Occam (1280-1349) namely 'entia non sunt multiplicanda praeter necessitatem'; which m

Explain historical controls, Historical controls : The group of patients tr...

Historical controls : The group of patients treated in the past with the standard therapy, taken in use as the control group for evaluating the new treatment on the present patient

Diggle kenward model for dropouts, The model which is applicable to the lon...

The model which is applicable to the longitudinal data in which the dropout process might give rise to the informative lost values. Specifically if the study protocol specifies the

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

Explain remedian, Remedian: The robust estimator of location which is comp...

Remedian: The robust estimator of location which is computed by an iterative process. By assuming that the sample size n can be written as bk where b and k are the integers, the s

Describe martingale, Martingale: In the gambling context the term at first...

Martingale: In the gambling context the term at first referred to a system for recouping losses by doubling the stake after each loss has occured. The modern mathematical concept

Multimodal distribution, Multimodal distribution is the probability distri...

Multimodal distribution is the probability distribution or frequency distribution with number of modes. Multimodality is frequently taken as an indication which the observed di

Mann whitney test, Mann Whitney test is a distribution free test which is ...

Mann Whitney test is a distribution free test which is used as an alternative to the Student's t-test for assessing that whether the two populations have the same median. The test

Define Geo statistics, Geo statistics: The body of methods useful for unde...

Geo statistics: The body of methods useful for understanding and modelling spatial variability in a course of interest. Central to these techniques is the idea that measurements t

Descriptive , Assume that a population is normally distributed with a mean ...

Assume that a population is normally distributed with a mean of 100 and a standard deviation of 15. Would it be unusual for the mean of a sample of 20 to be 115 or more?

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