Question
In a vessel the ratio of alcohol to water is 6:1. If 21
liter of mixture is taken out from the vessel and 1 liter water is added, then the ratio of alcohol to water in the final mixture becomes 21:4. Then, what will be the initial quantity (in liters) of alcohol in the vessel?Solution
ATQ, we can say that Let the initial alcohol & water in vessel be 6x & x liters respectively. So, {(6x − 21 × 6/7)}/{(x − 21 × 1/7 +1)} = 21/4 (6x−18)/(x−3+1) = 21/4 24x − 72 = 21x − 42 3x = 30 x = 10 liters Initial the quantity of alcohol in vessel = 6x = 60 liters
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?