Question
A and B start a business together. A invests ₹20,000
for 6 months, and B invests ₹30,000 for 8 months. If the total profit is ₹6000, how much does A get?Solution
ATQ, A's investment for 6 months is equivalent to ₹20,000 × 6 = ₹120,000 B's investment for 8 months is equivalent to ₹30,000 × 8 = ₹240,000 The ratio of their investments is 120,000 : 240,000 = 1 : 2. A's share of profit = (1 / 3) × 6000 = ₹2000
Which of these ensures referential integrity?
In the context of computer networks, what is the primary function of a router?
You have a Python list of fruits and want to extract a specific sub-list using slicing.
Complete the missing part of the code to obtain the sub...
Which concurrency anomaly is specific to phantom reads?
Which key uniquely identifies a record in a table?
If every non-key attribute is functionally dependent on the primary key, the relation will be in
Indexes improve query performance but can degrade performance of:
Consider the following Python-like pseudo-code for a modified Merge Sort algorithm that sorts an array `arr` and also counts the number of "reverse pair...
A view in SQL is:
Which SQL isolation level allows phantom reads but prevents dirty reads and non-repeatable reads?