Question
My grandfather was 7 times older to me 14 years ago. He
would be 3.5 times of my age after 7 years from now. 7 years ago, what was the ratio of my age to that of my grandfather?Solution
Let my age 14 years ago be x years. My grandfather's age at that time = 7x years My present age = (x + 14) years My grandfather's present age = (7x + 14) years According to the question, 3.5(x + 14 + 7) = (7x + 14 + 7) 3.5x + 73.5 = 7x + 21 3.5x = 52.5 x = 15 Now, required ratio = (x + 14 - 7)/(7x + 14 - 7)Â => (15 + 7):(105 + 7) => 11:56Â
HTTPS ensures which of the following?
Wait-Die and Wound-Wait are strategies for:
What will re.findall(r'\d+', 'abc123def45ghi') return?Â
During transaction before commit which of the following statements is done automatically in case of shutdown?
Which type of join returns all rows from the left table and matching rows from the right table?
What is a page fault?
What will be the value of `x` after the following pseudo-code execution?Â
```
  x = 0
  data = [10, 20, 30]
  f...
In a relational database, what is a candidate key?
In the context of computer networks, what is the primary function of a router?
A transaction that reads a value then later sees a different value because another transaction updated and committed in between experiences which anomaly?