Introduction to Operating Systems: Processes

FlashyHafnium avatar
FlashyHafnium
·
·
Download

Start Quiz

Study Flashcards

10 Questions

What is the maximum number of processes that a link can be associated with?

A link can be associated with at most two processes.

What is the restriction on the number of processes that can execute a receive operation at a time?

Only one process at a time is allowed to execute a receive operation.

Who selects the receiver in a message passing system?

The system selects the receiver arbitrarily.

Is the sender notified of the receiver in a message passing system?

Yes, the sender is notified who the receiver was.

What are the two types of message passing operations?

Message passing may be either blocking or non-blocking.

What happens when a blocking send operation is used?

The sender is blocked until the message is received.

What happens when a blocking receive operation is used?

The receiver is blocked until a message is available.

What happens when a non-blocking send operation is used?

The sender sends the message and continues.

What are the possible results of a non-blocking receive operation?

The receiver receives either a valid message or a null message.

What is the combination of blocking send and blocking receive called?

If both send and receive are blocking, we have a rendezvous.

Learn about the process concept, process scheduling, operations on processes, and interprocess communication in shared-memory and message-passing systems. This quiz covers material from Lecture 03 of the C-CS316 Spring 2024 course at the Faculty of Computing and Information Sciences.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free
Use Quizgecko on...
Browser
Browser