Question
A mixture (cola + water) contains cola and water in the
ratio of 3:2. If 40 liters of the mixture is replaced with 10 liters of water, then the quantity of cola in the final mixture becomes 18 liters more than that of water. Find the initial quantity of the mixture.Solution
ATQ, Let the quantity of cola and water in the initial mixture be '3u' liters and '2u' liters, respectively. Quantity of cola in 40 liters of the mixture = 40 x (3/5) = 24 liters. Quantity of water in 40 liters of the mixture = 40 - 24 = 16 liters. According to the question, (3u - 24) = (2u - 16 + 10) + 18 Or, 3u - 2u = 24 - 16 + 10 + 18 Or, u = 36 Initial quantity of the mixture = 5u = 5 x 36 = 180 liters.
Which of the following data structures is best suited for implementing a priority queue?Β Β Β
Which of the following operations is most efficient in a singly linked list compared to an array?
Which protocol is most commonly used in IoT devices for lightweight, efficient communication in constrained networks?
For a given array, there can be multiple ways to reach the end of the array using minimum number of jumps.
In terms of processor performance, which factor has the greatest impact on reducing instruction execution time for computationally heavy applications?Β ...
Which of the following sorting algorithms is NOT stable?Β
Appending value to list in python
What does 'IMPS' stand for?
Which of the following virtualization types allows multiple operating systems to run concurrently on a single physical machine, but does not require a h...
Purpose of Scope resolution operator