A certain computer has 2,000 megabytes of memory. Memory is considered "free" unless it is being used to run either the programs or the operating system, in which case it is called "in use." Are more than 500 megabytes "free"?
1. The total memory in use is 5 times the memory being used to run the operating system.
2. The amount of memory being used to run the programs is less than the amount of memory that is free.
Sol:
Available, A = 2000 megabyte(MB)
OS = Operating system usage of the memory
P = Program usage of the memory
Total memory usage, T = OS+P
A = OS+P+free=2000
Q: Is T<1500 or is free>500
(1) T = 5(OS)
We know;
T = (OS)+P
5(OS) = (OS)+P
P = 4(OS)
(OS)+P+free = 2000
(OS)+4(OS)+free=2000
5(OS)+free=2000
If operating system is using 100MB;
T=5(OS) = 5*100 = 500MB
free = 2000-500 = 1500 > 500. True
If operating system is using 400MB;
T=5(OS) = 5*100 = 2000
free = 2000-2000 = 0 < 500. False.
Not Sufficient.
(2) P < free
(OS)+P+free=2000
No information about operating system's memory usage, OS, is given
If P = 100 MB and OS= 200 MB; free = 2000-300 = 1700>500MB. true
If P = 100 MB and OS= 1500 MB; free = 2000-1600 = 400MB<500MB. false.
Not sufficient.
Combining both;
Program usage, P = 4(OS)
Also;
5(OS)+free=2000
free=2000-5(OS)
And; 4(OS) < free
4(OS) < 2000 - 5(OS)
9(OS) < 2000
OS < 2000/9= 223
T=5(OS)=223*5=1115. Maximum memory usage.
free = 2000-1115=885 > 500MB
Sufficient.
Ans: "C"
Good question....