WGU C191 MODULE 2 Questions with Correct Answers Latest Update Graded A
5 views 0 purchase
Course
WGU C191 MODULE 2
Institution
WGU C191 MODULE 2
Temporary data such as function parameters, return addresses, and local variables. 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 par...
WGU C191 MODULE 2 Latest Update Graded A Temporary data such as function parameters, return addresses, and local variables. ✔✔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 chi ld process has a new program loaded into it. ✔✔When a parent creates a child process what are the possibilities? Context Switch ✔✔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 ✔✔What is another name for the PCB (process control block)? Process Scheduling Queues ✔✔- 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. ✔✔What does the PCB(info associated with each process) contain? I/O-bound process ✔✔spends more time doing I/O than computations, many short CPU bursts CPU-bound process ✔✔spends more time doing computations; few very long CPU bursts process creation ✔✔- 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 ✔✔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 ✔✔Allows interruption of a process by another process when running in kernel mode Cooperative ✔✔Synonymous with non - preemptive scheduling Dispatcher ✔✔The module that gives control of the CPU to the process selected by the short -
term scheduler Throughput ✔✔The number o f processes that are completed per time unit PCS (process -contention scope) ✔✔The scheme by which a many -to-one or many -to-many system schedules user -threads SCS(System contention scope) ✔✔Decides which kernel level thread to schedule onto a CPU. Proc ess ✔✔A program in execution Thread ✔✔Sometimes used synonymously with process, a single sequence of executing code. It consists of a thread ID, program counter, register set, and a stack. Heap ✔✔Memory that is dynamically allocated during a process r un time Descriptions of the changes in an executing process ✔✔What is a state? Name the process states. ✔✔New, Running, Waiting, Ready, Terminated. PCB(process control block) ✔✔How an operating system represents a process. Serves as a repository for any info that may vary from process to process. Swapping ✔✔The scheme of moving a process in and out of memory Cascading Termination ✔✔The technique of terminating all child processes when a parent process terminates. IPC (interprocess communication ) ✔✔A mechanism allowing the exchange of data and information between cooperating processes ALPC(advanced local procedure call) ✔✔The scheme in which the sender process and the receiver process must name the other to comm unicate Parallelism ✔✔Performing more than one task simultaneously Concurrency ✔✔Allowing all running tasks to make progress Green thread ✔✔A thread library available for Solaris systems PThread ✔✔Specification for thread behavior. May be provided either as user -level or kernel -
level (POSIX threads ) Parallel regions ✔✔Blocks of code that may run in parallel
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller ExamRoom. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.