Question
4 years ago ratio of the ages of the two persons A and B
was 5:2. 2 years hence the ratio of their ages will be 8:5. Find the present age of B.Solution
4 years ago, Let A’s age be 5x and B’s age be 2x. According to the question, 2 years hence, => (5x + 6)/(2x + 6) = 8/5 => 25x + 30 = 16x + 48 => x = 2 Present age of B = 2x + 4 = 2 × 2 + 4 = 8 years
What is false about linked list?
Which layer of the TCP/IP model is responsible for IP addressing and routing?
Which hazard occurs when there is a conflict in accessing a shared resource, such as a register file or an ALU, in an instruction pipeline?
Which consensus mechanism is used by Bitcoin, the first blockchain-based cryptocurrency?
In dynamic programming, what does "optimal substructure" mean?
What is a "token" in lexical analysis?
Which sorting algorithm is known for its best-case time complexity of O(n) when the input is already partially sorted?
Which data visualization technique is commonly used to represent the frequency distribution of a large dataset?
An XML document is a string of ____.
Which of the following algorithm is most sensitive to outliers?