Recall & Review
beginner
What is a process in an operating system?
A process is a program in action. It is an instance of a running program that includes the program code and its current activity.
Click to reveal answer
beginner
What are the main components of a process?
A process includes the program code, current activity (like program counter), stack (for function calls), data section, and resources like files and memory.
Click to reveal answer
beginner
How does a process differ from a program?
A program is a set of instructions stored on disk, while a process is the execution of those instructions in memory with its own state and resources.
Click to reveal answer
beginner
Why is a process important in an operating system?
Processes allow the operating system to manage multiple tasks by giving each running program its own space and resources, enabling multitasking.
Click to reveal answer
beginner
What happens when a process is created?
When a process is created, the OS allocates memory, sets up the program counter, stack, and other resources needed to run the program.
Click to reveal answer
What best describes a process?
✗ Incorrect
A process is a program in execution, meaning it is the running instance of a program.
Which of these is NOT part of a process?
✗ Incorrect
The operating system kernel is separate from the process; a process includes program code, stack, and CPU registers.
What does the operating system allocate when creating a process?
✗ Incorrect
The OS allocates memory and resources like CPU time and files to the new process.
How does a process enable multitasking?
✗ Incorrect
Processes allow multiple programs to run simultaneously by managing their execution separately.
Which term refers to the instructions stored on disk?
✗ Incorrect
A program is the set of instructions stored on disk; a process is the running instance of that program.
Explain what a process is and how it differs from a program.
Think about what happens when you run a program on your computer.
You got /4 concepts.
Describe the main components that make up a process.
Consider what a process needs to keep track of while running.
You got /5 concepts.