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

General household survey, It is the survey which is carried out in Great Br...

It is the survey which is carried out in Great Britain on a continuous basis since 1971. About 100 000 households are included in this sample every year. The main goal of the surve

Statistically modeling, A comprehensive regression analysis of the case stu...

A comprehensive regression analysis of the case study London has been carried out to test the 4 assumptions of regression: 1. Variables are normally distributed 2. Linear rel

Describe probability distribution, Probability distribution : For the discr...

Probability distribution : For the discrete random variable, a mathematical formula which provides the probability of each value of variable. See, for instance, binomial distributi

Please answer this question, How large would the sample need to be if we ar...

How large would the sample need to be if we are to pick a 95% confidence level sample: (i) From a population of 70; (ii) From a population of 450; (iii) From a population of 1000;

Goodmanand kruskal measures of association, Goodmanand kruskal measures of ...

Goodmanand kruskal measures of association is the measures of associations which are useful in the situation where two categorical variables cannot be supposed to be derived from

Lipstick Dilemma, For a career woman, wearing lipstick has become an integr...

For a career woman, wearing lipstick has become an integral part of her daily life. It is not unusual for a woman to look for a lipstick that will stay on her lips and not smudge o

Exploratory data analysis, The approach to data analysis which emphasizes t...

The approach to data analysis which emphasizes the use of informal graphical procedures not based on former assumptions about structure of the data or on the formal models for the

Explain longitudinal data, Longitudinal data : The data arising when each o...

Longitudinal data : The data arising when each of the number of subjects or patients give rise to the vector of measurements representing same variable observed at the number of di

Determine allowable setup cost, A metal fabrication process uses a die-cast...

A metal fabrication process uses a die-cast metal fastener at a uniform rate of 300 units per year. Currently, this item is currently purchased from an external supplier at a unit

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