Question
Worker 'A' can complete the entire task alone in 12.5
days, while worker 'B' can finish it in 25 days. If they take turns working on the task each day, with 'B' starting on the first day, how many days will it take for them to complete the work together?Solution
Let the total work be 25 units (LCM of 12.5 and 25)
Efficiency of 'A' = (25/12.5) = 2 units/day
Efficiency of 'B' = (25/25) = 1 unit/day
Work done by them in first 2 days = 1 + 2 = 3 units
Work done by them in first 16 days = 3 X 8 = 24 units
Remaining work = 25 - 24 = 1 unit
Time taken by 'B' to complete remaining work = (1/1) = 1 day
Therefore, required time = 16 + 1 = 17 days
Which of the following integrity constraints ensures that every non-null foreign key value must reference an existing primary key value in another tabl...
Hashing is used for:
The amortized cost of appending an element at the end of a dynamic array is:
Consider the following stack operations. What will be the content of the stack after executing all the operations?
Stackstack = new Stack... Which of the following is NOT among the OWASP Top 10 Web Security Risks?
In Python, what will be the output of the following code snippet, considering scope rules?
x = 5
In asymmetric encryption, which of the following statements is correct?
Which algorithm constructs a suffix tree in linear time?
What is the primary purpose of a B+ Tree in a database management system?
Which sorting algorithm has O(n log n) average case?