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 knox''s test, Knox's tests: These tests designed to detect any ten...

Knox's tests: These tests designed to detect any tendency for the patients with a particular disease to form the disease cluster in time and space. The tests are relied on a two-b

Mortality odds ratio, Mortality odds ratio  is the ratio equivalent to the ...

Mortality odds ratio  is the ratio equivalent to the odds ratio used in case-control studies where the equivalent of the cases are deaths from the cause of interest and the equival

O''brien''s two-sample tests, O'Brien's two-sample tests are the extension...

O'Brien's two-sample tests are the extensions of the conventional tests for assessing the differences between treatment groups which take account of the possible heterogeneous nat

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

Consolidated standards for reporting trials (consort) , Consolidated Standa...

Consolidated Standards for Reporting Trials (CONSORT) statement : The protocol for reporting the results of the clinical trials. The core contribution of the statement comprises of

Cross over design, The type of longitudinal study in which the subjects rec...

The type of longitudinal study in which the subjects receive different treatments on the various occasions. Random allocation is required to determine the order in which the treatm

Hypotheses, a company suppliers specialized, high tensile Pins to customers...

a company suppliers specialized, high tensile Pins to customers. It uses an automatic lathe to produce the pins. Due to the factors such as vibration, temperature and wear and tear

Determine the maximum amount of the commodity, A manufacturing company has ...

A manufacturing company has two factories F 1 and F 2 producing a certain commodity that is required at three retail outlets M 1 , M 2 and M 3 . Once produced, the commodity is

Explain o. j. simpson paradox, O. J. Simpson paradox is a term coming from...

O. J. Simpson paradox is a term coming from the claim made by the defence lawyer in murder trial of O. J. Simpson. The lawyer acknowledged that the statistics demonstrate that onl

Population averaged models, Population averaged models are the models for ...

Population averaged models are the models for kind of clustered data in which the marginal expectation of response variable is the main focus of interest. An alternative approach

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