Question
Which of the following synchronization mechanisms
provides a more structured approach to synchronization, allowing only one thread to access a resource at a time?Solution
Mutex
A cheetah can catch a deer running with a speed of 54 km/h and is 70 meters ahead of it, in 14 seconds. Find the time taken by the cheetah to catch a ze...
A car covered a journey in 10 hours with an average speed of 80km/hr. If it covers initial 30% of distance in 6 hours. Find the speed of car while cover...
A train has to cover a distance of 400 km in 25 hours. If it covers half journey in 3/5th time, then the speed of covering the remaining dist...
A train takes 46 seconds to cross the 214 m long bridge. If the same train takes 23 seconds to cross a signal board, tell the length of the train. (In m...
- The ratio of the speeds of Priya and Diya is 6:5 respectively. Sneha can cover 720 km in 12 hours. If the speed of Diya is 20% less than that of Sneha, how...
The speed of a car is 24% more than that of a bike. Both of them start from a same point. After travelling for 5 hours, the speed of the bike is increas...
The distance between points X and Y is in the ratio of 16:9 compared to the distance between points Y and Z. A person P travels f...
- P' travelled from Delhi to Agra, covering a total distance of 396 km. For the initial three hours, he maintained an average speed of βaβ km/h. After th...
A man is travelling at a speed of 60 km/h such that he will take 80 minutes to reach his destination. But after completing half the journey, the man too...
A man travels some distance at a speed of 20 km/hr and returns at a speed of 15 km/hr. If the total time taken by him is 3 hrs 30 min, the distance is <...