Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

INTRODUCTION TO OPERATING SYSTEM.pdf

Rating
-
Sold
-
Pages
10
Uploaded on
05-12-2024
Written in
2024/2025

This is the first operating system's pdf to introduce you to the course

Institution
Course

Content preview

INTRODUCTION TO OPERATING SYSTEM
SEMAPHORES

A semaphore, in its most basic form, is a protected integer variable that can facilitate and restrict access
to shared resources in a multi-processing environment.



In 1965, Dijkstra proposed a new and very significant technique for managing concurrent
processes by using the value of a simple integer variable to synchronize the progress of
interacting processes. This integer variable is called semaphore.

PROGRAM-A set of instruction that instruct a computer on what to do in a given time to
meet a given objective.

PROCESS-This is program in execution. Refers to a program executing

RACE CONDITION-This is a shared program executing and determining which process
sharing will write first.

SYSTEM CALL-This is a request made by a process to an operating system. Or a request
made to an operating system by a process

MONITORS
Monitors are a synchronization construct that were created to overcome the problems caused by
semaphores such as timing errors.
Monitors are abstract data types and contain shared data variables and procedures. The shared data
variables cannot be directly accessed by a process and procedures are required to allow a single
process to access the shared data variables at a time.
SHELL

A shell is a primary interface between the operating system and users


Definition: The operating system is the most important program that is on a computer. The
operating system basically runs the computer and allows other programs to run as well. The
operating system does all the basic things that a computer needs to do, such as recognizing inputs
from the mouse or the keyboard. It keeps track of where all the files are on the computer. It
allocates resources to the various programs that are running and it prevents unauthorized access to
the computer.

, An operating system, abbreviated OS, is a product, software type that is part of a system,
equipment or computerized equipment, which deals with management and coordination of its
activities. The computerized system may be a computer, a workstation, a server, a PC, a notebook, a
smartphone, a road navigation device or another system with "intelligence" of its own. The
operating system plays the role of host for all applications running on the equipment (hardware).

OPERATING SYSTEM FUNCTIONS

To act as interface between hardware and users, an operating system must be able perform the
following functions:

1. Enabling startup application programs. Thus, the operating system must have:

- A text editor

- A translator

- An editor of links

2. The allocation of resources needed to execute programs is done by identifying: the programs that
are running, the need for memory, peripheral devices and data protection requirements.

3. Facilities for data compression, sorting, mixing, cataloging and maintenance of libraries, through
utility programs available.

4. Plan implementation works according to certain criteria, for efficient use of central processing
unit.

5. Assisting implementation of programs through computer-user communication system, at both
hardware and software level.

Examples of operating systems: MS-DOS, LINUX, SOLARIS, MAC OS, UNIX, WINDOWS

Definition: An operating system (OS) is a set of computer program that manages the hardware and
software resources of a computer. At the foundation of all system software, the OS performs basic
tasks such as controlling and allocating memory, prioritizing system requests, controlling input and
output devices, facilitating networking, and managing files. It also may provide a graphical user
interface for higher level functions. Various services performed by operating systems are discussed
below.

Process management: It deals with running multiple processes. Most operating system allows
a process to be assigned a priority which affects its allocation of CPU time. Interactive operating
systems also employ some level of feedback in which the task with which the user is working
receives higher priority. In many systems there is a background process which runs when no other
process is waiting for the CPU.

Written for

Institution
Course

Document information

Uploaded on
December 5, 2024
Number of pages
10
Written in
2024/2025
Type
Class notes
Professor(s)
Mr
Contains
First lesson

Subjects

$15.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
thukubrianngugi1

Get to know the seller

Seller avatar
thukubrianngugi1 Kirinyaga University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
1 year
Number of followers
0
Documents
9
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions