Question
Amrita traveled a certain distance, covering 50% of it
at a speed of 15 km/h, then 40% of the remaining distance at 7.5 km/h, and the rest at 9 km/h. If it took her a total of 14 hours to complete the entire journey, what is the total distance she covered?Solution
ATQ, We can say that distance covered by Amrita be ‘100a’ km. Distance covered at 15 km/h = 100a × 0.50 = ‘50a’ km Distance covered at 7.5 km/h = 50a × 0.40 = ‘20a’ km Distance covered at 9 km/h = 50a – 20a = ‘30a’ km ATQ; (50a/15) + (20a/7.5) + (30a/9) = 14 Or, 150a + 120a + 150a = 14 × 45 Or, 420a = 14 × 45 So, a = 1.5 So, required distance = 100 × 1.50 = 150 km
Which of the following is an example of Polymorphism in Object-Oriented Programming?
In Java, what will be the output of the following code snippet?
public class Test {
   public static void main(String[] args) { <...
Which of the following is the most critical success factor for the implementation of a Decision Support System (DSS) within an organization?
Deletion in Red-Black Tree may require:
What will be the output of the following queue implementation using two stacks?
class QueueUsingStacks {Â Â Â Â Â Stacks1 = new Stack <>... Best case complexity of insertion sort is:
Which memory is the fastest?
Which of the following best describes Abstraction in Object-Oriented Programming (OOP)?
The amortized cost of appending an element at the end of a dynamic array is:
Max-Flow Min-Cut theorem states: