Question
Five years ago, the ratio of age of ‘A’ to ‘B’ was
4:5. Seven years from now, their age ratio will be 6:7. Find the present age of ‘Z’, who is 3 years older than ‘A’.Solution
ATQ,
Let the age of ‘A’ and ‘B’, five years ago be ‘4a’ and ‘5a’ years, respectively.
So, (4a + 5 + 7):(5a + 5 + 7) = 6:7
Or, 7 × (4a + 12) = 6 × (5a + 12)
Or, 28a + 84 = 30a + 72
Or, 2a = 12
So, ‘a’ = 6
Required age = 4 × 6 + 5 + 3 = 32 years
Any numbered relationship has how many participating entities?
What is the worst-case time complexity of inserting n2 elements into an AVL tree with n elements initially?
Which technique is commonly used for visualizing the flow of data within a system in the form of diagrams?
What will be the output of the following code snippet?
int num = 10;
int *ptr = #
printf("%d", *ptr);
The SI unit for measuring frequency is:
Which cryptographic system uses two different keys for encryption and decryption?
What is the purpose of flow control in data communication?
Which concurrency control technique allows a transaction to read uncommitted data?
The preorder traversal of a binary search tree is 15, 10, 12, 11, 20, 18, 16, 19. Which one of the following is the postorder traversal of the tree?
What is the primary design goal of a combinational circuit?