Professional Documents
Culture Documents
Computer Fundamentals (CS-101 & CS-101L)
Computer Fundamentals (CS-101 & CS-101L)
Lecture 2
Lecture Overview
• Operating Systems
• Functions of Operating System
• Types of Operating System
• Difference Between DOS and WINDOWS
Operating System
Operating system (OS) is a set of programs that manages all
computer components and operations.
It acts as an intermediary between users and system
hardware.
Goals:
Execute user programs and make solving user problems easier
Make the computer system convenient to use
Use the computer hardware in an efficient manner
Functions of OS
Following are the functions of OS:
1. Booting
2. Memory management
3. Loading and execution
4. Data Security
5. Disk Management
6. Process Management
7. Device Controlling
8. Provide Interface
4
Functions of OS (Cont)
1. Booting: OS starts the computer to work.
It checks the computer and makes it ready
to work.
2. Memory Management: OS manages the
memory. Different programs and data
execute in memory at one time. Without
OS, programs may mix with each other.
5
Functions of OS (Cont)
3. Loading and Execution: A program is loaded in
the memory before execution. OS provides the
facility to load programs in memory easily and
then execute it.
4. Data Security: OS protects the data stored on
system from illegal use, modification and deletion.
5. Disk Management: OS manages the disk space. It
manages the stored files and folders in proper way.
6
Functions of OS (Cont)
6. Process Management: CPU performs one task at a time. In
case of many tasks, OS decides which task should get CPU.
7. Device Controlling: OS controls all the devices attached to
the system. The hardware components are controlled by
small softwares called device drivers.
8. Provide interface: user interface is used to interact with
computer. It controls how you enter data and instruction and
how information is displayed. OS provide two types of
interface
Command line interface
Graphical user interface
7
Process Management Activities
The operating system is responsible for the following
activities in connection with process management:
18
Batch Operating systems
Users do not interact directly with the computer.
Each user prepares his job on an off-line device like punch
cards and submits it to the computer operator.
To speed up processing, jobs with similar needs are
batched together and run as a group.
Punch Card:
It is apiece of stiff paper that continued either commands for
controlling automated machinery or data for data processing
applications. Both commands and data were represented by
presence or absence of holes in predefined positions.
Problems with batch OS
Lack of interaction between user and job
Difficult to provide desired priority.
CPU is often idle, because the speed of the I/O devices are
slower than CPU
Single Program OS
Disadvantages:
Problem of reliability
Problem of data communication
Question of security of user programs and data
Distributed OS
Use multiple central processors to serve multiple real time
application and multiple users. Data processing jobs are
distributed among the processors accordingly to which
one can perform each job most efficiently.
It is also known as Multiprocessing OS.
Distributed OS
Advantages:
Speedup the exchange of data with one another via
electronic email
With resource sharing facility user at one site may be able
to use the resources available at another
Better service to customers
Reduction of load on host computer
Reduction of delays in data processing
If one site fails, the remaining sites can continue operating
Network OS
It runs on a server and provides server the capability to
manage data, users, groups, security, applications and
other networking functions.
Primary purpose is to allow shared file and printer access
among multiple computers in a network, typically a local
area network (LAN).
NETWORK OPERATING SYSTEMS
1. Hard RTOS
2. Soft RTOS
Hard real time OS
It guarantee that critical tasks complete on time.
Secondary storage is limited or missing with data stored in
ROM.
In these systems virtual memory is almost never found.
Soft Real Time OS
These systems are less restrictive.
Critical real time task gets priority over the other tasks and
retains the priority until it completes.
These systems have limited utility than Hard RTOS
Stand Alone OS
A stand-alone OS is a complete operating system that
works on a desktop computer, notebook computer, or
mobile computing device.
Some stand-alone operating systems are called client
operating systems because they also work in conjunction
with a net- work operating system.
Examples of currently used stand-alone operating systems
are Windows XP, Windows Vista, Mac OS X, UNIX, and
Linux.
EMBEDDED OPERATING SYSTEMS