Question
Out of 180 litres of paint mixture, the ratio of red to
blue paint is 5:4. What quantity of red paint should be added to make the ratio 7:5?Solution
ATQ,
Red paint = (5/9) × 180 = 100 litres
Blue paint = (4/9) × 180 = 80 litres
Let red paint added = x litres
Then, (100 + x) : 80 = 7 : 5
So, 100 + x = (7/5) × 80 = 112
x = 112 - 100 = 12 litres
Which of the following ACID properties ensures that either all operations within a transaction are completed successfully, or none are?
Which constraint ensures that a column contains only unique values, but allows NULL values?
Query optimization heuristics often include:
Given a `Queue` data structure with `enqueue` and `dequeue` operations. What is the element returned by the last `dequeue` operation in the following se...
During transaction before commit which of the following statements is done automatically in case of shutdown?
Indexes improve query performance but can degrade performance of:
The 'thrashing' in an operating system is related to:
Which property of a transaction ensures that either all operations within the transaction are completed successfully, or none of them are?
In a relational database, what is a candidate key?
In a relational database, which relationship allows multiple records in one table to be associated with multiple records in another table?