Question
A train, measuring 450 meters in length and traveling at
a speed of 35 meters per second, takes 20 seconds to pass a platform. If another train, traveling at a speed of 20 meters per second, crosses the same platform in 25 seconds, determine the length of the second train.Solution
Let assume the length of the platform is 'x' metres and length of train 'B' is 'y' metres ATQ; (450 + x) = (20 X 35) Or, 450 + x = 700 Or, x = 250 And, (y + 250) = 25 X 20 Or, y + 250 = 500 Or, y = 250 So, length of train 'B' = 250 metres. Hence, option d.
Which design pattern is most suitable for controlling access to a resource by limiting the number of clients that can use it concurrently?
The time complexity of binary search is:
In a binary tree, what is the maximum number of children a node can have?
Which type of AI is primarily used for adaptive mobile applications like virtual assistants?
Which of the following techniques is primarily used to address overfitting in machine learning models?
A data analysis algorithm requires processing data in a Last-In, First-Out (LIFO) manner. Which operation is used to get the most recently added element...
What type of relationship is represented by Aggregation in Object-Oriented Programming?
Consider the following sequence of stack operations:
PUSH(10) β PUSH(20) β PUSH(30) β POP() β PUSH(40) β POP() β POP()
What is...
Which of the following is true about triggers in a relational database?
Union-Find with path compression achieves nearly constant time because its complexity is: