Question
A dishonest shopkeeper marks up the price of his produce by
40% on the cost price and sells it providing a discount of 25%. If he uses 800 gram as weight in place of 1 kg, what is his overall percentage profit?Solution
Let a customer believes to have bought 1 kg of produce. So, he pays for 1 kg but is actually provided with only 800 gm.
Let the C.P of the produce be Rs 1 per gm
M.P of the produce = Rs 1.4 per gm
S.P of the produce = 1.4*(75/100) = Rs 1.05 per gm
So, S.P of the produce sold to customer = 1.05*1000 = Rs 1050
C.P of produce sold to customer = 1*800 = Rs 800
Percentage profit = ((1050 - 800)/800)*100% = 31.25%
Shadow paging in recovery eliminates the need for:
Which normal form eliminates transitive dependencies?
A "diamond" shape in an E-R Diagram typically represents a:
What will re.findall(r'\d+', 'abc123def45ghi') return?Â
What is the output of the following pseudo-code?Â
 ```
  count = 0
  for i from 1 to 3:
    for j from 1 t...
In the context of database transactions, which isolation level allows "non-repeatable reads" but prevents "dirty reads"?
Which of the following schedules is serializable?
In PL/SQL, a `CURSOR` is used to:
Which stage involves evaluating the project's practicality, cost, and resources before proceeding further?
Â
A programmer is trying to debug an issue where an `ArrayList` (or equivalent dynamic array) in their Java/Python code unexpectedly throws an `IndexOut...