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

List service provide by os

Uploaded by

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

List service provide by os

Uploaded by

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

List service provide by os

Services of Operating System

• Program execution

• Input Output Operations

• Communication between Process

• File Management

• Memory Management

• Process Management

• Security and Privacy

• Resource Management

• User Interface

• Networking

• Error handling

• Time Management

Difference between primitive and non primitive scheduling

Flexibility flexible Rigid

Cost Cost associated No cost associated

CPU In preemptive scheduling, It is low in non preemptive


Utilization CPU utilization is high scheduling

Waiting Preemptive scheduling Non-preemptive scheduling


Time waiting time is less waiting time is high

Response Preemptive scheduling Non-preemptive scheduling


Time response time is less response time is high
Define
1) Paging Paging is a memory management scheme that eliminates the need for a
contiguous allocation of physical memory. The process of retrieving processes in
the form of pages from the secondary storage into the main memory is known
as paging.
2) Segmention A process is divided into Segments. The chunks that a program is
divided into which are not necessarily all of the exact sizes are called segments.
Segmentation gives the user’s view of the process which paging does not provide.
Its have two type virtual memory Simple Segmentatio
3) Virtual memory Virtual memory is a memory management capability of an operating
system (OS) that uses hardware and software to allow a computer to compensate
for physical memory shortages by temporarily transferring data from random access
memory (RAM) to disk storage.
4) Deadlock A deadlock is a situation where a set of processes is blocked because
each process is holding a resource and waiting for another resource acquired by
some other process
5) Fragmentation The process of dividing a computer file, such as a data file or an
executable program file, into fragments that are stored in different parts of a
computer’s storage medium, such as its hard disc or RAM, is known as
fragmentation
6) memory compaction Compaction is a technique to collect all the free memory present in
the form of fragments into one large chunk of free memory, which can be used to run other
processes.
It does that by moving all the processes towards one end of the memory and all the
available free space towards the other end of the memory so that it becomes
contiguous.

List any four file attributes or any four operations


• Name: The symbolic file name is the only information kept in human readable form.

• Identifier: File system gives a unique tag or number that identifies file within file system
and which is used to refer files internally.

• Type: This information is needed for those systems that support different types.

• Location: This information is a pointer to a device and to the location of the file on that
device.

• Size: The current size of the file (in bytes, words or blocks) and possibly the maximum
allowed size are included in this attribute.

Operations
• Creating a file

• Writing a file:

• Reading a file:

• Repositioning within a file

• Deleting a file

• Appending new information to the end of the file

• Renaming an existing file

You might also like