Illustrate the layout of a process in memory. Describe each of the states that a process may
Fantastic news! We've Found the answer you've been seeking!
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 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.
Related Book For
Operating Systems Internals and Design Principles
ISBN: 978-0133805918
8th edition
Authors: William Stallings
Posted Date: