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 (A)

In indirect communication, processes must name each other explicitly.

False (B)

A mailbox can be shared by only two processes in indirect communication.

False (B)

In direct communication, processes communicate through mailboxes.

<p>False (B)</p> Signup and view all the answers

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

<p>True (A)</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 (C)</p> Signup and view all the answers

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

<p>New (C)</p> Signup and view all the answers

What contains information associated with each process?

<p>Process Control Block (PCB) (C)</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 (A)</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 (C)</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 (C)</p> Signup and view all the answers

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

<p>To identify a process (D)</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 (A)</p> Signup and view all the answers

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

<p>To terminate a process (D)</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 (C)</p> Signup and view all the answers

More Like This

Operating System Concepts 10th Edition
18 questions
Operating System Concepts
12 questions

Operating System Concepts

ConsummateDidgeridoo avatar
ConsummateDidgeridoo
Operating System Concepts
52 questions

Operating System Concepts

EruditeVorticism1110 avatar
EruditeVorticism1110
Use Quizgecko on...
Browser
Browser