What is a process in an operating system?

Process in Operating System

Flashcard
•
Computers
•
University
•
Hard
Ekta Gandotra
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
A process is a program in execution, which is an 'active' entity, as opposed to a program, which is a 'passive' entity.
2.
FLASHCARD QUESTION
Front
What happens when a binary code is run?
Back
When binary code is run, it becomes a process.
3.
FLASHCARD QUESTION
Front
What are the distinct sections of a process in memory?
Back
1. Text Section: Contains executable instructions (read-only). 2. Stack: Contains temporary data like function parameters and local variables. 3. Data Section: Contains global variables. 4. Heap Section: Dynamically allocated memory during runtime.
4.
FLASHCARD QUESTION
Front
What is the Process Control Block (PCB)?
Back
The PCB is a structure that stores important attributes of a process, including Process ID, Process State, CPU Scheduling Information, I/O Information, File Descriptors, Accounting Information, and Memory Management Information.
5.
FLASHCARD QUESTION
Front
What is the Process ID (PID)?
Back
The Process ID (PID) is a unique number assigned to each process for identification by the operating system.
6.
FLASHCARD QUESTION
Front
What are the states of a process?
Back
1. New: Newly created process. 2. Ready: Process is ready for execution. 3. Running: Currently executing process. 4. Wait (or Block): Process is waiting for I/O access. 5. Complete (or Terminated): Process has finished execution. 6. Suspended Ready: Process moved to suspended state when the ready queue is full. 7. Suspended Block: Process moved to suspended state when the waiting queue is full.
7.
FLASHCARD QUESTION
Front
What is the purpose of CPU Scheduling Information in the PCB?
Back
It helps the operating system decide which process should run next based on priority levels and scheduling queues.
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Purchasing Flashcard 3/26/25

Flashcard
•
KG - University
12 questions
Pag Chapter 10 (7) A

Flashcard
•
University
13 questions
Unit 6 - Revision

Flashcard
•
KG - University
15 questions
Suspended or Waiting Claim Status

Flashcard
•
Professional Development
13 questions
AP US Government: Chapter 3 Vocab

Flashcard
•
12th Grade
11 questions
KUIZ DMB 4244

Flashcard
•
KG - University
15 questions
Invertebrates

Flashcard
•
University
8 questions
U2L3 #6 [Functions - Default Parameters]

Flashcard
•
University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade