Question
A shopkeeper bought 30 articles at Rs. 12 each. He sold
10 at 40% profit, 15 at 10% loss, and the rest at 5% loss. Determine the overall profit or loss.Solution
ATQ, Total cost price of all the articles = 30 × 12 = Rs. 360. Total selling price of all the articles = {10 × (12 × 1.4) + 15 × (12 × 0.9) + 5 × (12 × 0.95)} = 168 + 162 + 57 = Rs. 387 Overall profit = 387 - 360 = Rs.27
Which of the following is the primary reason why polymorphism is useful in Object-Oriented Programming (OOP)?
Which data structure uses FIFO (First In, First Out)?
A data analysis algorithm requires processing data in a Last-In, First-Out (LIFO) manner. Which operation is used to retrieve the most recently added el...
Best case complexity of insertion sort is:
An algorithm with a time complexity of O(log n) means that its execution time:
Which of the following is a primary feature of Mobile Computing?
- Artificial Intelligence
Which of the following statements best describes the role of a reinforcement learning agent in a complex environment?
... Which of the following is a key advantage of digital signatures?
Which protocol provides secure authentication by encrypting credentials before transmission and uses a challenge-response mechanism?
Which page replacement algorithm minimizes the number of page faults theoretically but is difficult to implement in practice?