Professional Documents
Culture Documents
Unit 1
(8 Marks)
G.H.RAISONI POLYTECHNIC,NAGPUR
RAISONI GROUP OF INSTITUTIONS
1
What is Operating System ?
2
Cont…
3
Components of Computer System
A computer system has many resources (hardware and software), which may
be require to complete a task.
The commonly required resources are input/output devices, memory, file
storage space, CPU etc.
The operating system acts as a manager of the resources and allocates them to
specific programs and users as necessary for their task.
Therefore operating system is the resource manager i.e. it can manage the
resource of a computer system internally.
The resources are processor, memory, files, and I/O devices.
4
Cont…
5
Generation of Operating systems
The 1940’s - First Generation : The earliest electronic digital computers had NO
operating System. Programming Language were also unknown not even assembly
language.
The 1950’s - Second Generation :The routine had improved somewhat with the
introduction of punch card. The GMRL implemented the first OS in early 1950’s for
their IBM 701 .
The 1960’s -Third Generation : The system of the 1960’s are batch processing
system.
The 1970’s onwards-Fourth Generation: The 1970’s onwards, with the development
of LSI operating system entered in personal computer & workstation age.
6
Function of Operating systems
Memory Management
Processor Management
Device Management
File Management
Job Accounting
Error Detection
7
Operation of OS
1. Program Management:
The Operating System is responsible for execution of all types of programs whether it be
user programs or system programs.
Following are the major activities of an operating system with respect to program
management-
• Handles program execution
• Loads a program into memory
• Executes the program
• Provides a mechanism for process communication & process synchronization
8
Cont….
2. Resource Management:
• The Operating System ensures the proper use of all the resources available by
deciding which resource to be used by whom for how much time.
Following are the major activities of an operating system with respect to resource
management-
• The OS manages all kinds of resources using schedulers
• CPU scheduling algorithms are used for better utilization of CPU
9
Cont….
3. Security & Protection:
Security module protects the data and information of a computer system against
malware threat and unauthorized access.
Protection refers to the mechanism for controlling the access of the resources by
the process.
Following are the major activities of an operating system with respect to the
protection-
The OS provides authentication features for each user by means of passwords
The OS ensures all access to system resources is controlled.
10
Views of OS
User view : The user view depends on the system interface that is used by the
users.
System view : According to the computer system, the operating system is the
bridge between applications and hardware. We can view an operating system as a
resource allocator. There are many resources such as CPU time, memory space, file
storage space, I/O devices etc. that are required by processes for execution.
11
Different Types of Operating System
Multiprogrammed OS
Time Shared OS
Multiprocessor OS
Distributed System
12
Batch Operating System
The users of a batch operating system do not interact with the computer directly.
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.
13
Batch Operating System
14
Multiprogrammed OS
In this the operating system picks up and begins to execute one of the jobs from
memory.
Jobs in the memory are always less than the number of jobs on disk(Job Pool).
In Multiprogramming system, CPU will never be idle and keeps on processing.
15
Multiprogrammed OS
16
Time Shared OS
Time Sharing or multitasking, is a logical extension of multiprogramming systems.
Multiple jobs are executed by switching CPU between them.
CPU time is shared by different processes, so it is called time-sharing system.
Time slice is defined by the OS for sharing CPU time between processes.
In Time sharing systems the prime focus is on minimizing the response time, while
in multiprogramming the prime focus is to maximize the CPU usage.
17
Advantages of Time Shared OS
18
Multiprocessor OS
Multiprocessor Operating System refers to the use of two or more (CPU) within a
single computer system.
These multiple CPUs are in a close communication sharing the computer bus,
memory and other peripheral devices.
These systems are referred as tightly coupled systems.
These types of systems are used when very high speed is required to process a
large volume of data.
These systems are generally used in environment like satellite control, weather
forecasting etc.
Types of multiprocessor OS are :
i. Asymmetric
ii. Symmetric
19
Asymmetric Multiprocessor OS
Asymmetric Multiprocessing OS :
A master processor controls the system & slave processor follow the instruction
of master or perform their predefined task .
BUS
20
Symmetric Multiprocessor OS
Symmetric Multiprocessing OS :
All the processor are peer processors. No concept of master & slave
BUS
21
Distributed System
22
Real Time System
A real time system has well defined fixed time constraints. Processing should be
done within the defined constraints
It is multitasking OS, the task has to be done in fixed deadline.
The real-time operating system used for a real-time application means for those
applications where data processing should be done in the fixed and small quantum
of time.
Types of real time operating system:
1. Hard real-time- No time delay should be there. Eg. Missile System
2. Soft real-time-Minor time delay can be permitable. Eg. Banking system
Applications:
23
Real Time System
Example:
24
Mobile OS
• Mobile operating system is the software platform on top of which other programs
can run on mobile devices.
• A mobile operating system is an operating system for mobile
phones, tablets, smartwatches.
Android IOS
Android is more open System IOS is a closed system
The Android applications are obtained IOS applications are available in the
from Google Play Apple app store.
Integration with other devices is not Integration with other devices is better
much better in Google Android in Apple IOS
Eg. Android 1.5 – Androids 9.0 Eg. IOS 1.0 – IOS 13.0
25
Command based OS Vs. GUI based OS
What is it? Unix is an operating system that is Linux is an example of Open Source
very popular in universities, software development and Free
companies, big enterprises etc. Operating System (OS).
Cost Different flavors of Unix have Linux can be freely distributed,
different cost structures according to downloaded freely, distributed through
vendors magazines, Books etc
User Unix operating systems were Everyone. From home users to developers
developed mainly for mainframes, and computer enthusiasts alike.
servers and workstations except OSX
Manufacturer Three biggest distributions are Linux kernel is developed by the
Solaris (Oracle), AIX (IBM) & HP-UX community. Linus Torvalds oversees
Hewlett Packard. things.
File system jfs, gpfs, hfs, hfs+, ufs, xfs, zfs format Ext2, Ext3, Ext4, Jfs, ReiserFS, Xfs, Btrfs,
support FAT, FAT32, NTFS
GUI Initially Unix was a command Linux typically provides two GUIs,
based OS, but later a GUI was KDE and Gnome
created called Common Desktop
Environment.
26
Command based DOS Vs. WINDOWS
DOS WINDOWS
It is single tasking system It is multitasking system
It is less preferable by user It is more preferable by user
27
Basic Term used in OS
Spooling: Simultaneous peripheral operations on-line, spooling refers to as a process that putting jobs in a
buffer or say spool, or temporary storage area, a special area in memory or on a disk where a
device can access them when it is ready. Spooling is useful because devices access data at
different rates.
28
MSBTE Asked Question of Operating System
(2M,4M& 6M) Question Bank of Unit-1
2 Marks Question:
1. Differentiate between Batch Operating System and Time shared Operating System.
2. (any two points)
3. Differentiate between multiprogramming and multiprocessing. (Any 2 Points)
4. List any four types of OS.
5. Define UNIX operating system.
6. What is Spooling.
7. Define degree of multiprogramming.
8. Define Operating System.
9. What is Booting Process.
4 Marks Question:
10. Compare between Windows and LINUX Operating System.(any four points)
11. Explain real time system. List it’s any four application.
17. 6 Marks:
30