Process Model and IPC interview questions


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

How can a parent and child process communicate?

A parent and child can communicate through any of the normal inter-process communication schemes (pipes, sockets, message queues, shared memory), but also have some special ways to communicate that take advantage of their relationship as a parent and child. One of the most obvious is that the parent can get the exit status of the child.




Next 5 interview question(s)

1
How can you get/set an environment variable from a program?
2
How do you execute one program from within another?
3
How would you kill a process?
4
List the system calls used for process management?
5
Predict the output of the following program code?


Comments