Processes

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/9

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

10 Terms

1
New cards
  • What is a process in computing?

  • A program in execution.

  • An active instance of a program on a computer.

  • The entity that can be executed on a processor.

2
New cards

What is the difference between passive and active programs?

  • Passive: The program isn't being executed (like a recipe).

  • Active: The CPU executes the program's instructions (like cooking with a recipe).

3
New cards

Why does the OS use processes?

To manage resource allocation.

To efficiently switch the CPU among multiple applications.

To use CPU and I/O devices securely and reliably.

4
New cards

What are the essential elements used by a process?

Program Code, possibly shared with other processes.

A set of data associated with the code.

5
New cards

What is meant by interleaving processes?

  • Processes take turns executing instructions.

  • The OS re-assigns hardware resources among multiple programs.

6
New cards

What is the Two-State Process Model?

Describes processes as either running or not running.

Managed by long-term and short-term schedulers.

7
New cards

How are processes created and terminated?

Creation: The OS builds data structures for management.

Termination: Processes end due to completion, limits, errors, or user request.

8
New cards

What is response time in the context of processes?

The time from when a process is ready to when it's assigned to the CPU.

9
New cards

What is the Six-State Process Model?

Includes 'suspend' states to manage memory better during process execution.

10
New cards

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

Stores all process information needed by the OS.

Consists of process identification, processor state information, and process control information.