Question
Milk and water are in the ratio 3:4. After adding 9 litres
of milk and 8 litres of water, the ratio becomes 5:6. Find the initial quantity of the mixture.Solution
Let the initial quantity of milk and water be '3y' and '4y' litres respectively.
So, (3y + 9):(4y + 8) = 5:6
Or, 6 ร (3y + 9) = 5 ร (4y + 8)
Or, 18y + 54 = 20y + 40
Or, 2y = 14
Or, y = 7
Therefore, required quantity = 3y + 4y = 7y = 7 ร 7 = 49 litres
In a relational database, which relationship allows multiple records in one table to be associated with multiple records in another table?
A `FOREIGN KEY` constraint is used to:
Which SQL constraint ensures that a column cannot have NULL values?
Which of the following is a non-relational database?
Which of the following commands are used to put a restriction on the number of rows returned from a query?
You have a Python list of fruits and want to extract a specific sub-list using slicing.
ย Complete the missing part of the code to obtain the sub...
Which SQL command is used to retrieve data from a database?
A column or set of columns that uniquely identifies each row in a table is called a:
What does re.sub(r'(\w+)', r'_\1_', 'hello world') return?
In a relational schema, which normal form eliminates transitive dependencies (i.e., non-prime attribute depends on another non-prime attribute)?