Question
In a family, the mother is 3 years older than the father
and four times as old as the son. If the sum of their present ages is 90 years, how many years later will the father be twice as old as the son?Solution
ATQ,
Let the present age of the son and the mother be 'x' years and '4x' years, respectively.
Then, present age of the father = (4x - 3) years
So, x + 4x + (4x - 3) = 90
Or, 9x - 3 = 90
So, x = (90 + 3) ÷ 9 = 10
Present ages of the son and father are 10 years and 37 years, respectively.
For some 'y',
(10 + y) × 2 = (37 + y)
Or, 20 + 2y = 37 + y
So, y = 17
17 years hence from now, the father will be twice as old as the son.
Time complexity of heap sort is:
Which type of database key is a candidate key that has not been chosen as the primary key?
Which data structure uses LIFO (Last In, First Out) principle?
In a data warehousing environment, what is the primary purpose of an OLAP (Online Analytical Processing) cube?
- Which of the following is the primary characteristic of Infrastructure as a Service (IaaS) in cloud computing?
Which of the following accurately describes the role of a "foreign key" in a relational database system?
Deletion in Red-Black Trees maintains balance using:
Which SQL command is used to remove only specific rows from a table while preserving the structure and other rows?
In the dynamic programming approach for LCS, the base cases are crucial for correctly initializing the dp table.
Consider the following Python co...
RISC stands for: