Elitmus
Exam
Numerical Ability
Number System
Two alternative packages A and B are available for processing a database having 10k records.Package A requires 0.0001n2 time units and package B requires 10nlog10n time units to process n records.What is the smallest value of k for which package B will be preferred over A?
A. 12
B. 10
C. 6
D. 5
Read Solution (Total 5)
-
- option c 6 will be ans
package A requires time= 0.0001n^2
put n=10^k
=0.0001*(10^k)^2
=10^-4 *10^2k
=10^2k-4
now Times for Package B=10nlog10n
put n=10^k
=10*10^k*(log10*10^k)
=10^k+1*(log10^k+1)
=10^k+1*(k+1log10)
=10^k+1*k+1
so for package A time will be =10^2k-4
B =k+1(10^k+1)
put k=6
A=10^8
B=7*10^7
that means B prefer than A Because it contains less amout of time. - 10 years agoHelpfull: Yes(21) No(1)
- mr. ravi if i put 12,10 then also, we get A>B so now which is correct
- 10 years agoHelpfull: Yes(1) No(0)
- @piyush.... question here is to find the SMALLEST value of k so the answer will be 6 whether 10 & 12 are both satisfying the equations.
- 9 years agoHelpfull: Yes(1) No(0)
- for n=10
time for A=0.01
time for B=100 - 9 years agoHelpfull: Yes(0) No(1)
- why cant u put 5 as the right answer???????
- 9 years agoHelpfull: Yes(0) No(0)
Elitmus Other Question
A user type a content on 20 sheets, each sheet consist of 55 lines, and each line can have 65 characters. The content is again retyped on another set of sheets, these new sheets have 65 lines and each line can take 70 characters.
calculate the reduction in sheets.
a) 10
b) 15
c) 20
d) 25
G1,G2,G3,G4 are in G.P, where G=G1 and R is the common ration and log4(G1)+log4 G2 +log4 G3 +.... = 2500, then find the possible pair of (G,R).
A.
(G,R)=[ 21250/R(3/2) , R]
B.
(G,R)=[ 21250/R(1/2) , R]
C.
(G,R)=[ 21250/R(3/4) , R]
D.
(G,R)=[ 21250/R(3/7) , R]