Question
Four years from now, the age of 'A' will be 60% of the
age of 'B' at that time. The combined present ages of 'A' and 'B' exceed the current age of 'C' by 27 years. The present age of 'C' is 25 years. Determine the age of 'D' three years from now, given that 'D's current age is 45% more than 'A's present age.Solution
Let the present ages of 'A' be 'm' years. Combined present ages of 'A' and 'B' = 25 + 27 = 52 years Present age of 'B' = (52 - m) years ATQ, (m + 4) = 0.6 X (52 - m + 8) Or, m + 4 = 36 - 0.6m Or, m + 0.6m = 36 - 4 So, 'm' = (32/1.6) = 20 Therefore, required age of 'D' = 1.45m + 3 = 1.45 X 20 + 3 = 32 years
In CI/CD pipelines, which of the following is NOT a key benefit of Continuous Integration (CI)?
Which of the following phases in the Software Development Life Cycle (SDLC) ensures that the final product meets the agreed-upon requirements and specif...
Which data structure is used in recursion?
In a compiler's code flow, which operation is primarily used to manage function call contexts (local variables, return addresses) during program execution?
What is the output of the following recursive function call func(3) ?
int func ( int n) {Â Â Â Â Â Â Â
   if (n == 0 ) return 1 ; <...
In C++, which access specifier makes members accessible only from within the class itself and from friend functions/classes?
Which of the following correctly describes the primary difference between Cross-Site Request Forgery (CSRF) and Cross-Site Scripting (XSS)?
...Which search algorithm is complete but not always optimal?
What is the best-case time complexity of the binary search algorithm ?
Which tree traversal gives nodes in non-decreasing order for a BST?