Question
The current average age of Ayan, Rohit and Mohan is 27
years, whereas the average age of Rohit and Mohan is 30 years. If Ayan is 5 years younger than Mohan, determine the average age of Ayan and Rohit.Solution
ATQ,
Total present age of Ayan, Rohit and Mohan = 27 × 3 = 81 years
Total age of Rohit and Mohan = 30 × 2 = 60 years
So, present age of Ayan = 81 - 60 = 21 years
Since Ayan is 5 years younger than Mohan,
Present age of Mohan = 21 + 5 = 26 years
Then, present age of Rohit = 60 - 26 = 34 years
Required average = (21 + 34) / 2 = 55 / 2 = 27.5 years
Which of the following algorithm uses Darwinian based algorithm to find the best solutions to solve complicated problems with a greater number of variab...
Which of these is a cloud-based IoT platform?
What does ETL stand for in analytics?
Consider the following C++ code:
#include
class Base {
public:
  virtual void show() = 0;
};
cl...
Complete the Python function to find the starting index of the first occurrence of sub in main_string. Return -1 if not found.
def find_substring...
Maximum Power transfer occurs when the_____
When building a Huffman tree, the two nodes with the smallest frequencies are combined. Which line correctly creates a new parent node newNode with left...
In n-gram models, what does 'n' represent?
State True or False
Kernel level thread cannot share the code segment.
Complete the Java method to extract a substring from text starting at startIndex and having length characters.
public class StringUtil {
�...