Question
Train 'A' takes 36 seconds to pass a boy standing on a
platform, moving at a speed of 15 m/sec. The speeds of trains 'A' and 'B' are in the ratio of 5:6, and train 'B' is 372 meters longer than train 'A'. What is the time taken by both trains to cross each other when they are running in opposite directions?Solution
Length of train 'A' = 15 X 36 = 540 metres The length of train 'B' = 540 + 372 = 912 metres Speed of train 'B' = 15 X (6/5) = 18 m/s Relative speed of train 'B' w.r.t train 'A' when travelling towards each other: = 15 + 18 = 33 m/s Therefore, required time = (540 + 912) ÷ 33 = 44 seconds
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?