Question
The ratio of the present ages of P and Q is 6:5
respectively. If the age of P 12 years hence from now will be 100% more than the age of Q 4 years ago from now, then find the age of P 2 years ago from now.Solution
Let the present ages of P and Q be 6x and 5x years respectively. According to the question, => 6x + 12 = 2(5x – 4) => 6x + 12 = 10x - 8 => 4x = 20 => x = 5 Required age = 6x – 2 = 28 years
Which of the following collision resolution techniques involves storing all elements that hash to the same value in a linked list?
Max-Flow Min-Cut theorem states:
Which of the following is an example of an emerging technology that is most likely to impact the future of computing?
Which of the following is a common issue that can arise from poorly designed recursive functions?
What will be the output of the following Java snippet?
class A {
   public void display() {
       System.out.pr...
What is the purpose of the keys() method in a dictionary?
If an algorithm takes $5n²  + 3n + 10$ steps for an input of size n, its Big O notation would be:
In B+ trees, which of the following statements is FALSE?
Which of the following is a good practice when debugging?
A graph where edges have a direction (e.g., from A to B, but not necessarily B to A) is called a: