Question: (40%) For this problem, you will conduct experiments to explore the process of copying data from one file (File A) to another file (File B).

 (40%) For this problem, you will conduct experiments to explore the

(40%) For this problem, you will conduct experiments to explore the process of copying data from one file (File A) to another file (File B). You must provide your source code and a written report for this problem. Your source code must compile and execute without error on the CSE machines. You do not need to include the contents of File A or File B. 1. Write a small C program that copies data from a File A to a File B one byte at a time. You will examine the performance of this program in copying data from File A to File B. Create a graph to visualize performance of your program for copying files of different sizes. You must repeat this experiment using the following file sizes for File A: 1.1MB 2.2MB 3.4MB 4.8MB 5. 16MB 6.32MB 7.64MB 8. 128MB 2. Repeat this experiment three times. Rather than copying a single byte at a time, copy the file in 4, 64, and 1024 byte chunks. Generate a performance graph to visualize your results. Write a brief (1-2 page) report including 1. Your performance graphs. 2. Your interpretation of the experimental results, 3. Your observations, and 4. Your hypothesis regarding the cause(s) of what you observed. (40%) For this problem, you will conduct experiments to explore the process of copying data from one file (File A) to another file (File B). You must provide your source code and a written report for this problem. Your source code must compile and execute without error on the CSE machines. You do not need to include the contents of File A or File B. 1. Write a small C program that copies data from a File A to a File B one byte at a time. You will examine the performance of this program in copying data from File A to File B. Create a graph to visualize performance of your program for copying files of different sizes. You must repeat this experiment using the following file sizes for File A: 1.1MB 2.2MB 3.4MB 4.8MB 5. 16MB 6.32MB 7.64MB 8. 128MB 2. Repeat this experiment three times. Rather than copying a single byte at a time, copy the file in 4, 64, and 1024 byte chunks. Generate a performance graph to visualize your results. Write a brief (1-2 page) report including 1. Your performance graphs. 2. Your interpretation of the experimental results, 3. Your observations, and 4. Your hypothesis regarding the cause(s) of what you observed

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!