Operating System Concepts Chapter 3
15 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

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.

<p>False</p> Signup and view all the answers

A link in indirect communication can be unidirectional or bi-directional.

<p>True</p> Signup and view all the answers

What is the main difference between a program and a process?

<p>A program is passive, while a process is active</p> Signup and view all the answers

What is the state of a process when it is being created?

<p>New</p> Signup and view all the answers

What contains information associated with each process?

<p>Process Control Block (PCB)</p> Signup and view all the answers

What is the purpose of the short-term scheduler?

<p>To select which process should be executed next and allocate the CPU</p> Signup and view all the answers

What is an I/O-bound process?

<p>A process that spends more time doing I/O than computations</p> Signup and view all the answers

What happens during a context switch?

<p>The system saves the state of the old process and loads the saved state for the new process</p> Signup and view all the answers

What is the purpose of the process identifier (pid)?

<p>To identify a process</p> Signup and view all the answers

What is the result of the fork() system call in UNIX?

<p>A new process is created with a copy of the parent's memory space</p> Signup and view all the answers

What is the purpose of the exit() system call?

<p>To terminate a process</p> Signup and view all the answers

What is the result of the exec() system call in UNIX?

<p>The process' memory space is replaced with a new program</p> Signup and view all the answers

More Like This

Use Quizgecko on...
Browser
Browser