Question
A train crosses another train running in the opposite
direction in 20 seconds. What is the speed of the train? I. Both the trains’ are running at the same speed. II. The first train is 125 cm long. Each of the questions below consists of a question and two statements numbered I and II given below it. You have to decide whether the data provided in the statements are sufficient to answer the question. Read both the statements and give answer –Solution
We need the length of both the trains for the distance. Hence, both statements I and II together and not sufficient to answer the question.
Which of the following statements about parameter passing in Python is TRUE?
Which traversal method visits the root node first in trees?
Which OSI model layer is responsible for reliable delivery of data between devices?
What is the worst-case time complexity for inserting an element into a hash table that uses separate chaining for collision resolution?
In Python, what will be the output of the following code snippet, considering scope rules?
x = 5Â Â Â Â Â Â Â Â Â Â Â Â Â Â
Â
Hashing is used for:
Which algorithm is used for shortest path in graphs?
Which of the following phases in the Software Development Life Cycle (SDLC) ensures that the final product meets the agreed-upon requirements and specif...
Which of the following best describes Abstraction in Object-Oriented Programming (OOP)?
Which tree traversal method visits the root node *after* visiting both its left and right subtrees?