Question: Illustrate the layout of a process in memory. Describe each of the states that a process may be in. Explain the purpose of a process
- Illustrate the layout of a process in memory.
- Describe each of the states that a process may be in.
- Explain the purpose of a process scheduler.
- Name the two scheduling queues that a process may be in before and after being assigned to a CPU.
- Describe the actions taken by a kernel to context-switch between processes.
- What are the execution and address-space possibilities when a parent creates a child process?
- Give a common reason for a parent process terminating a child process.
- Under what condition does a child process become an orphan process?
- Describe two reasons for allowing cooperative processes.
- Explain the modes of interprocess communication and give reason(s) why one may be chosen over the other. You may use a diagram to help your explanation, but the diagram will not be marked.
- What is the difference between direct and indirect messaging?
- Explain two buffer types in interprocess communication.
- What is and is not shared between threads in a multithreaded process?
- Provide two programming examples in which multithreading provides better performance than a single-threaded solution.
- What are the core benefits of multithreading?
- Explain how it may be possible to have concurrency but not parallelism.
- Describe 2 challenges of multicore and multithreaded programming.
- What are the two types of parallelism and how do they differ?
- Explain how each multithreading model functions and highlight the advantages and disadvantages of each.
Step by Step Solution
3.37 Rating (153 Votes )
There are 3 Steps involved in it
Layout of a Process in Memory A process in memory typically consists of sections such as code text data heap and stack The code section holds the executable instructions data contains variables and co... View full answer
Get step-by-step solutions from verified subject matter experts
