WGU C191 Module 2 Study Guide | 230 Questions and Correct Solutions 2024 Update
WGU C191 Module 2 Study Guide | 230 Questions and Correct Solutions 2024 Update Temporary data such as function parameters, return addresses, and local variables. - Answer -What does a stack contain? 1. The parent continues to execute concurrently with its children. 2. The parent waits until some or all of its children have terminated. 3. The child process is a duplicate of the parent process (it has the same program and data as the parent). 4. The child process has a new program loaded into it. - Answer -When a parent creates a child process what are the possibilities? Context Switch - Answer -The kernel saves the context of the old process in its PCB and loads the saved context of the new process scheduled to run Task control block - Answer -What is another name for the PCB (process control block)? Process Scheduling Queues - Answer -- job queue - all processes in a system -ready queue - all process in main memory ready and waiting to execute -device queues - set of processes waiting for i/o device - penguins play w/ cool arctic melted ice Process state, Program counter, CPU registers, Accounting information, memory-management info, and I/O status information. - Answer -What does the PCB(info associated with each process) contain? I/O-bound process - Answer -spends more time doing I/O than computations, many short CPU bursts CPU-bound process - Answer -spends more time doing computations; few very long CPU bursts process creation - Answer -- address space -child duplicate of parent -child has a program loaded into it -UNIX examples- fork system creates new process -exec system call used after a fork to replace the process' memory space with a new program Nonpreemtive kernel - Answer -When a process switches from a running state to the waiting state or when a process terminates. Runs until exits kernel mode, blocks, or voluntarily yields CPU. Essentially free of race conditions in kernel mode.Preemptive kernel - Answer -Allows interruption of a process by another process when running in kernel mode Cooperative - Answer -Synonymous with non - preemptive scheduling Dispatcher - Answer -The module that gives control of the CPU to the process selected by the short-term scheduler
Written for
- Institution
- WGU C191
- Course
- WGU C191
Document information
- Uploaded on
- June 4, 2024
- Number of pages
- 23
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
wgu c191 module 2 study guide 2024
-
wgu c191 module 2 study guide 2025
-
temporary data such as function parameters return
Also available in package deal