TCS
Company
The size of a program is N. And the memory occupied by the program is given by M = square root of 100N. If the size of the program is increased by 1% then how much memory now occupied?
Read Solution (Total 3)
-
- new pgm size=N+N/100
new memory=square root of 100(N+N/100)=square root of 101N - 13 years agoHelpfull: Yes(19) No(5)
- Before Increase: M = SQRT(100 x 1N)
After Increase: M = SQRT(100 x 1.01N) => SQRT(101N) - 13 years agoHelpfull: Yes(8) No(2)
- M' = √(100*(N*(1+.01))) = √(101N) (memory occupied by the larger program)
≈ 1.005M - 13 years agoHelpfull: Yes(2) No(4)
TCS Other Question