Question
A shopkeeper purchases a batch of 120 pens for ₹240.
He sells 60 pens at ₹5 each and the remaining pens at a 20% discount on the marked price of ₹6. What is the total profit or loss the shopkeeper makes after selling all the pens?Solution
Cost price of 120 pens = ₹240. Cost price per pen = ₹240 / 120 = ₹2. Selling price of 60 pens at ₹5 each = 60 * 5 = ₹300. Remaining pens = 120 - 60 = 60. Selling price of remaining pens (marked price = ₹6, discount = 20%) = ₹6 * 0.8 = ₹4.8 each. Total selling price of remaining pens = 60 * 4.8 = ₹288. Total selling price = 300 + 288 = ₹588. Total cost price = ₹240. Profit = 588 - 240 = ₹348. Correct answer: A) ₹348 Profit
Which heuristic search strategy uses both cost so far and estimated cost to goal?
The transfer function of the system below is ___________
You are designing a system where multiple threads need to access and modify a shared counter variable. What is a critical concern you must address to en...
What is Computer Output Microfilm (COM) primarily used for in data management and archival systems?
Which of the following is a common challenge in transitioning from a monolithic to a microservices architecture?
Predict the output
list1 = ['physics', 'chemistry', 1997, 2000]
list2 = [1, 2, 3, 4, 5, 6, 7 ]
print "list1[0]: ", list1[0] ...
To exit from a loop in shell we can use?
In object-oriented programming, when defining an interface method, which of the following statements is true regarding method parameters?
Attributes of a file can be :
When performing matrix multiplication (C = A \times B) in a code flow, if matrix A is m \times n and matrix B is n \times p, what is the time complexity...