0% found this document useful (0 votes)
17 views3 pages

Process MGNT Multiple Choice Questions

ppp

Uploaded by

renu.dandge
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views3 pages

Process MGNT Multiple Choice Questions

ppp

Uploaded by

renu.dandge
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Multiple Choice Questions

1. What is the main function of a process scheduler in an operating system?

o A) To manage the process's memory.

o B) To allocate CPU time to various processes.

o C) To handle input/output operations.

o D) To monitor network traffic.

Answer: B) To allocate CPU time to various processes.

2. What is a process state?

o A) The state of the CPU.

o B) The current status of a process in the process lifecycle.

o C) The amount of memory allocated to a process.

o D) The process's priority level.

Answer: B) The current status of a process in the process lifecycle.

3. Which of the following is NOT a typical process state?

o A) New

o B) Ready

o C) Running

o D) Blocked

o E) Executing

Answer: E) Executing

4. In process management, what is a context switch?

o A) Switching between different types of processes.

o B) Saving the state of a currently running process and restoring the state of another
process.

o C) Changing the priority of a process.

o D) Moving a process from main memory to disk.

Answer: B) Saving the state of a currently running process and restoring the state of another process.

5. Which scheduling algorithm may lead to starvation if not managed properly?

o A) Round Robin

o B) First-Come, First-Served (FCFS)

o C) Shortest Job Next (SJN)


o D) Priority Scheduling

Answer: D) Priority Scheduling

True/False Questions

1. True or False: In a multi-programming environment, multiple processes are kept in


memory at the same time.

Answer: True

2. True or False: A process in the "Blocked" state is waiting for an event to occur.

Answer: True

3. True or False: The 'Ready' state means the process is currently being executed by the CPU.

Answer: False

4. True or False: The process control block (PCB) contains information about a process's state,
program counter, and CPU registers.

Answer: True

5. True or False: An idle CPU is a situation where no processes are available to run.

Answer: True

Short Answer Questions

1. Describe the differences between the 'Ready' and 'Running' states of a process.

Answer: In the 'Ready' state, a process is waiting in the queue for CPU time, but it is not currently
being executed. In the 'Running' state, the process is actively being executed by the CPU.

2. What is the role of the Process Control Block (PCB) in process management?

Answer: The PCB is a data structure used by the operating system to store information about a
process, including its state, program counter, CPU registers, memory management information, and
other process-specific details.

3. Explain the difference between preemptive and non-preemptive scheduling.

Answer: In preemptive scheduling, the operating system can interrupt and suspend a currently
running process to switch to another process. In non-preemptive scheduling, once a process starts
execution, it runs to completion or until it voluntarily yields control.

4. What is a process fork and how does it relate to process creation?

Answer: A process fork is a system call used to create a new process by duplicating the calling
process. The new process, known as the child process, has a separate process ID but shares the same
code and data as the parent process.

5. What is the significance of process priority in scheduling?

Answer: Process priority determines the order in which processes are selected for execution by the
CPU. Higher priority processes are given preference over lower priority processes, influencing their
waiting time and response time in the system.

You might also like