Question
A and B are travelling towards each other with a speed
of 50 km/hr and 60 km/hr. If they started at same time and A covered 26 km less distance than B before meeting him, then find the distance between them before starting.Solution
Since, the time taken by A and B is same, therefore the ratio of the distance covered by them will be equal to the ratio of their speeds. Therefore, ratio of the distance covered by A and B = 50:60 = 5:6 Let the distance covered by A and B be 5x km and 6x km According to the question, 6x – 5x = 26 Or, x = 26 Therefore, distance between them before starting = 6x + 5x = 11x = 286 km
Which register holds the data to be written to or read from memory?
In the context of sorting algorithms, which one of the following is not a comparison-based sorting algorithm?
- If a recursive function calling itself and that recursive call is the last statement in the function then it’s known as ___________
Which logic gate operation is performed by an XOR gate?
Which layer of the TCP/IP model is responsible for IP addressing and routing?
The smallest unit of memory that the CPU can read or write is ___.
In a Token Ring network, what happens when a computer wants to transmit data?
A B-tree of order 4 is built from scratch by 10 successive insertions. What is the maximum number of node splitting operations that may take place?
What is the purpose of a diode in a circuit?
Which famous algorithm follows a greedy approach for solving the minimum spanning tree problem in a graph?