Question
A’s age is the fourth part of his father’s age.
After 8 years, the age of A’s father will be twice the age of B. If B’s 7th birthday is celebrated 3 years ago, then what is the current age of A?Solution
Let A’s age be x years and father’s age be 4x years. Present age of B = 7 + 3 = 10 years After 8 years, => 4x + 8 = 2(10 + 8) => 4x = 36 – 8 => x = 28/4 = 7 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: