Question
A train crosses a 500-metre-long platform in 30 seconds,
and the same train crosses a tunnel that is 20% longer than the train itself in 42 seconds. Find the speed of the train in km/h.Solution
Let the length and speed of train be βlβ metres and βxβ m/s, respectively.
Then, according to question,
(l + 500)/30 = 2.2l/42
42l + 21000 = 66l
24l = 21000
l = 875 metres
x = (l + 500)/30 * (18/5) = 165 km/h
The truth table for a boolean function with two variables, A and B, has four rows. How many different boolean functions can be defined with two variables?
Which command is used to display the contents of a file in a Unix/Linux system?
- State true or false Implicit type casting in C is used to convert the data type of any variable without using the actual value that the variable holds.
- What is a hybrid cloud?
Which routing protocol is commonly used within an autonomous system (AS) to determine the best path for data packets?
C++ follows ___.
What does PHP stand for?
What is the purpose of a diode in a circuit?
Function to copy one memory location to other in C++
Concatenate two strings by using which function?