Lecture 3
Lecture 3
Topic: Software.
Operating Systems
Software is a generic term for
organized collections of computer
data and instructions, often
broken into two major categories:
File management
Transfers files between main memory and secondary
storage, manages file folders, allocates the secondary
storage space, and provides file protection and
Operating recovery
System
Memory management
Allocates the use of random access memory (RAM) to
requesting processes
Interface platform
Allows the computer to run other applications
Systems and Their
Differences
13
Advantages/Disadvantages of Multiuser
Operating Systems
Advantages
Central location for the
Disadvantages
Single source for possible
problems
Loss of individual user control
14
Virtual Memory
15
Type of Operating System
Batch processing
Real time processing
Time sharing processing
Batch processing
Jobs, together with input data, are
fed into the system in a batch.
The jobs are run one after another.
No job can be started until
previous job is completed
Real time processing
immediate response is needed
For example
anti-missile defense system (в
противоракетной обороне)
airplane landing control system (система
управления посадки самолета)
Time sharing processing
Each user is given a time slice to interact
with the CPU (Каждый пользователь
получает время, чтобы
взаимодействовать с процессором).
The size of the time slice will depend on
the system.
Each user is served in sequence.
Time-sharing between
process A and process B
Processes
Process: The activity of executing a program
(NOT THE SAME THING AS A PROGRAM!!!)
Program – static set of directions (instructions)
Process – dynamic entity whose properties change
as time progresses. It is an instance in execution
of a program.
Process State: Current status of the activity
Program counter
General purpose registers
Related portion of main memory
Different Types of Operating
System
Memory Manager
Has the task of coordinating the use of
main memory – allocates/deallocates
space in main memory
When the total required memory space
exceeds the physical available space.
May create the illusion that the machine has
more memory than it actually does (virtual
memory) by playing a “shell game” in which
blocks of data (pages) are shifted back and
forth between main memory and mass storage
Operating System
Structure
Multiprogramming needed for efficiency
Single user cannot keep CPU and I/O devices busy at
all times
Multiprogramming organizes jobs (code and data) so
as long as at least one job needs to execute, the CPU is never idle…
lawyers)
Utility is
a program that performs a very
specific task, usually related to
managing system resources.
Operating systems contain a
number of utilities for managing
disk drives, printers, and other
devices.
Questions:
1.Classification of software
2. Operating system is …
3. Elements of operating system
4. Classifications of operating system
5. Virtual memory is …
6. Utility is…
7. Examples of utility