Hapter: Ntroduction To Perating System
Hapter: Ntroduction To Perating System
INTRODUCTION TO
OPERATING SYSTEM:
TOPICS TO BE COVERED…
1.1 Need of Operating System
1.2 Evolution of os
1.3 operating system
i. Batch
ii. Multiprogramming
iii. Time sharing
v. Multitasking
vi. Multithreding
1. Hardware
2. Operating System
3. Application Programs
4. Users
Hardware :The hardware of computer system
includes the Central Processing Unit (CPU), the
memory, and the input/output (I/O) devices. They
are the basic resources.
application program includes compilers, database
system, games, and business programs. They define
the way in which the hardware resources are to be
used to solve the computing problems of the users.
Users :There are many different users trying to solve
different problems using different application
programs.
Operating system :The operating system controls
and coordinates the user of the hardware among the
various application programs for the various users.
EVOLUTION OF OS
Serial Processing
Users access the computer in series. From the
late 1940's to mid 1950's, the programmer
interacted directly with computer hardware i.e.,
no operating system. These machines were run
with a console consisting of display lights, toggle
switches, some form of input device and a printer.
Programs in machine code are loaded with the
input device like card reader. If an error occur
the program was halted and the error condition
was indicated by lights. Programmers examine
the registers and main memory to determine
error. If the program is success, then output will
appear on the printer.
Simple Batch Systems
Input
User Output
(batch of jobs)
progra
m Area
Advantage:
Simple
Disadvantage:
Low throughput, CPU remains idle when I/O is going
on
Debugging is possible only offline, after output appears
Operating
system
job1
job2
job3
job4
The operating system keeps several jobs in memory
simultaneously.
DISADVANTAGE
Responsiveness:
Multithreading an interactive application may allow
a program to continue running even if part of it is
blocked or is performing lengthy operation, so
increasing responsiveness to the user.
Resource sharing
Threads share the memory and resources of the
process to which they belong.
3. Economy
Allocating memory and resources for process creation
is costly. Threads share resources of the process to
which they belong, it is more economical to create
and context switch threads.
User View
The user view of the computer varies by the
interface being used.
It is top down view
3) User on Workstations
User at workstation, connected to networks of other
workstations and servers have dedicated resources at
their disposal , but they also share the resource such as
networking and server – file , compute and print
servers.
The operating system is designed to compromise
between individual usability and resource utilization.
5)Handheld computers
These devices are mostly standalone, used singly by
individual users. Some are connected to network,
either directly by wire or through wireless modems.
6) Embedded Computers
Some computers have little or no user view for eg
embedded computers.
System view
It is bottom up view.
Home Basic
Home Premium
Professional
Enterprise
Ultimate