A command that renames a file
What is mv?
A program in execution?
What is a process
A common nickname for a thread
What is a lightweight process
A synchronization problem where multiple readers and writers are attempting to simultaneously access a shared data file or database.
What is the Readers, Writers problem
The process that decides which process should be loaded from the ready list to the CPU next?
What is a short-term scheduler
A command to your home directory.
What is cd ~
A data structure used to store information about a process?
Process Control Block (PCB)
The function for starting a thread in C
What is pthread_create()?
A synchronization primitive that can be set to 1 or 0 and will block a process when wait() or P() is called when the value is 0.
What is a mutex?
This enables CPU scheduling by allowing a process to be paused and then resume a different process
What is a context switch?
This is how you print the path variable for the current user from the terminal in Linux
echo $PATH
A procedure to save or restore the state of a process?
What is a context switch
A Kernel-level thread
What is a thread that is managed by the operating system so that it can use all available processing cores?
A resource allocation problem with 5 processes and 5 shared resources where a solution will ensure concurrency, mutual exclusion, and avoid deadlock?
What is the Dining Philosophers Problem
This is a visualization of how the following processes would be executed on the CPU using the Round Robin based short-term scheduler:
You type this in the terminal to display process started by the current user
What is ps?
A process is waiting on a resource that is not available
What is a Blocked state
This part of the Thread Control Block (TCB) are different than the process which started the thread.
What is stack pointer, stack location, or program counter?
A hardware operation that atomically copies the value of a variable to a register and then sets the value of the variable to 0. Also the required operation for implementing a mutex.
What is a Test and Set operation
Priority-based scheduling algorithms have this potential negative effect.
What is starvation?
You type this command to determine how much secondary storage space is available on your system
What is df?
A Method of Inter Process Communication between two related processes
What is a pipe?
A condition where a thread blocks other threads from entering the critical section of code
What is lockout?
A monitor that allows multiple readers into the critical section simultaneously and then allows only one writer into the critical section at a time?
What is the solution to the readers, writers problem
This is a visualization of how the following processes would be executed on the CPU using the Priority-based short-term scheduler
What is: