Question
Ratio of number of books to number of pens sold by a
shopkeeper is 25:18, respectively while ratio of number of pens to number of pencils sold by the same shopkeeper is 6:13, respectively. If price of each book, each pen and each pencil is Rs. 40, Rs. 20, and Rs. 10 respectively then revenue generated by shopkeeper is Rs. 21000. Find the number of pens sold by shopkeeper.Solution
Let, number of book and number of pens sold by shopkeeper be 25x and 18x respectively. Number of pencils sold by shopkeeper = 13/6 Γ 18x = 39x So, 25x Γ 40 + 18x Γ 20 + 39x Γ 10 = 21000 β 1000x + 360x + 390x = 21000 β 1750x = 21000 x = 12 Number of pens sold by shopkeeper = 18x = 216
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?