Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Operating System it is a program that acts as an intermediary between the user of computer
and the computer hardware.
Operating System is a set of software routines that sits between the application program and
hardware.
Operating System acts like an interface between the user and computer hardware.
2. Application Program – define the ways in which these resources are used to
solve the computing problems of the users.
(Compilers, database system, games & business programs)
3. Users – the one who solve problems in many different application programs.
(People and machines)
2. I/O Manager
* involve a file and I/O devices
3. File Manager
a. Manipulation of Data
b. Execution of Data
c. Recovery & Archiving
5. Accounting
* To keep track the resources and what kind of computer resources.
1st Generation – During 1950’s, simple operating system were developed that
allowed programs to be submitted in sequence and stored.
- Batch Processing / Batch Oriented Processing.
- Age of Vacuum Tubes
4th Generation – the period of Networking System & Distributed O.S that provide
networking & communication function.
- Open system were introduced
- Interoperability & other network standard
- Massive memory was develop (expansion)
*Open System
1. Portability – a system that can be applied in any kind of
computer environment
2. Batched OS
- allowed automatic job sequencing by a resident operating
system and improved the overall utilization of the computer.
The computer no longer had to wait for human operation.
- The common input devices were card readers & tape drivers.
- The common output devices were line printers & card punches.
- Console: a terminal that consists of switches
- A batch system was introduced to collect a batch of jobs before processing them
and printing out results. A batch system consists of three stages—job collection,
job processing, and printing out results. All three stages can occur concurrently
3. Multi-programmed OS
- jobs are kept in memory at one time
- having several programs running concurrently in the computer.
4. Time-sharing/Multi-tasking/Multi-using
- Logical extension of multi-programming.
- Time shared OS: allows many users to share the computer simultaneously. Uses
CPU scheduling.
- Having several users running in the computer system.
5. Real-time OS
- Type of OS that is designed for a particular task through the use of sensors.
- Sensors bring data to the computer.
- Real system is defined, fixed and time constraint.
Soft real-time system – a critical real-time task get s priority over other
task, and retains that priority until it completes.
Soft real-time systems have less stringent timing
constraints, and do not support deadline scheduling.
1. Satellite Communication
2. Robotics
3. Home Appliances Controllers
4. Nuclear weapon system
5. Scientific Experiment System
6. Industrial Control System
7. Automatic-Fuel-Engine-Injection System
8. Imaging/X-rays
6. Distributed OS / Network OS
- Network Operating System is an OS that provide features such as file sharing
(WIN NT) across the network, which includes a communication scheme that
allows different processes on different computers to exchange messages.
- A distributed system is a collection of processors that do not share memory or a
clock. Instead, each processor has its own local memory, and the processors
communicate with one another through various communication lines, such as
high-speed buses or telephone lines.
- A distributed system provides the user with access to the various resources
located at remote sites.
- Distributed OS is a less autonomous environment. The processors in a distributed
system may vary in size and function. They may include small microprocessors,
workstations, minicomputers, and large general-purpose computer systems.
Reliability. If one site fails in a distributed system, the remaining sites can
potentially continue operating. If the system is composed of a number of
large autonomous installations, the failure of one of them should not affect
the rest.
2. Turnaround Time – is the sum of the periods spent waiting to get into memory
waiting in the ready queue, executing on the CPU, and
doing I/O.
- elapsed time from the job submission up to job completion.
3. Waiting Time - is the sum of the periods spent waiting in the ready queue.
4. Response Time - the amount of time it takes to start responding, but not the
the time that it takes to output that response.
7. Ease of Use
8. Reliability
9. Security
CPU UTILIZATION
It determines how efficient and reliable a computer system. To determine the efficiency of the
CPU, it must be equal to 50%, the card reader must be equal to 25% and line printer must be equal to
25%. If the result of the computation will not meet the required percentage then, it is less efficient and
reliable.
FORMULAS:
Example:
Required:
a. CPU speed in µs c. %Eff.of LP e. %Eff. Of TT
b. CR Time d. % Eff. Of CPU
Required:
a. LP Time d. %Eff. Of LP
b. CPU Time e. %Eff.of CR
c. CR Time
= .01
10,000 seconds
= 1 µs
= 48.78%
= 2.44%
E. %Eff. Of TT = 100%
= 1.09 sec
= 19.85%
= 2.4 sec
= 36.49%
= 43.62%
Exercise:
Assuming that the computer system has the following characteristics:
TT = 4 sec
CR speed = 100 c/ min
a. % Efficiency of CPU
b. % Efficiency of CR