Flashcards on Operating System Chapter 5 – Concurrent Processes

Click on the flashcard to see the answer


What is a concurrent process in operating systems?

A process that runs independently of other processes in the system.

What are the advantages of using concurrent processes?

Increased system throughput, better resource utilization, and responsiveness.

What is a race condition in concurrent processes?

A situation in which multiple processes or threads access and manipulate the same shared resources concurrently, and the outcome of the execution depends on the timing of their access.

What are the three ways to prevent race conditions in concurrent processes?

Mutual exclusion, semaphores, and monitors.

What is a deadlock in concurrent processes?

A situation in which two or more processes are unable to proceed because they are blocked, each waiting for one of the others to take some action.

What is a critical section in concurrent processes?

A section of code that accesses shared resources and must be executed atomically to prevent race conditions.

What is a semaphore in concurrent processes?

A synchronization primitive that controls access to shared resources by multiple processes or threads.

What is a monitor in concurrent processes?

A high-level synchronization construct that encapsulates data and the procedures that operate on that data with the aim of ensuring mutual exclusion and cooperation between threads.

What is a reader-writer problem in concurrent processes?

A synchronization problem where multiple processes or threads need to access a shared resource, but some only need to read it while others need to write to it.

What is scheduling in concurrent processes?

A mechanism for deciding which process or thread should run on the CPU at a given time.

What is a context switch in concurrent processes?

The process of saving the state of the current process or thread and restoring the state of another process or thread to allow concurrent execution.

What is preemption in concurrent processes?

The act of forcibly interrupting a running process, task, or thread and assigning the CPU to another process, task, or thread.

What is interprocess communication in concurrent processes?

The exchange of data or information between two or more processes in a computer system.

What is a message queue in concurrent processes?

A mechanism for sending and receiving messages between processes or threads in a computer system.

What is a pipe in concurrent processes?

A mechanism for interprocess communication that allows data to be transferred between processes in a unidirectional way.

What is a concurrent process in operating systems?

A process that runs independently of other processes in the system.

What are the advantages of using concurrent processes?

Increased system throughput, better resource utilization, and responsiveness.

What is a race condition in concurrent processes?

A situation in which multiple processes or threads access and manipulate the same shared resources concurrently, and the outcome of the execution depends on the timing of their access.

What are the three ways to prevent race conditions in concurrent processes?

Mutual exclusion, semaphores, and monitors.

What is a deadlock in concurrent processes?

A situation in which two or more processes are unable to proceed because they are blocked, each waiting for one of the others to take some action.

What is a critical section in concurrent processes?

A section of code that accesses shared resources and must be executed atomically to prevent race conditions.

What is a semaphore in concurrent processes?

A synchronization primitive that controls access to shared resources by multiple processes or threads.

What is a monitor in concurrent processes?

A high-level synchronization construct that encapsulates data and the procedures that operate on that data with the aim of ensuring mutual exclusion and cooperation between threads.

What is a reader-writer problem in concurrent processes?

A synchronization problem where multiple processes or threads need to access a shared resource, but some only need to read it while others need to write to it.

What is scheduling in concurrent processes?

A mechanism for deciding which process or thread should run on the CPU at a given time.

What is a context switch in concurrent processes?

The process of saving the state of the current process or thread and restoring the state of another process or thread to allow concurrent execution.

What is preemption in concurrent processes?

The act of forcibly interrupting a running process, task, or thread and assigning the CPU to another process, task, or thread.

What is interprocess communication in concurrent processes?

The exchange of data or information between two or more processes in a computer system.

What is a message queue in concurrent processes?

A mechanism for sending and receiving messages between processes or threads in a computer system.

What is a pipe in concurrent processes?

A mechanism for interprocess communication that allows data to be transferred between processes in a unidirectional way.

Share


Login to Save


Share



Login to Save


Explore Other Decks


Made for Grade 7

L'Illuminismo


View Deck
Made for Grade 8

Ivan Franko - Ukrainian Literary Phenomenon


View Deck
Made for Grade 9

Computer Components


View Deck

Explore More