Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
POLISAS/JKE/EC503/Chapter1
components :
The hardware
The operating system
The application programs
The users
POLISAS/JKE/EC503/Chapter1
User
1
User
2
User
3
Compiler assembler
text editor
User
n
database sys
POLISAS/JKE/EC503/Chapter1
Operating System
Definition
It
4.
5.
6.
properly.
Translate users command.
Conduct the errors if occurred.
Conduct input/output.
Conduct interruption.
Organize the storage.
POLISAS/JKE/EC503/Chapter1
History Of OS
OPERATING
SYSTEM
FIRST
GENERATION
1945-1955
(vacuum tubes
&
Plug boards)
SECOND
GENERATION
1955-1965
(Transistors
&
Batch system)
THIRD
GENERATION
1965-1980
(ICs
&
Multiprogramming)
POLISAS/JKE/EC503/Chapter1
FOURTH
GENERATION
1980-present
(Personal Computer)
POLISAS/JKE/EC503/Chapter1
Tasks: Scientific
Computer: Mainframes
OS: Batch system
POLISAS/JKE/EC503/Chapter1
The creation of
the UNIVAC
(UNIVersal
Automatic
Computer), the
first electronic
computer built
for commercial
use.
POLISAS/JKE/EC503/Chapter1
10
11
POLISAS/JKE/EC503/Chapter1
12
POLISAS/JKE/EC503/Chapter1
13
Types Of OS
Batch Operating system
A batch system is one in which jobs are bundled
together with the instructions necessary to allow
them to be processed without intervention.
Data or programs are collected grouped and
processed at a later date.
Example of use :
14
Figure 2
POLISAS/JKE/EC503/Chapter1
16
Various Types of OS
Advantages
Can automate various
aspects of job-to-job
transition
Reduce the amount of wasted time between
jobs
Improve resource utilization
Types Of OS
Multiprogramming Operating System
POLISAS/JKE/EC503/Chapter1
18
Various Types of OS
Multiprogramming Operating System
where more than one program can be execute at one time.
Is a feature of an OS which allows running multiple
programs simultaneously on one CPU.
Example:
Types of OS : Multiprogramming
As machines with more and more memory became
available, it was possible to extend the idea of
multiprogramming (or multiprocessing) as used in batch
systems.
This create a systems that would load several jobs into
memory at once and cycle through them in some order,
working on each one for a specified period of time.
The basic physical layout of a multiprogramming system is
as shown:
POLISAS/JKE/EC503/Chapter1
20
system.
It is responsible for:
1) Starting user jobs
2)Spooling operations
3)IO for user jobs
4) Switching between user jobs
5) Ensuring proper protection while doing the above
POLISAS/JKE/EC503/Chapter1
21
Types of OS : Multiprogramming
Types of Multiprogramming Operating System:
1) Multitasking Operating System
A type of multiprogramming operating system which can perform several
process simultaneously.
The earliest multitasking OS available to home users was the AmigaOS.
All current major operating system support this feature.
A multi-user operating system allows for multiple users to use the same
computer at the same time and/or different times.
Linux, Unix,Windows OS are some example of multiuser operating
system.
POLISAS/JKE/EC503/Chapter1
22
Types of OS : Multiprogramming
3) Multiprocessing Operating System
POLISAS/JKE/EC503/Chapter1
23
Types Of OS
Distributed Operating System
POLISAS/JKE/EC503/Chapter1
24
Distributed(cont)
Distribute the computation among several physical
processors.
Loosely coupled system each processor has its own local
memory; processors communicate with one another
through various communications lines, such as highspeed
buses or telephone lines.
Advantages of distributed systems.
Resources Sharing
Computation speed up load sharing
Reliability
Communications
POLISAS/JKE/EC503/Chapter1
25
Distributed(cont)
Requires networking infrastructure.
Local area networks (LAN) or Wide area
networks (WAN)
May be either client-server or peer-to- peer systems.
POLISAS/JKE/EC503/Chapter1
26
Product Of OS
Product
Version
Windows
Linux
Mac
Sun
Solaris (1992)
POLISAS/JKE/EC503/Chapter1
27
POLISAS/JKE/EC503/Chapter1
28
OS Products : Mac OS
29
OS Products : Linux
30
Minimum Requirements
The minimum hardware requirements for Windows XP Home Edition
are:
is recommended)
At least 64 megabytes (MB) of RAM (128 MB is
recommended)
At least 1.5 gigabytes (GB) of available space on the hard disk
CD-ROM or DVD-ROM drive
Keyboard and a Microsoft Mouse or some other compatible
pointing device
Video adapter and monitor with Super VGA (800 x 600)or
higher resolution
Sound card
Speakers or headphones
POLISAS/JKE/EC503/Chapter1
31
POLISAS/JKE/EC503/Chapter1
32
NetWare
operating systems
Designed for
client/server
networks
Windows
Server 2003
UNIX / Linux
Upgrade to Windows
2000 Server
Multi-purpose
operating system
Solaris
Version of UNIX
developed by Sun
Microsystems
Specifically for
e-commerce
applications
POLISAS/JKE/EC503/Chapter1
33
OSS
Software is released on a
daily or weekly basis
POLISAS/JKE/EC503/Chapter1
34
CSS
OSS
POLISAS/JKE/EC503/Chapter1
35
POLISAS/JKE/EC503/Chapter1
37
38
What is a shell?
INPUT
shell
OUTPUT
POLISAS/JKE/EC503/Chapter1
ERROR
39
Shell Program
Menu-Driven System
Fully GUI
No need to memorize
commands.
All available commands are
listed
Menus can be nested.
Low data requirements
Still used in many ATM
and Point-of-Sale systems
Interfaces
Mouse-driven and iconbased
Windows
POLISAS/JKE/EC503/Chapter1
particular program or
process
Contain a title bar, menu
bar, and widgets
40
POLISAS/JKE/EC503/Chapter1
41
Terminology relation to OS
Cooperative Multi-tasking
Preemptive Multi-tasking
POLISAS/JKE/EC503/Chapter1
42
Terminology relation to OS
Multi programming and also called Multithreading
Multiprocessing
POLISAS/JKE/EC503/Chapter1
43
Virtual Machines
Client-Server Model
POLISAS/JKE/EC503/Chapter1
44
Monolithic
The oldest architecture used for operating systems is
45
POLISAS/JKE/EC503/Chapter1
46
Layered Structure
A technique used in designing computer software,
hardware, and communications.
In this case, system or network components are
isolated in layers
so that changes can be made in one layer without
POLISAS/JKE/EC503/Chapter1
47
POLISAS/JKE/EC503/Chapter1
48
Virtual Machines
Virtual machine (VM) is a software
implementation of a machine (i.e. a computer)
that executes programs like a physical machine.
A system virtual machine provides a complete
system platform which supports the execution of a
complete operating system(OS).
POLISAS/JKE/EC503/Chapter1
49
Virtual Machines
A virtual machine takes the layered approach to its
logical conclusion. It treats hardware and the
operating system kernel as though they were all
hardware.
50
Client-Server Model
The Client/Server Model is a form of distributed
POLISAS/JKE/EC503/Chapter1
51
Client/Server Model
The Client Server Model
Client
Server
Internet
POLISAS/JKE/EC503/Chapter1
52
Subsystem of OS
Major subsystem
of OS
Process
Management
File
Management
POLISAS/JKE/EC503/Chapter1
Memory
Management
53
Process Management
A process is a program in execution: (A program is passive, a
POLISAS/JKE/EC503/Chapter1
54
File Management
A file is a collection of related information defined by its
55
Memory Management
Allocation/de-allocation
for
processes,
files, I/O.
Maintenance of several processes at a time
Keep track of who's using what memory
Movement of process memory to/from
secondary storage
POLISAS/JKE/EC503/Chapter1
56
System Calls
System calls provide the interface between a running
POLISAS/JKE/EC503/Chapter1
57
Continue Chapter 1
System Calls
System calls provide the interface between a running
POLISAS/JKE/EC503/Chapter1
58
System Calls
Process Management
Signaling
Directory Management
Protection
Time Management
Multicore Management
Multithreading
POLISAS/JKE/EC503/Chapter1
59
a) Process management
load, execute, end, abort, create, terminate, wait ...
memory allocation and reallocation
b) Signaling
Use signals to keep track of events which must follow the same path of
execution as depicted in figure below regardless of their type being
synchronous or asynchronous.
c) File management
Common systems calls dealing with files and directories:
1) create file, delete file
2) open, close
3) read, write, reposition
4) get file attributes, set file attributes
d) Device Management
Similarity between files and I/O devices results in similar device system
calls (some OS even merges two into a combined file device structure):
1) request device, release device
2) read, write, reposition
3) get device attributes, set device attributes
4) logically attach or detach devices
POLISAS/JKE/EC503/Chapter1
60
e) Information Maintenance
System calls for transferring information between the user program and
OS:
1) get time or date, set time or date
2) get system data, set system data
3) get process, file, or device attributes
4) set process, file or device attributes
f) Communication
System calls for transferring information between the user program and
OS:
1) create, delete communication connection
2) send, receive message
3) transfer status information
4) attach or detach remote devices
THANK YOU!!!
POLISAS/JKE/EC503/Chapter1
61