Process Model and IPC Interview questions


Total available count: 17
Subject - Operating System
Subsubject - Process Model and IPC

List the system calls used for process management?

System calls                Description

fork()                           To create a new process.

exec()                          To execute a new program in a process.

wait()                           To wait until a created process completes its execution.

exit()                            To exit from a process execution.

getpid()                       To get a process identifier of the current process.

getppid()                     To get parent process identifier.

nice()                           To bias the existing priority of a process.

brk()                            To increase/decrease the data segment size of a process.




Next 5 interview question(s)

1
How can you get/set an environment variable from a program?
2
How can a parent and child process communicate?
3
What is a zombie?
4
What are the process states in Unix?
5
What happens when you execute a program?

Comments