Question
A mixture of milk and honey is being sold at the price
of pure milk, yielding a 20% profit. If 5 liters of honey is added to this mixture, the milk-to-honey ratio becomes 5:2. Determine the initial quantity of the mixture before the additional honey was added.Solution
ATQ, Profit earned is 20% which means quantity of honey in the mixture is 20% of quantity of milk.Ratio of milk to honey in the mixture = 100: 20 = 5: 1 Let initial quantity of milk and honey in the mixture is 5m and m respectively. ATQ, 5m/(m+5) = 5/2 10m = 5m + 25 m = 5 Initial quantity of that mixture = 5m + m = 6m = 30Â litres
In Python, which method is used to convert a string to lowercase?
In Java, which method is called when an object is garbage collected?
In C, what will be the output of the following code?
int a = 5;
printf("%d", a++);
Which of the following is correct for a single-line comment in C++?
Which of the following systems is typically designed to support managerial decision-making? Â Â Â Â Â Â
Which of the following algorithms is commonly used in Machine Learning for clustering tasks?   Â
Which of the following is used to handle exceptions in Java?
Which of the following is true about Java interfaces?
Which of the following algorithms is used for finding Minimum Spanning Tree?
Which of the following is used to declare a list in Python?