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

Week 5 Assignment 1, Activity Description Create an MS Word document by c...

Activity Description Create an MS Word document by cutting and pasting SPSS output into the document. Complete the following: Use an existing dataset to compute a factorial AN

Bubble plot, Bubble plot : A method or technique for displaying the observa...

Bubble plot : A method or technique for displaying the observations which involve three variable values. Two of the variables are used to make a scatter diagram and values of the t

Median, Median is the value in a set of the ranked observations which divi...

Median is the value in a set of the ranked observations which divides the data into two parts of equal size. When there are an odd number of observations the median is middle v

Data squashing, An approach to decrease the size of very large data sets in...

An approach to decrease the size of very large data sets in which the data are first 'binned' and then statistics such as the mean and variance/covariance are calculated on each bi

Causality, Causality: The relating of the reasons to the effects they prod...

Causality: The relating of the reasons to the effects they produce. Several investigations in medicine seek to establish the causal relations between the events, for instance, whi

MC0074 –Statistical and Numerical methods using C++, Write a c++ program to...

Write a c++ program to find the sum of 0.123 ? 103 and 0.456 ? 102 and write the result in three significant digits

Pascal''s triangle, Pascal's triangle  is an arrangement of numbers describ...

Pascal's triangle  is an arrangement of numbers described by Pascal in his Traité du Triangle Arithmétique published in the year 1665 as 'The number in each cell is equal to in the

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

Data screening, The initial evaluation of the set of observations to see wh...

The initial evaluation of the set of observations to see whether or not they appear to satisfy the hypotheses or assumptions of the methods to be used in their analysis. Techniques

Option-3 scheme, Option-3 scheme is a scheme of measurement used in the si...

Option-3 scheme is a scheme of measurement used in the situations investigating possible changes over the time in longitudinal data. The scheme is planned to prevent measurement o

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