Introduction To Operating System
Introduction To Operating System
OS-Course Contents
• What is an OS.
• Functions of OS
• The evaluation of OS.
• Client and Server OS and Differences.
• What are the popular types of OS.
• Comparison of Different Windows OS
Internal
2
Internal
3
The User Mode is concerned with the actual interface between the user and the system.
It controls things like running applications and accessing files.
Kernel
• Kernel is a software code that reside in central core of OS. It has complete control over
system.
• When operation system boots, kernel is first part of OS to load in main memory.
• Kernel remains in main memory for entire duration of computer session. The kernel
code is usually loaded in to protected area of memory.
• Kernel performs it’s task like executing processes and handling interrupts in kernel
space.
• User performs it’s task in user area of memory.
• This memory separation is made in order to prevent user data and kernel data from
interfering with each other.
• Kernel does not interact directly with user, but it interacts using SHELL and other
programs and hardware
Internal
6
• Power On Switch sends electricity to the motherboard on a wire called the Voltage Good line.
• If the power supply is good, then the BIOS (Basic Input/Output System) chip takes over.
• In Real Mode, CPU is only capable of using approximately 1 MB of memory built into the motherboard.
• The BIOS will do a Power-On Self Test (POST) to make sure that all hardware are working.
• BIOS will then look for a small sector at the very beginning of your primary hard disk called MBR.
• The MBR contains a list, or map, of all of the partitions on your computer‘s hard disk (or disks).
• After the MBR is found the Bootstrap Loader follows basic instructions for starting up the rest of the computer, including the operating system.
• In Early Kernel Initialization stage, a smaller core of the Kernel is activated.
• This core includes the device drivers needed to use computer‘s RAM chips.
Internal
7
BIOS
Internal
8
Internal
9
Internal
10
Process Management
Internal
11
Memory Management
• Memory is a large array of words or bytes, each with its own address.
• It is a repository of quickly accessible data shared by the CPU and I/O devices.
• Main memory is a volatile storage device. When the computer made turn off everything stored
in RAM will be erased automatically.
• In addition to the physical RAM installed in your computer, most modern operating systems
allow your computer to use a virtual memory system. Virtual memory allows your computer to
use part of a permanent storage device (such as a hard disk) as extra memory.
• The operating system is responsible for the following activities in connections with memory
management:
• Keep track of which parts of memory are currently being used and by whom.
• Decide which processes to load when memory space becomes available.
• Allocate and de-allocate memory space as needed.
Internal
12
File Management
Internal
13
• Device controllers are components on the motherboard (or on expansion cards) that act as an
interface between the CPU and the actual device.
• Device drivers, which are the operating system software components that interact with the devices
controllers.
• A special device (inside CPU) called the Interrupt Controller handles the task of receiving interrupt
requests and prioritizes them to be forwarded to the processor.
• Deadlocks can occur when two (or more) processes have control of different I/O resources that are
needed by the other processes, and they are unwilling to give up control of the device.
• It performs the following activities for device management.
• Keeps tracks of all devices connected to system.
• Designates a program responsible for every device known as Input/output controller.
• Decides which process gets access to a certain device and for how long.
• Allocates devices in an effective and efficient way.
• Deallocates devices when they are no longer required.
Internal
14
• The operating system uses password protection to protect user data and
similar other techniques.
• It also prevents unauthorized access to programs and user data by
assigning access right permission to files and directories.
• The owners of information stored in a multiuser or networked computer
system may want to control use of that information, concurrent processes
should not interfere with each other.
Internal
15
• A user interface (UI) controls how you enter data and instructions and
how information is displayed on the screen
• There are two types of user interfaces
• Command Line Interface
• Graphical user Interface
Internal
16
Internal
17
• 1. Client OS :
It is an operating system that operates within desktop. It is used to obtain
services from a server. It run on the client devices like laptop, computer
and is very simple operating system. Example-Windows 98; Windows XP,
Windows Vista, Windows 7, Windows 10
• 2. Server OS :
It is an operating system that is designed to be used on server. It is used to
provide services to multiple client. It can serve multiple client at a time and
is very advanced operating. Example-Windows 2000 Server, 2003 Server,
2008 Server, 2012 Server, 2016 Server and 2019 Server
Internal
18
• Server OS • Client OS
• Runs on Server Hardware • Runs on Desktop or other portable
hardware devices
Internal
19
Client-Server Networking
Internal
20
Internal
21
Popular types of OS
• Desktop Class
• Windows
• OS X
• Unix/Linux
• Chrome OS
• Server Class
• Windows Server
• Mac OS X Server
• Unix/Linux
• Mobile Class
• Android
• iOS
• Windows Phone
Internal
22
Internal
23
• Role-Server role is a set of software programs that, when they are installed
and properly configured, lets a computer perform a specific function for multiple
users or other computers within a network.
• Roles:-Windows AD/DC Server, DNS, DHCP, File, Print, Terminal Server,
IIS
• Feature : On the other hand feature are add ons which can support or augment
the functionality of one or more roles, or improve the functionality of the server,
regardless of which roles are installed.
• Features-.NET, Remote Assistance, SNMP, telnet server & client, Failover,
Windows server Backup
Internal
24
Internal
Gauri Shankar Singh