Question: 6. (12pts) In your homework2 directory create the program described below using python, java, shell or any other programming language you prefer. a. (4pts) Percent
6. (12pts) In your homework2 directory create the program described below using python, java, shell or any other programming language you prefer. a. (4pts) Percent overhead is that portion of a file that contains control information used by an application. It is often looked at from a cost perspective (though not as much today with cheap storage prices). It is calculated by: Number of bytes used for control information / total file size * 100 Complete the following table by calculating the value of Bytes, KiloBytes, and MegaBytes. Use 103 and 106 for the conversions. Show a least 3 decimal points for all calculations. b. (4pts) Write a program that displays the table you have completed. I will grade this problem by running your program in your account and examine the source code implemented. Make sure I have ri access to the directory with your program and to all parent directories up to and including your home directory. If you use a shell script. be sure to make it executable. Do NOT write it as an HTML file. C. (2pts) If you use control statements and variables in your program. d. (2pts) In the WORD homework document you submit to Canvas, provide me with - the absolute path to the program, - the command used to run it and. - upload the source code to Canvas when you submit this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
