Question
The speed of a car is 25% more than that of a bike. If
the time taken by the car to cover (3x + 20) km is equal to the time taken by the bike to cover (2x + 40) km. If the speed of a bus is 60 km/hr, then find the time taken by it to cover (x + 120) km.Solution
Let the speed of bike be 'a' km/hr Therefore, speed of car = '1.25a' km/hr According to the question, {(3x + 20)/1.25a} = {(2x + 40)/a} Or, 3x + 20 = 2.5x + 50 Or, 0.5x = 30 Or, 'x' = (30/0.5) = 60 Therefore, (x + 120) = 60 + 120 = 180 Required time taken = (180/60) = 3 hours
Which of the following represents the Preorder Traversal of the binary tree given below?
       A       / \      B   C   ...A data analysis script receives data in JSON format. Which of the following is a valid JSON data type for a value?
A queue follows which principle for data access?
What is the space complexity of storing an adjacency matrix for a graph with V vertices and E edges?
Given the following code snippet, which operation is performed on the binary tree to produce the output: 4, 2, 5, 1, 3 ?
class Node {Â Â Â Â Â in...Which of the following statements best describes polymorphism in object-oriented programming?
Given a singly linked list with 'n' nodes, what is the time complexity to delete the last node?
In the context of asymmetric encryption, which of the following is a key feature of public-private key pairs?
Which algorithm is used for shortest path in graphs?
In a data warehouse, which of the following best describes the concept of "data granularity"?