Question
The average age of A and B is 19 years. If A is to be
replaced by C, the average would be 18 years. The average age of C and A is 20 years. Find the age of A.Solution
A + B = 2 × 19 = 38 yr B + C = 2 × 18 = 36 yr C + A = 2 × 20 = 40 yr On adding all three, 2 (A + B + C) = 38 + 36 + 40 = 114 ⇒  A + B + C = 57 ∴  A = (A + B + C) – (B + C) = 57 – 36 = 21 yr
What is the concept of "paging" in memory management?
What does a lexer (lexical analyzer) do in the compilation process?
What is the primary purpose of RAID (Redundant Array of Independent Disks) technology?
What is the main purpose of hashing in blockchain?
Function to copy one memory location to other in C++
What is the purpose of the delete operator in C++?
What is exception handling in programming?
Which key is kept secret and known only to the owner in a public key pair?
Which optimization algorithm is commonly used for updating the weights of neural networks and helps prevent getting stuck in local minima?
What is the purpose of using the Write-Ahead Logging (WAL) technique in database systems?