L6 Fundamentals of Operating Systems
L6 Fundamentals of Operating Systems
Fundamentals of
Operating systems
W.C. Deshapriya 1
Learning Outcomes
After completing this lesson, student will be able to
Identify:
Overview of Operating System
Organization of Operating System
Resource Manage by OS
Different services provided by the OS
Different type of OS
2
What is an Operating Systems ?
3
What is an Operating Systems ?
4
What Operating Systems do?
5
What Operating Systems do?
User
6
Functions of an Operating System
There are three main functions of an Operating system,
7
1 Establish a user interface
• A user interface is the method of which the user and the computer
exchange information and instructions.
8
1.1 Command Line Interface (CLI)
• With a command driven interface, you hove to type instructions in order
for something to be done.
Example : MS-DOS
9
1.2 Graphical User Interface (GUI)
• GUI is where the user communicates with the computer through graphics.
10
2. Manage the computer resources
• The following resource are manage by OS:
• Processes management
• Memory management
• I/O device management
• Protection and Security management
11
2.1 Processes management
• Process are the execution of a program that performs for specified task.
• The OS helps you to create processes, schedule processes, and terminates
processes which is used by CPU.
Process
12
Processes management
• The operating system makes sure that different processes can make use of
the central processing unit (CPU) without conflicting with each other.
• Multitasking means to be able to run more than one program
simultaneously.
14
Memory management
Computer memory must be managed to ensure that:
1. more than one program can run at the same time
2. more than one document can be opened at the same time
16
2.3 I/O device management
17
2.4 Protection and Security management
• OS require to protect that computer resources such as CPU, software,
memory, user’s data etc.
• The operating system must be protect against unauthorized access, viruses,
worms etc.
• The different methods are provide to protect and security for different
computer systems.
• Authentication- The OS makes sure that all the users are authenticated
before they access the system.
Used – Username and Password
18
3. Execute and provide services for
application software
• The operating system must have the capability to load a program into
memory and execute that program.
• The programs must be able to end its execution.
19
Services Provided by the OS
• Program execution:
program, (Instructions and data) must be loaded into main memory.
I/O devices and files must be initialized for that.
21
Mode of Operating Systems
• User Mode
The User mode is normal mode where the process has limited access.
• Kernel Mode
The Kernel mode is the privileged mode where the process has unrestricted
access to system resources like hardware, memory, etc
22
Mode of Operating Systems
• User Mode
• User program executes in user mode
• Certain areas of memory need to protected from user access
• Some instructions may not be executed
• Kernel Mode
• Monitor executes (instructions) in kernel mode
• Privileged instructions may be execute
• Protected areas of memory may be accessed
23
Types of operating systems
Following are the popular types of Operating System:
• Batch Operating System
• Multitasking/Time Sharing OS
• Multiprocessing OS
• Real Time OS
• Distributed OS
• Network OS
• Mobile OS
24
Batch Operating System
25
Multitasking/ Time Sharing OS
26
Multiprocessing OS
27
Real Time OS
Distributed OS
• A distributed operating system is system
software over a collection of independent
software, networked, communicating, and
physically separate computational nodes.
• They handle jobs which are serviced by
multiple CPUs
28
Network OS
Mobile OS
• A mobile operating system (OS) is software that allows smartphones, tablet PCs and
other devices to run applications and programs.
29
Timeline of Windows OS
30
Thanks!
31