Question
A product is bought for Rs. 1,800. The shopkeeper tags
it at 25% above the cost price and offers a discount of Rs. 200 at the time of sale. What is the percentage of profit made? (Round off to the nearest whole number)Solution
ATQ,
Marked price of product = 1.25 × 1,800 = Rs. 2,250
Selling price of product = 2,250 − 200 = Rs. 2,050
Required profit percentage = [(2,050 − 1,800) ÷ 1,800] × 100= (250 ÷ 1,800) × 100 = (250/18) ≈ 14%
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?