Question
Two trains X and Y start at the same time in the
opposite direction from two points P and Q and arrive at their destinations 25 and 16 hours respectively after their meeting each other. At what speed does the second train Y travel if the first train travels at 60 km/h.Solution
Let the speed and time of two trains be s1 and s2, and t1 and t2. s1/s2 = (t2/t1)1/2 => 60/s2 = 4/5 => s2 = 75 km/hr.
Standard C library functions will always invoke a system call when executed from a single-threaded process in a UNIX/Linux operating system?
When applying KVL to a circuit, how are voltage drops represented?
Attributes are made of more than one simple attribute.
- 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.
Concatenate two strings by using which function?
Which is the correct format specifier for double type value in C?
State true/false
Trojan works in background and steal data which is sensitive
Which of the following algorithm is most sensitive to outliers?
Which type of polymorphism is achieved through inheritance and method overriding?
Which sorting algorithm is known for its best-case time complexity of O(n) when the input is already partially sorted?