Q. 3
Q. 3
1.Process Management:
A program is a set of instructions. When CPU is allocated to a
program, it can start its A
program in execution is a
execution.
process. A word processing program run by a user on a PC is a
process. A process needs various system resources including CPU
time, memory, files and VO devices to complete the job execution.
These resources can be given to the process when it is created or
allocated to it while it is running.
The system responsible for the following
operating activities in
2. Main-Memory Management
Main memory is a large array of words or bytes, rangingin size from
hundreds of thousands to billions. Each word or byte has its own
address. Main memory is a repository of quickly accessible data
shared by the CPU and VO devices. The central processor reads
instructions from main memory during the instruction fetch cycle and
both reads and writes data from main memory during the data fetch
cycle. The main memory is generally the only large storage device
that the CPU is able to address and access directly.
3.File Management
A file is a collected of related information defined by its creator.
4. WO device Management
Input/ Output device management provides an environmnent for the
better interaction between system and the IO devices (such as
Deciding which processes (or parts thereof) and data to move into
and out of memory.
Management
3. File
A is a collected
file of related information defined by its creator.
4. WO device Management
Input / Output device management provides an environment for the
better interaction between system and the VO devices (such as
operating system has defined as a file and then translate them into
streams of bits or a series of laser pulses (in regard with laser printer).
caching, spooling
Page 5/26
5. Secondary-StorageManagement
small to accommodate all data and programs, and the data that
it
holds is lost when power is lost. Most of the programs including
compilers, assemblers, word processors, editors, and formatters are
stored on a disk until loaded into memory. Secondary storage consists
information in PCB
Ans. Process: A process is defined as, a program under execution, which
Process
Pointer
State
Process Number
Program Counter
CPU Registers
Memory Alocations
Event Information
process. The state may be new, ready, running, and waiting, halted.
and so on.
scheduling parameters.
include such infonnation as the value of the base and limit registers,
Page
SUMMER–2024 EXAMINATION
MODEL ANSWER
2251
ct: Operating System Subject Code:
multiprogramming,
In this process, two or more In this, the process can be
users can use a processor in executed by a single
their terminal. processor.
Time sharing OS has fixed time Multi-programming OS has no
slice. fixed time slice.
This is the simplest directory structure. All the files are stored in the
same directory which is easy to support and understand. But a unique
name must be assigned to each file.
If the number of files in the directory increases, it may become
difficult to remember names of all files.
Advantage:
Less time required to search the file, because all files are
P
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATIO
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Disadvantages
Not suitable for a large number of files and more than one
user.
names.
When a user refers to a particular file, only his own UFD is searched.
Different users can have files with the same name, as long as all the
file names within each UFD are unique.
When we create a file for a user, operating system searches only that
user's UFD to find whether same name file already present in the
directory. For deleting a file again operating system checks the file
User
A B User User
Advantages:
It solves isolation. ie. data of one user is separated from other
user.
Disadvantages:
Two users can not share data or communicate with each other.
It is difficult to search the files with same names in different
directories.