Page 75 - DCAP403_Operating System
P. 75

Operating System




                    Notes          6.   ........................ is a set of techniques for the exchange of data among two or more threads in
                                       one or more processes.
                                   7.   ........................ are a way for a program to fork itself into two or more simultaneously
                                       running tasks.

                                   8.   ........................ is the ability of an operating system to execute more than one program
                                       simultaneously.
                                   9.   The threads library is implemented by time-sharing on a ........................ .
                                   10.   A process includes PC, registers, and ........................ .

                                   4.17 Review Questions


                                   1.   Do you think a single user system requires process communication? Support your answer
                                       with logic.
                                   2.   Suppose a user program faced an error during memory access. What will it do then? Will
                                       it be informed to the OS? Explain.
                                   3.   What resources are used when a thread created? How do they differ from those when a
                                       process is created?
                                   4.   What are the different process states? What is the state of the processor, when a process is
                                       waiting for some event to occur?

                                   5.   Write a brief description on process state transition.
                                   6.   What is PCB? What is the function of PCB?
                                   7.   How a process is created?
                                   8.   What is process hierarchy?
                                   9.   How a process terminated?
                                   10.   What is cooperating process? Explain it with example.

                                   11.   Why inter-process communication required?

                                   Answers: Self Assessment

                                   1.   high priority        2.  tasks           3.  MULTICS, 1960’s
                                   4.   ready                5.  Process Control Block (PCB).
                                   6.   Inter-process Communication (IPC)        7.  Threads

                                   8.  Multitasking          9.  single processor  10.  variables
                                   4.18 Further Readings




                                   Books     Andrew M. Lister, Fundamentals of Operating Systems, Wiley.
                                             Andrew S. Tanenbaum and Albert S. Woodhull, Systems Design and Implementation,
                                             Published by Prentice Hall.
                                             Andrew S. Tanenbaum, Modern Operating System, Prentice Hall.
                                             Colin Ritchie, Operating Systems, BPB Publications.




          68                               LOVELY PROFESSIONAL UNIVERSITY
   70   71   72   73   74   75   76   77   78   79   80