Question
A container has 120 liters of milk and 'x' liters of
water. If 25% of the mixture is removed and then 10 liters of water are added such that the quantities of milk and water become equal in the final mixture, what is the value of 'x'? (Calculate approximate value)Solution
ATQ, Original amounts: Milk = 120 liters Water = x liters 25% removed: Milk removed = 0.25 Γ 120 = 30 liters Water removed = 0.25 Γ x = 0.25x liters Remaining: Milk remaining = 120 - 30 = 90 liters Water remaining = x - 0.25x = 0.75x liters Adding water: Final water = 0.75x + 10 liters Equal amounts: 90 = 0.75x + 10 Solving for 'x': 0.75x = 90 - 10 0.75x = 80 x = 80 / 0.75 β 106.67 liters or 107 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