Copying Files In Different Ways. Which Will Take Less Time ?

Algebra Level 1

I have a folder in my PC named 'Documents' that I want to copy to my pen-drive. The folder contains 10 files, each of size 6mb. When I copy something from my pc into a pen-drive, it starts copying at the speed of 1mbps and increases at the rate of 0.1mbps per second. I can copy them in 2 ways:
1) By copying all files one by one
2) By copying the entire folder
Which one of the two will take less time ?

Image credit: Wikipedia

After solving this problem, solve the next problem of this series Copying Files In Different Ways. Which Will Take Less Time ? 2

By copying all files one by one. Both will take the same time. More information needed. By copying entire folder.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

14 solutions

Uahbid Dey
Mar 31, 2014

If we copy entire folder it will take 26.055 sec 60 = 1 × t 1 + 1 2 × 0.1 × t 1 2 = > t 1 = 26.055 s e c 60=1\times t_{1}+\frac{1}{2}\times 0.1\times t_{1}^{2}\; =>t_{1}=26.055\: sec If we copy separately it will take 48.3 sec 6 = 1 × ( t 2 10 ) + 1 2 × 0.1 × ( t 2 10 ) 2 = > t 2 = 48.3 s e c 6=1\times \left ( \frac{t_{2}}{10} \right )+\frac{1}{2}\times 0.1\times \left ( \frac{t_{2}}{10} \right )^{2}\; =>t_{2}=48.3\: sec so, we should copy entire folder

Use LOGIC. If you copy a folder, the copying speed would keep on increasing until the last file. If you do it separately, it will fluctuate, thus making it slower.

Gurvir Singh - 7 years, 2 months ago

Log in to reply

Thats what i did :)

Sofie Dennel - 7 years, 2 months ago

easier way of looking at it! thumbs up!

Prashant Shetty - 7 years, 2 months ago

Log in to reply

I agree.

Rojer Baroi - 7 years, 2 months ago

Yeah..i agree with you

Valerian Pratama - 7 years, 2 months ago

i did exactly the same :)

Kavya Rawat - 7 years, 2 months ago

Exactly what I did :)

ant6880 C - 7 years, 2 months ago

I did so :-)

Md. Mustafizur Rahman - 7 years, 2 months ago

Cheers that's what I did

Ashtik Mahapatra - 7 years, 2 months ago

Right

Azeem Qureshi - 7 years, 2 months ago

ya, you are right a simple logic!

Ashley Shamidha - 7 years, 1 month ago

I did that too. :)

Jason Yao - 7 years ago

agree

Shekinah Sarita - 7 years, 2 months ago

agree

Brandon johnson - 7 years, 2 months ago

Also it would take more time to manually copy and paste each folder :P (just a more practical solution)

Deepak Kamat - 7 years, 1 month ago

@@

Trường Đỗ - 7 years, 2 months ago

Log in to reply

@@

Quang Khải Nguyễn Trần - 7 years, 2 months ago

Ok i get it

Baldwin Caparros Jr - 7 years, 2 months ago

yes

Belen Borral - 7 years, 2 months ago

yes.. we should copy entire folder, so that we can take less time.

Lito Yang Sqrd - 7 years, 2 months ago

awesome

নিঃসঙ্গ পথিক - 7 years, 2 months ago

I agree

Aditya Singh - 7 years, 2 months ago

coping entire folder takes less time

Aditya Raj - 7 years, 2 months ago
Sarath Ceh
Mar 31, 2014

when the file size increases the writing speed have much time to increase its speed. So copy all files together wil make it faster..

Agreed

Sayan Kundu - 7 years, 2 months ago

yes agreed if we copy entire folder it will take less time

kamil shah - 7 years, 2 months ago

right

Mohammad Jawad - 7 years, 2 months ago

copy all the files toghther

arif khan - 7 years, 2 months ago

We should copy the whole folder only if the speed increases

Ifeanyichukwu Otiwa - 7 years, 2 months ago

Log in to reply

Even if the speed doesn't increase then also copying the whole file will be faster, coz when you copy separately time goes by selecting the file and then pressing CRTL + C to copy and then to paste in the folder

Ashtik Mahapatra - 7 years, 2 months ago

Completely agree with you.Had the same idea.!!!!!

Adarsh Kumar - 7 years, 2 months ago

copy all files together

Zenish Hashmi - 7 years, 2 months ago
João Arruda
Apr 1, 2014

By copying the entire folder we would have:

60 = 0 + 1 t + 1 2 × t 2 10 60 = 0 + 1t + \frac{1}{2} \times \frac{t^{2}}{10}

t 2 + 20 t 1200 = 0 t^{2} + 20t - 1200 = 0

t = 20 ± 400 + 4800 2 t = \frac{-20 \pm \sqrt{400 + 4800}}{2}

t 20 + 72 2 t \cong \frac{-20 + 72}{2}

t 26 t \cong 26

And then by copying file by file:

6 = 0 + 1 t + 1 2 × t 2 10 6 = 0 + 1t + \frac{1}{2} \times \frac{t^{2}}{10}

t 2 + 20 t 120 = 0 t^{2} + 20t - 120 = 0

t = 20 ± 400 + 480 2 t = \frac{-20 \pm \sqrt{400 + 480}}{2}

t 20 + 29 2 t \cong \frac{-20 + 29}{2}

t 4.5 ( × 10 ) = 45 t \cong 4.5 (\times 10) = 45

So, copying the entire folder once is faster

Very neat solution !

Anas Mourad - 7 years, 2 months ago
Kunal Kumar
Apr 2, 2014

ANALOGY: you have a distance of 60 m to cover. After every 6m , there is a mark .your initial velocity is 1m/sec and your acceleration is 0.1 m/s^2. There are two ways- PROCESS 1) You start with 1m/sec and keep on accelerating with 0.1m/s^2 till 6 m, where you stop( completion of copying of 1 file). Then , again you start from 1m/sec and accelerate with 0.1m/s^2 till you reach the second mark. And so on until you cover the entire journey. PROCESS 2) You start with 1m/s and accelerate with 0.1m/s^2 till you reach 60m , without stopping anywhere(copying the entire folder). Now which process leads you to the destination quickly? Obviously the second one. So copying the entire folder wiuld be quicker in this case.

solved it by the same analogy..

Shree Ganesha Sharma - 7 years, 2 months ago
Valerian Pratama
Apr 2, 2014

i solve this with pure logic,no calculation needed

Fatima Fouad
Apr 30, 2014

This can be done using kinematics. Lets see the the first option: distance covered should be 6, the initial speed is 1, the acceleration is 0.1 and the total number of files is 10. Using formula D=ut+0.5at^2, where D is distance, initial velocity is u, a is acceleration and t is time. Put in the values and you get a quadratic equation, which when solved gives you the answer of 48.3. Now consider the second option: where distance is 60, while all the other values are same, once again apply the above stated formula and get the value of 26.1. Hence, it can be deduced that copying the entire folder is the faster method.

Timothy Wong
Apr 23, 2014

Copying the entire folder needs us to only click the PC once.

Copying it separately needs us to click x number of times.

Since both procedure involves the same amount of memory, COPYING THE ENTIRE FOLDER ONCE would be faster.

Mahabubur Rahman
Apr 18, 2014

when it take time by passing every folder then it is easy to pass hole document as a folder .

If you copy a folder, the copying speed increasing until the last file. If you do it separately, it will copy part by part, so take more time

Valteson Santos
Apr 2, 2014

Copying the entire folder we will have more time to have the increases of the speed. And so, at the end we will have an big speed for a long time. In the other case, we would have a low speed for al the tme. look for this problem... https://brilliant.org/community-problem/downloading/?group=BTXG9a06ab0O

Akshay Kumar
Apr 2, 2014

here we ca take the distance as 60 and time as t intial folder copying as one and acc as 0.1 we can apply s=ut+0.5at^2 as per cpy one folder the time t becomes t2/10 sp cpy whole folder is good

Dhan Raj
Apr 1, 2014

if we copy entire folder then average copying speed will be more than that of copying separately. Because when we start copying one by one maximum copying speed will be less because of small time of copying one file and for another file copying speed will again start from 1MB/sec. so average speed will be less. But when we decide to copy entire folder copying time will be more than copying single file so maximum copying speed will be more because acceleration in both case is same, this yields more average copying speed that of previous case. Since average copying speed in 2nd case is more so time consumption will be less.

Prem Smarty
Apr 1, 2014

copy together will take less time

Amogh Jain
Apr 1, 2014

When whole folder is copied more time is given for the speed to increase.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...