Question
How much soda should be mixed with 20 kg of sugar cost
Rs.30/kg so that a gain of 20% can be made after selling the mixture at Rs.24/kg?Solution
ATQ, Gain percentage = 20% CP of the mixture = [24 × (100/120)] = Rs.20/kg Applying allegation theorem, So, Ratio of quantity of sugar and soda = 2:1 Hence Quantity of Soda required = [(1/2) × 20] = 10 kg
The class NP-complete includes problems that are:
Which of the following is NOT a method for handling deadlocks?
Which of the following statements is true regarding the class NP?
What is a deadlock in a computer system?
Which famous sorting algorithm uses the divide-and-conquer strategy?
Which data structure in a compiler is used for managing information about variables and their attributes?
Which command will help you to find the time of how long the system is being running?
In which case higher bandwidth can be achieved
What is an algorithm?
In the context of ADTs, what does "encapsulation" refer to?