15 Questions
In direct communication, a link is associated with exactly one pair of communicating processes.
True
In indirect communication, processes must name each other explicitly.
False
A mailbox can be shared by only two processes in indirect communication.
False
In direct communication, processes communicate through mailboxes.
False
A link in indirect communication can be unidirectional or bi-directional.
True
What is the main difference between a program and a process?
A program is passive, while a process is active
What is the state of a process when it is being created?
New
What contains information associated with each process?
Process Control Block (PCB)
What is the purpose of the short-term scheduler?
To select which process should be executed next and allocate the CPU
What is an I/O-bound process?
A process that spends more time doing I/O than computations
What happens during a context switch?
The system saves the state of the old process and loads the saved state for the new process
What is the purpose of the process identifier (pid)?
To identify a process
What is the result of the fork() system call in UNIX?
A new process is created with a copy of the parent's memory space
What is the purpose of the exit() system call?
To terminate a process
What is the result of the exec() system call in UNIX?
The process' memory space is replaced with a new program
This quiz covers the concepts of processes in operating systems, including process scheduling, operations on processes, and interprocess communication. It is based on Chapter 3 of the 9th edition of Silberschatz, Galvin, and Gagne.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free