Question
There are three people A, B and C who are competing in a
100-meter race. If A is 50% more likely to win as B and B is twice as likely to win as C then what is the probability that C will lose the race?Solution
Let the probability that C wins = n
Hence probability that B wins = 2n
Also probability that A wins = 3n
Hence, n + 2n + 3n = 1
=> n = 1/6
Hence the probability that C will lose the race = 1 – (1/6) = 5/6
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?