Question
Find the wrong number in the given number series.
1000, 500, 250, 120, 62.5Solution
Pattern: divide by 2 each time
1000 / 2 = 500
500 / 2 = 250
250 / 2 = 125 (but given 120 ❌)
125 / 2 = 62.5
Wrong Number = 120
Correct Number = 125
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?