Operating Systems: Process Description and Control

GracefulBlack50 avatar
GracefulBlack50
·
·
Download

Start Quiz

Study Flashcards

Questions and Answers

Which of the following is NOT an essential element of a process?

Process priority

What is the purpose of the Process Control Block (PCB)?

To contain the essential elements of a process

In the two-state process model, what is the purpose of the 'not-running' state?

To represent the process while it is waiting for resources to become available

What is the purpose of the 'dispatcher' in the context of process execution?

<p>To switch the processor between multiple running processes</p> Signup and view all the answers

What is the relationship between a 'parent process' and a 'child process'?

<p>The parent process is the original, creating process, and the child process is the new process that was created.</p> Signup and view all the answers

What is the purpose of the 'Process Termination' mechanism in an operating system?

<p>To provide a means for a process to indicate its completion</p> Signup and view all the answers

In the five-state process model, what does the term 'swapping' refer to?

<p>Moving part or all of a process from main memory to disk</p> Signup and view all the answers

What is the primary purpose of the OS control tables?

<p>To keep track of both main (real) and secondary (virtual) memory</p> Signup and view all the answers

Which of the following is NOT a necessary component of a process image?

<p>A copy of the OS kernel code</p> Signup and view all the answers

What is the purpose of assigning a unique numeric identifier to each process?

<p>All of the above</p> Signup and view all the answers

What information is typically contained in the Program Status Word (PSW) or EFLAGS register?

<p>Condition codes and other status information</p> Signup and view all the answers

What is the most critical data structure in an operating system?

<p>The process control block</p> Signup and view all the answers

When creating a new process, which of the following steps is NOT typically performed by the operating system?

<p>Loading the entire program code into main memory</p> Signup and view all the answers

What is the primary challenge in managing process control blocks?

<p>Protecting the process control block from corruption</p> Signup and view all the answers

Which of the following statements about process attributes is correct?

<p>All of the above</p> Signup and view all the answers

What is the purpose of maintaining memory tables in the operating system?

<p>All of the above</p> Signup and view all the answers

Use Quizgecko on...
Browser
Browser