1/19
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
A process is best defined as:
a program in execution
Which of the following is NOT part of a process in memory?
Printer device
The Process Control Block (PCB) does NOT typically contain:
Compiler code
A context switch occurs when:
The OS saves state of one process and restores state of another
Which is NOT a typical process state?
Deleted
The long-term scheduler’s main goal is to:
Control the degree of multiprogramming
Medium-term scheduling is often associated with:
Swapping processes in and out of memory
The short-term scheduler is responsible for:
Choosing which process from the ready queue runs next
Which of the following is NOT a typical IPC mechanism?
Stack pointer
In direct communication, processes:
Must explicitly name each other to communicate
A blocking send means:
The sender waits until the message is received
In non-blocking receive:
The receiver checks and continues if no message is available
A key disadvantage of message passing compared to shared memory is:
More overhead due to system calls and copying
Which is TRUE about threads compared to processes?
Threads within a process share code and data
Which system call in UNIX-like systems is used to create a new process?
fork()
Which signal is commonly used in UNIX to terminate a process?
SIGKILL
A zombie process refers to:
A process that has terminated but still has an entry in process table
An orphan process is:
A child whose parent has terminated before it
Processes that can affect or be affected by others are called:
Cooperating processes
Which is NOT a benefit of interprocess communication?
Elimination of system calls