N-iX Interview Question

How does the CPU handles multiple tasks