Question
A train has to cover a distance of 135 km in 15 hours.
If it covers half journey in 3/5th time, then the speed of covering the remaining distance in the time left has to be:Solution
Speed = Distance/time = 135/15 = 9 km/hr According to the question, New time = 3/5 x 15 = 9 hrs New distance = 1/2 x 135 = 67.5 km Required speed = Distance left/Time left = 67.5/6 = 11.25 km/hr
Which function is used to deallocate dynamic memory in C++?
What is the worst-case time complexity of inserting n elements into an empty linked list, if the linked list needs to be maintained in sorted order? Mo...
The communication structure that we need in socket programming is called as _________.
In dynamic programming, what is memoization?
In virtual circuit network each packet holds ___________
Deleting top element of stack?
What is the primary role of semantic actions in syntax-directed translation?
Which recovery model in a database allows for point-in-time recovery using transaction logs?
What does a diamond shape represent in an ER diagram?
What is the decimal equivalent of the binary number 10101?