Question
βBβ is 14 years older than βAβ, and βAβ is
24 years younger than βCβ. Twelve years from now, the age of βCβ will be 25% more than the age of βAβ. If the average of the present ages of βAβ and βDβ is 85 years, find the ratio of the ages of βBβ to βDβ, 6 years ago.Solution
ATQ,
Let present age of βCβ be βxβ years. Present age of βAβ = x β 24 Present age of βBβ = (x β 24) + 14 = x β 10 Twelve years hence: 1.25 Γ [(x β 24) + 12] = x + 12 β 1.25 Γ (x β 12) = x + 12 β 1.25x β 15 = x + 12 β 0.25x = 27 β x = 108 Present age of βBβ = 108 β 10 = 98 years Present age of βAβ = 108 β 24 = 84 years Average(A, D) = 85 β (A + D)/2 = 85 β D = 170 β 84 = 86 years Required ratio (6 years ago) = (98 β 6) : (86 β 6) = 92 : 80 = 23 : 20
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: