Question
Two trains, each 150 meters long, are running in
opposite directions. If the speed of one train is twice that of the other and they take 20 seconds to cross each other, find the speed of the slower train.Solution
ATQ, Total distance travelled by the trains = 150 + 150 = 300 meters = 0.3 km Time taken = (20/3600) hours Let the speed of the slower train be βxβ km/hr Speed of the faster train = 2x km/hr Their relative speed = (2x + x) = 3x km/hr According to the question, Therefore, the speed of the slower train = 18 km/hr.
What will be the output of the code
int main(){
int x= 10;
int y=10;
int s=-(-x-y)
cout<
return 0;
}
In a virtual memory system, what is a "page fault"?
Which type of transistor is less susceptible to thermal runaway?
What is the unit of electric current?
Which transport layer protocol provides connection-oriented, reliable, and ordered delivery of data packets between applications?
The result of SQL select statement is?
What is an ER diagram used for?
Which routing protocol is commonly used within an autonomous system (AS) to determine the best path for data packets?
Which distribution is used to model the number of successful outcomes in a fixed number of independent Bernoulli trials?
Which component in the MVC architecture communicates directly with the database?