
























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























Operating System
1) Security –
The operating system uses password protection to
protect user data. It also prevents unauthorized access
to programs and user data.
2) Memory Management –
The operating system manages the Primary Memory or
Main Memory. Main memory is made up of a large array
of bytes where each byte is assigned a certain address.
Main memory is a fast storage and it can be accessed
directly by the CPU. For a program to be executed, it
should be first loaded in the main memory. An Operating
System performs the following activities for memory
management: It keeps tracks of primary memory, i.e.,
which bytes of memory are used by which user program.
In multi programming, the OS decides the order in which
process are granted access to memory, and for how long.
It allocates the memory to a process when the process
requests it and deallocates the memory when the process
Evolution(Generation) of Operating Systems
4) The Fourth Generation (1980-Present Day)
The fourth generation of operating systems saw the creation of personal
computing. Although these computers were very similar to the minicomputers
developed in the third generation, personal computers cost a very small fraction
of what minicomputers cost. A personal computer was so affordable that it
made it possible for a single individual could be able to own one for personal
use while minicomputers where still at such a high price that only corporations
could afford to have them. One of the major factors in the creation of personal
computing was the birth of Microsoft and the Windows operating system.
The windows Operating System was created in 1975 when Paul Allen and Bill
Gates had a vision to take personal computing to the next level. They introduced
the MS-DOS in 1981 although it was effective it created much difficulty for
people who tried to understand its cryptic commands. Windows went on to
become the largest operating system used in technology today with releases of
Windows 95, Windows 98, Windows XP, Windows-7 Windows-10 etc. Along with
Microsoft, Apple is the other major operating system created in the 1980's.
Steve Jobs, co-founder of Apple, created the Apple Macintosh which was a huge
success due to the fact that it was so user friendly. Windows development
throughout the later years were influenced by the Macintosh and it created a
strong competition between the two companies. Today all of our electronic
devices run operating systems, from our computers and Smartphone, to ATM
machines and motor vehicles. And as technology advances, so do operating
systems.
Types of OS:
In a multiprogramming system there are one or more
programs loaded in main memory which are ready to
execute. Only one program at a time is able to get the CPU
for executing its instructions while all the others are
waiting their turn.
The main idea of multiprogramming is to maximize the use
of CPU time. Indeed, suppose the currently running process
is performing an I/O task. Then, the OS may interrupt that
process and give the control to one of the other in-main-
memory programs that are ready to execute (i.e. process
context switching ). In this way, no CPU time is wasted by
the system waiting for the I/O task to be completed, and a
running process keeps executing until either it voluntarily
releases the CPU or when it blocks for an I/O operation.
Therefore, the ultimate goal of multiprogramming is to keep
the CPU busy as long as there are processes ready to
execute.
4) Multiprocessing/Parallel Processing
6) Real Time operating System
A real-time OS are those in which the time interval
required to process and respond to inputs is so
small. The response time is very less.
Real-time systems are used when there are rigid
time requirements on the operation of a processor
. A real-time operating system must have well-
defined, fixed time constraints, otherwise the
system will fail. For example, Scientific
experiments, industrial control systems, weapon
systems, robots, air traffic control systems, etc.
Types of real-time operating systems.
a) Hard real-time systems
Hard real-time systems guarantee that critical tasks complete
on time. In hard real-time systems, secondary storage is
limited or missing and the data is stored in ROM.
Example: In an aircraft flight control system or automotive
braking system and many other cases those assumptions can
usually be satisfied so that all the deadlines will be met.
b) Soft real-time systems
Soft real-time systems are less restrictive. A critical real-time
task gets priority over other tasks and retains the priority
until it completes.
Example: Web browser- We request for certain URL, it takes
some time in loading the page. If the system takes more than
expected time to provide us with the page, the page obtained
is not considered as invalid, we just say that the system's
performance wasn't up to the mark (system gave low
performance!).