0% found this document useful (0 votes)
12 views

Opearating System (OS) BCA Question Answers Sheet Part 2

The operating system manages running processes through tasks like process scheduling and resource allocation. Process scheduling involves removing the currently running task from the processor and selecting another waiting task to run. It schedules processes between ready, waiting, and running states. CPU scheduling allows one process to use the CPU while another is waiting for a resource like I/O, improving efficiency. Key criteria for CPU scheduling algorithms include maximizing CPU utilization, throughput, and minimizing turnaround, waiting, and response times.

Uploaded by

xiayo
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)
12 views

Opearating System (OS) BCA Question Answers Sheet Part 2

The operating system manages running processes through tasks like process scheduling and resource allocation. Process scheduling involves removing the currently running task from the processor and selecting another waiting task to run. It schedules processes between ready, waiting, and running states. CPU scheduling allows one process to use the CPU while another is waiting for a resource like I/O, improving efficiency. Key criteria for CPU scheduling algorithms include maximizing CPU utilization, throughput, and minimizing turnaround, waiting, and response times.

Uploaded by

xiayo
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/ 2

Q-1. How does process management work in operating system?

A-1. Process management involves tasks related to processing like creation, scheduling, termination,
deadlock, etc. The operating systems allocate resources that allow the process to exchange information.
It synchronises among processes and safeguards the resources of other processes.

The operating system manages the running processes in the system and performs tasks like scheduling
and resource allocation.

Q-2. What is process scheduling operating system? Explain.

A-2. Process scheduling is an important part of multiprogramming operating systems. It is the process of
removing the running task from the processor and selecting another task for processing. It schedules a
process into different states like ready, waiting, and running.

Q-3. What is CPU scheduling criteria in operating system? Explain all of them.

A-3. CPU scheduling is a process that allows one process to use the CPU while the execution of another
process is on hold(in waiting state) due to unavailability of any resource like I/O etc, thereby making full
use of CPU. The aim of CPU scheduling is to make the system efficient, fast, and fair.

The criteria include the following:

(a) CPU utilisation – The main objective of any CPU scheduling algorithm is to keep the CPU as busy
as possible. Theoretically, CPU utilisation can range from 0 to 100 but in a real-time system, it
varies from 40 to 90 percent depending on the load upon the system.
(b) Throughput – A measure of the work done by CPU is the number of processes being executed
and completed per unit time. This is called throughput. The throughput may vary depending
upon the length or duration of processes.

(c) Turnaround time – For a particular process, an important criteria is how long it takes to execute
that process. The time elapsed from the time of submission of a process to the time of
completion is known as the turnaround time. Turn-around time is the sum of times spent
waiting to get into memory, waiting in ready queue, executing in CPU, and waiting for I/O.

(d) Waiting time – A scheduling algorithm does not affect the time required to complete the process
once it starts execution. It only affects the waiting time of a process i.e. time spent by a process
waiting in the ready queue.

(e) Response time – In an interactive system, turn-around time is not the best criteria. A process
may produce some output fairly early and continue computing new results while previous
results are being output to the user. Thus another criteria is the time taken from submission of
the process of request until the first response is produced. This measure is called response time.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy