NVIDIA Interview Question

from OS/kernel perspective, what happens when a program is executed?