Design and implement an experiment to test the performance of read and write functions. Write a function called "copyfile" that will copy one file to another using read/write functions. Your function should take three parameters: source file, destination file and the number of bytes to copy at time. The function should return the time taken to copy the file. Run this experiment using different number of bytes to copy(1, 3, 5, 7, ....) and record the time for each experiment. Plot the graph (time, number of byte).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here