Question
A seller purchased 18 mangoes at Rs. 180 per dozen. He
sold half of them at Rs. 240 per dozen, and 6 more mangoes at Rs. 18 each. At what price should he sell the remaining mangoes to achieve a 30% profit on the total transaction?ÂSolution
Total cost price of 18 mangoes = 180 X (18/12) = Rs. 270 So, selling price of all the mangoes should be = 270 X 1.3 = Rs. 351 Selling price of first 9 mangoes sold = 240 X (9/12) = Rs. 180 Selling price of another 6 mangoes sold = 6 X 18 = Rs. 108 Remaining mangoes to be sold = 18 - (9 + 6) = 3 So, selling price of remaining 3 mangoes = 351 - 180 - 108 = Rs. 63 So, selling price of each of the remaining mangoes = 63 ÷ 3 = Rs. 21
A software development team is implementing a sorting function for a large dataset in their project. They decide to use the quick sort algorithm to opti...
The Divide and Conquer paradigm involves three main steps. What are they?
Complete the Python function to return the last n characters of a string s. If n is greater than the string's length, return the entire string.
d...
Which access specifier makes members accessible only within the class itself?
Which of the following is the primary characteristic of serverless computing in cloud platforms?Â
Consider the following Python code for calculating Fibonacci numbers using memoization:
  memo = {}
  def fib_memo(n):
 �...
What is a key characteristic of a "full binary tree"?
Consider the following statement regarding Kelvin Double Bridge.
Statement (1): It is used for measuring resistance in the range of few ohms to s...
If signal-to-interference ratio is 5 dB, signal power is 8 dB, then what is the interference power in dB?
The _____________ deals with the coordination of the data transfer between end systems and hosts.