Question
X started to run from point βAβ to βBβ at a
speed of 28 km/hr at 9:00 am and Y started to run from point βBβ to βAβ at a speed of 12 km/hr at 11:00 am. If they meet each other at 3:00 pm then find the distance between points βAβ and βBβ.Solution
Distance covered by X in 2 hours = 28 Γ 2 = 56 km Relative speed of X and Y = 28 + 12 = 40 km/hr Sum of distance covered by both in 4 hours = 40 Γ 4 = 160 km Total distance between points βAβ and βBβ = 56 + 160 = 216 km
The number of significant figures for 5.1250 and 0.06900 respectively are____Β
What is a "collision" in the context of hashing?
What is the final value of x after the following C++ code snippet executes?
Β Β int x = 10;
Β Β for (int i = 0; i < 3; ++i) {
οΏ½...
What is the keyword used in Java to indicate that a class is inheriting from another class?
Using a bottom-up dynamic programming approach to calculate the 6th Fibonacci number (F(0)=0, F(1)=1), what are the values stored in the DP table F at i...
Which of the following sorting algorithms has the best worst-case time complexity of O(n log n)?
The order of convergence of Newton-Raphson method is:
Bourne-style shells uses which below symbol
Which of the following is a property of an admissible heuristic in A* search?
In which of the following scenarios would the Floyd-Warshall algorithm be most suitable?