23 Questions
What is the main purpose of using high-speed memory in a computer system?
To hold recently-accessed data
Why is a cache management policy required in computer systems?
To ensure consistent data in multiple storage levels
What is the significance of the 'mode bit' in computer hardware?
Differentiates between user mode and monitor mode
Why are all I/O instructions considered privileged instructions?
To ensure that user programs cannot access hardware directly
In a computer system, what is the purpose of memory protection?
To protect the integrity of interrupt vectors and service routines
What function does dual-mode operation serve in an operating system?
Ensures that user programs do not disrupt system integrity
What state is a process in when it is waiting for some event before proceeding?
Blocked State
Which component of a process holds the address of the next instruction to be executed?
Program Counter
In which state is a process said to be runnable but temporarily stopped running?
Ready State
What does the Running State of a process signify?
The process actually has the CPU and is using it
Which state signifies that a process has finished its execution?
Terminated State
What is the primary function of the long-term scheduler or job scheduler?
Select processes from discs and load them into main memory
Which scheduler is responsible for selecting a process from ready processes to allocate the CPU?
Short-term scheduler or CPU scheduler
In the context of CPU scheduling, what is the major difference between I/O-bound and CPU-bound processes?
Time spent on computations versus I/O operations
What does the medium-term scheduler do in the context of process scheduling?
Schedules processes as an intermediate level of scheduling
How does the long-term scheduler differ from the short-term scheduler in terms of frequency of execution?
Long-term scheduler executes much less frequently
What does the system do during a context switch?
Saves the state of the old process and loads the new process's saved state
What happens in terms of resource sharing between parent and child processes?
Children share a subset of parent's resources.
What system call creates a new process in UNIX?
fork
When does a parent process typically wait for its children to terminate?
After its children terminate.
What is the outcome if a parent process terminates?
The child processes also terminate.
In case a child process exceeds its allocated resources, what may lead to its termination?
Parent's termination.
What defines cooperating processes in an operating system?
Processes that can affect each other while executing.
Test your knowledge on the distinction between process and program with this quiz. Explore concepts such as execution state, memory usage, and dynamic behavior.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free