Question
P and Q can separately finish the work in 15 days and 25
days respectively. They worked together and P left the work, so Q complete the remaining work in 5 days. After how many days P left the work?Solution
P can do a work in 15 days. Q can do a work in 25 days. Let P left after x days. Q worked for (x+5) days. ∴ 1/15 × x + 1/25 (x+5) = 1 x/15 + x/25 + 1/5 = 1 (5x+3x)/75 = 4/5 8x/75 = 4/5 x = 15/2 days Alternate method: Let total work = LCM(15, 25) = 75 So P’s 1 day work = 5 & Q’s 1 day work =3 So Q’s 5 days work in last = 3×5 = 15 So remaining work = 75 – 15 = 60 So this 60 units of work is completed by both in = 60/(5+3) = 60/8 = 15/2 days
Which of the following is NOT one of the four necessary conditions for a deadlock to occur?
Which access specifier allows data to be accessed only within the class?
What is the primary characteristic of the Spiral Model in software development?
Fill in the correct option for 25 blank space.
A software developer is designing a banking application where each bank account object should restrict direct access to its balance variable to prevent ...
Which is best fit for blank space 14?
What is the primary function of cache memory in a computer system?
The output of circuit shown below is
Which of the following statement is TRUE related to Alpha Beta pruning algorithm?
Which type of memory is fastest in terms of data access speed?