Question
A vessel holds 150 liters of a milk and water mixture,
where the quantity of milk is 33.33% less than the quantity of water. From this mixture, 30 liters are removed, and 12 liters of water are then added to the vessel. What is the ratio of water to milk in the vessel after these changes?Solution
Let the quantity of water in the vessel be '3y' litres. Quantity of milk in the vessel = (2/3) X 3y = '2y' litres ATQ, 3y + 2y = 150 Or, 5y = 150 So, 'y' = 30 Final quantity of milk = 2y - 30 X (2/5) = 60 - 12 = 48 litres Final quantity of water = 3y - 30 X (3/5) + 12 =90 - 18 + 12 = 84 litres Therefore, required ratio = 84:48 = 7:4
What will be the output of the code
int main(){
int x= 10;
int y=10;
int s=-(-x-y)
cout<
return 0;
}
What does a diamond shape represent in an ER diagram?
What is the primary strategy of a divide-and-conquer algorithm?
Which data structure is ideal for implementing a LRU (Least Recently Used) cache?
The communication structure that we need in socket programming is called as _________.
In Node.js, which module is used for file system operations?
The time taken by a single bit to travel around the ring is known as ___?
Which phase of the software development lifecycle is primarily considered in COCOMO?
Which COCOMO model is used for early-stage estimates with limited project information?
Which data analytics technique is suitable for handling missing data points in a dataset?