Question
A dealer purchased 16 gadgets at Rs. 30 each. He sold 6
at 20% profit, 4 at 15% loss, and the rest at 10% profit. Compute the overall profit or loss.Solution
ATQ, Total cost price of all gadgets = 16 × 30 = Rs. 480. Total selling price of all gadgets = {6 × (30 × 1.2) + 4 × (30 × 0.85) + 6 × (30 × 1.1)} = 216 + 102 + 198 = Rs. 516 Overall profit = 516 - 480 = Rs. 36
1.   Predict the output of the code
public class Animal {
  public static void main(String args[])
           ...
- What is the purpose of Inheritance in Object-Oriented Programming?                            ...
What will be the output of the following code snippet implementing the Least Recently Used (LRU) page replacement algorithm?
def lru(pages, capac...
How can we delete all records in SQL?
Integrated Circuits (ICs) were the hallmark of which computer generation, leading to smaller, faster, and more reliable machines?
Which of the following is NOT considered a core characteristic of cloud computing?Â
Which of the following algorithm design techniques is characterized by breaking a problem into smaller sub-problems and solving each recursively?   �...
Which of the following statements about Classless Inter-Domain Routing (CIDR) is NOT true?Â
- Which of the following best defines the concept of Encapsulation in Object-Oriented Programming (OOP)?
Which of the following HTTP methods is idempotent and used to completely replace a resource on the server?Â