Unit 3
Unit 3
Unit 3
Differentiate between process and thread (any two points). Also discuss the benefits of
Threads 6M W-23
multithreaded programming
Explain following commands with their syntax – i) Kill ii) Sleep iii) Wait iv) Exit process cmds 4M W-23
Explain shared memory method of IPC using neat labelled diagram. inter-process commn 4M W-23
What is the use of PS command? Write long forms of UID, PID in the output of this
process cmds 2M W-23
command
Draw neat labelled process state diagram along with the correct directions of arrows Process States 2M W-23
Draw process state diagram and describe each state. Process States 4M S-23
Writer the outputs of following commands (i) Wait 2385018 (ii) Sleep 09 (iii) PS –u Asha process cmds 6M W-22
Explain shared memory model of Interprocess communication (IPC). inter-process commn 4M W-22
Write syntax of following commands - (i) Kill (ii) Sleep process cmds 2M W-22
Describe one-to-one multithreading model with suitable diagram. Also write any two
Threads 6M S-22
advantages of one-to-one model over many-to-one model.
With suitable diagram, describe use of scheduling queues in process scheluding. process scheduling 4M S-22
Describe use of ps and wait commands with suitable example. process cmds 4M S-22
Give commands to perform following tasks: i) To add delay in script ii) To terminate a
process cmds 2M S-22
process
Draw a neat labelled diagram for process state. Process States 2M S-22
Explain ‘PS’ command with any four options. process cmds 4M W-19
With neat diagram explain inter process communication model. inter-process commn 4M W-19
Write syntax of following commands: (i) Sleep (ii) Kill process cmds 2M W-19
PYQs 1