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

Buffon''s needle problem, Buffon's needle problem : A problem proposed and ...

Buffon's needle problem : A problem proposed and solved by the scientist Comte de Buffon in 1777 which includes determining the probability, p, which a needle of length l will inte

Barnard, Barnard, George Alfred (1915^2002) : Born in Walthamstow in the ea...

Barnard, George Alfred (1915^2002) : Born in Walthamstow in the east of London, Barnard achieved a scholarship to St. John's College, Cambridge, from where he graduated in the math

Principal components regression analysis, Principal components regression a...

Principal components regression analysis is a process often taken in use to overcome the problem of multicollinearity in the regression, when simply deleting a number of the expla

Explain human height growth curves, Human height growth curves : The growth...

Human height growth curves : The growth of human height is, in common, remarkably regular, apart from the pubertal growth spurt. The satisfactory longitudinal development curve is

Auto correlation, Auto correlation : The correlation of the internal observ...

Auto correlation : The correlation of the internal observations in the time series, generally expressed as a function of the time lag between the observations. It is also used for

Advanced managerial statistics, The objective of this assignment is to test...

The objective of this assignment is to test your understanding in the learning outcome (LO2) and learning outcome (LO3) and learning outcome (LO4). 1) This is a grouped assignme

Explain regression through the origin, Regression through the origin : In s...

Regression through the origin : In some of the situations a relationship between the two variables estimated by the regression analysis is expected to pass by the origin because th

Statistcal computing flow charts for sums, 1. define statistical algorithms...

1. define statistical algorithms 2. write the flow charts for statistical algorithms for sums, squares and products. 3. write flow charts for statistical algorithms to generates ra

Evaluate the statistical arguments, Evaluate the following statistical argu...

Evaluate the following statistical arguments. Begin by identifying the sample, population, and the property which is being investigated. Do these arguments sound acceptable? Would

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