VibraXX
Live Quiz Arena
🎁 1 Free Round Daily
⚡ Enter Arena
HomeCategoriesLogic & PuzzlesQuestion
Question
Logic & Puzzles

When scheduling tasks on a processor core, why does simply summing task durations incorrectly estimate total runtime if some tasks access shared memory resources?

A)Interrupts cause unpredictable delays
B)Critical sections cause task serialization
C)Cache misses introduce latency variations
D)Branch prediction errors affect performance

💡 Explanation

Summing task durations overcounts the true runtime because the mutual exclusion mechanism of critical sections enforces serialization on shared resources, therefore actual runtime includes waiting, rather than only execution, unlike the isolated case. Cache misses or branch prediction issues are performance factors but do not directly invalidate simple summation.

🏆 Up to £1,000 monthly prize pool

Ready for the live challenge? Join the next global round now.
*Terms apply. Skill-based competition.

⚡ Enter Arena

Related Questions

Browse Logic & Puzzles