Operating System Module 2: Process Management Study Guide

LikeReal avatar
LikeReal
·
·
Download

Start Quiz

Study Flashcards

16 Questions

What is a process in the context of an operating system?

An active program in execution

What is the main difference between a program and a process?

Programs are stored on disk, while processes are active entities

In what way do processes alternate during execution?

Between CPU bursts and I/O bursts

What is the role of CPU (or CPUs) in relation to processes?

Multiplex among processes for time sharing

What does a process consist of, in terms of CPU and I/O bursts?

Alternating CPU and I/O bursts

How are programs and processes related in an operating system?

Processes may be associated with the same program but are considered separate execution sequences

What is the purpose of a process control block (PCB) in an operating system?

To manage the CPU scheduling information for a process

Which state does a process enter when it is waiting for the operating system to assign a processor to it?

Ready

What type of memory contains the temporary data such as method/function parameters, return address, and local variables?

Stack

What represents the current activity of a process and includes the contents of the processor's registers?

Text

Which section of a process contains global and static variables?

Text

What does the CPU registers include in a process control block (PCB)?

Accumulators, index registers, and stack pointers

In which state is a process when it is being created?

New

What is the purpose of memory management information in a process control block (PCB)?

To include limit registers or page tables

Which section of a process includes the current activity represented by the value of Program Counter and the contents of the processor's registers?

Text

Which type of memory includes dynamically allocated memory to a process during its runtime?

Heap

This study guide covers the process concept, architecture, types of computer processes, process states, process control block, concurrent processes, scheduling, and CPU scheduling algorithms/techniques. It also includes problem-solving related to CPU scheduling.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Use Quizgecko on...
Browser
Browser