Question
The ratio of the present age of A to that of B is 7:9.
Six years ago the ratio of 1/3 of A’s age at that time and 1/3 of B’s age at that time was 1:3. What will be the ratio of A’s age to B’s age 5 years from now?Solution
Let the present age of A and B be 7x and 9x respectively. Now, (1/3(7x-6))/(1/3(9x-6))= 1/3 So ((7x-6))/((9x-6)) = 1/3 ⇒ 21x – 18 = 9x – 6 ⇒ 12x = 12  ∴ x = 1 ∴ 5 years from now, A’s age = 7x + 5 = 7 + 5 = 12 years B’s age = 9x + 5 = 14 years ∴ Required ratio = 12/14 = 6:7
What type of programming language is Python?
 Which number system is commonly used in mathematics and everyday life?
Which of the following is an example of a message-passing IPC mechanism?
What will be the output of the code
int main(){
int x= 10;
int y=10;
int s=-(-x-y)
cout<
return 0;
}
Which part of RDBMS handles concurrency control to ensure multiple transactions operate concurrently without conflicts?
What does the "Model" represent in the MVC architecture?
The maximum number of binary trees that can be formed with three unlabeled nodes is:
What is false about linked list?
Write through technique is used in which memory for data updating
Which network layer protocol is responsible for multicasting, where a packet is sent to multiple destinations simultaneously?