Question
Two years later, the ratio of Puneet's and Qureshi's
ages will be 2:3. Currently, Puneet's age is 20% less than Rohit's. Five years ago, Rohit's age was 25% less than Qureshi's. Determine how many years older Qureshi is than Puneet.Solution
ATQ, Let the present age of ‘Rahul’ = ‘5r’ years Then, present age of ‘Puneet’ = 5r × 0.80 = ‘4r’ years 2 years hence from now, age of ‘Puneet’ = (4r + 2) years 2 years hence from now, age of ‘Qureshi’ = (4r + 2) × (3/2) = (6r + 3) years 5 years ago from now, age of ‘Qureshi’ = 6r + 3 – 2 – 5 = (6r – 4) years 5 years ago from now, age of ‘Rahul’ = (5y – 5) years According to the question, (5r – 5) = (6r – 4) × 0.75 Or, (5r – 5) = (4.5r – 3) Or, 0.5r – 2 = 0 So, r = 2 ÷ 0.5 = 4 So, difference between the ages of ‘Puneet’ and ‘Qureshi’ = (6r + 3) – (4r + 2) = 2 × 4 + 1 = 9 years
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?