Question
A boat goes 50 km in upstream in 5 hours and takes 3
hours to complete a distance of 18 km in downstream. Find the speed of boat in still water.Solution
Speed of boat in still water = (D + U)/2 Upstream speed (U) = 50/5 = 10 km/hr Downstream speed (D) = 18/3 = 6 km/hr Speed of boat in still water = (10 + 6)/2 = 16/2 = 8 km/hr
How do you correctly create a new Map object in JavaScript?
Which of the following is a key characteristic of a heap's structure?
Which component in Hadoop is responsible for managing cluster resources and scheduling tasks?
Which of the following statements about a B+ Tree is correct?
Consider the following Python code:
class Vehicle:
  def __init__(self, brand):
    self.brand = brand
  def...
What is the relationship between encapsulation and abstraction?
When comparing two algorithms, Algorithm A has O(N log N) complexity and Algorithm B has O(N² ) complexity. For very large input sizes N:
Fill in the correct option for 27 blank space.
Which of the following algorithm uses Darwinian based algorithm to find the best solutions to solve complicated problems with a greater number of variab...