Q. How Program execute in operating system?
Program execution: Operating system loads a program in memory and executes the program. The program should be able to end its execution either abnormally or normally.
I/O Operation: I/O refers to any file or any specific I/O device. Program may need any I/O device while running. So operating system should provide required I/O.
File system manipulation: Program requires towrite a file or read a file. The operating system gives the permission to program for operation on file.