Question
A train travelled for the first 120 km at a certain
speed in 3 hours. After that, the speed of the train decreased by 5 km/h. If the train took a total of 6 hours to reach its destination, then find the total distance travelled by the train.Solution
ATQ, Speed of the train by which it travelled 120 km = 120/3 = 40 km/h Time taken to cover the remaining distance = 6 - 3 = 3 hours Decreased speed of the train = 40 - 5 = 35 km/h Distance travelled with decreased speed = 35 × 3 = 105 km Therefore, required distance = 120 + 105 = 225 km
Which feature of OOP allows hiding implementation details while showing only the necessary functionality?
When designing a system where data records are frequently added and removed from the middle of a sequence, which data structure offers the most efficien...
Which data structure is used for undo operations in text editors?
What is "unit testing" and how does it relate to debugging?
Which design pattern is most suitable for controlling access to a resource by limiting the number of clients that can use it concurrently?
Which heap property is correct?
In network architecture, what is the primary advantage of a mesh topology over a star topology?
What is the time complexity of searching an element in a balanced binary search tree (BST) with nnn nodes?
Which encryption technique is used in Transport Layer Security (TLS) to securely establish a session key?
Which of the following is true about triggers in a relational database?