Question
The combined current ages of Rajesh and Ramesh total 77
years. One year ago, the ratio of their ages was 7:8, with Rajesh being 7 parts and Ramesh being 8 parts of their respective ages. What is the present age of Ramesh?Solution
Let the present age of Rajesh = 'y' years Then, present age of Ramesh = (77 - y) years According to the question, (y - 1):(77 - y - 1) = 7:8 Or, 8y - 8 = 532 - 7y Or, 15y = 540 So, y = 540 ÷ 15 = 36 So, present age of Ramesh = 77 - 36 = 41 years
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: