Question
In a mixture of 180 liters comprising orange juice and
sugar syrup in a 5:4 ratio, if 'p' liters are removed and 16 liters of sugar syrup are added to the remaining mixture, the resulting mixture has equal amounts of juice and sugar syrup. Determine the value of (2p + 17).Solution
ATQ, Initial quantity of orange juice = 180 × (5/9) = 100 liters Initial quantity of sugar syrup = 180 × (4/9) = 80 liters According to the question, 100 – p × (5/9) = 80 – p × (4/9) + 16 Or, 100 – (5p/9) = 80 – (4p/9) + 16 Or, (p/9) = 4 Or, p = 36 Or, (2p + 17) = 89
Which of the following protocols is most commonly used in IoT devices to enable communication between smart devices?
Dynamic Programming is preferred over recursion when:
For a comparison-based sorting algorithm, which lower bound applies to the worst-case number of comparisons?
The Master Theorem gives time complexity for recurrences of the form:
Which command is used to undo the changes
Which of the following is NOT a greedy algorithm?
Which of the following is NOT a divide-and-conquer algorithm?
Which is not true about minimum spanning tree?
The time complexity of building a heap from an unsorted array of n elements is:
Which of the following is substring of “IXAMBEE”?