Question
A man travelled a total distance of 400 km. He travelled
first 300 km on car with a speed of 60 km/h and rest of the distance on bike whose speed is 40 km/h less than that of the car. Find his average speed for the whole journey.Solution
Total time taken to cover the whole journey = 300/60 + 100/20 = 5 + 5 = 10 km Desired average speed = 400/10 = 40 km/h
What is false about linked list?
Which layer of the TCP/IP model is responsible for IP addressing and routing?
Which hazard occurs when there is a conflict in accessing a shared resource, such as a register file or an ALU, in an instruction pipeline?
Which consensus mechanism is used by Bitcoin, the first blockchain-based cryptocurrency?
In dynamic programming, what does "optimal substructure" mean?
What is a "token" in lexical analysis?
Which sorting algorithm is known for its best-case time complexity of O(n) when the input is already partially sorted?
Which data visualization technique is commonly used to represent the frequency distribution of a large dataset?
An XML document is a string of ____.
Which of the following algorithm is most sensitive to outliers?