Aos M1
Aos M1
Aos M1
MODULE 1 – IT0035
service, worms, viruses, identity theft, theft of occur so frequently. Thus, the user can
service) receive an immediate response. Response
time should be < 1 second
What is a Kernel? › Each user has at least one program
Kernel is the central part of an OS which manages executing in memory
system resources and is always resident in › If several jobs ready to run at the same
memory. It also acts like a bridge between time -> CPU scheduling
application and hardware of the computer. It is › If processes don’t fit in memory, swapping
also the first program that loads after the will take place
bootloader. › Examples: Unix, Linux, Multics and
Bootloader is a program that loads and starts the Windows
boot time tasks and processes of an OS. It also 3. Distributed operating system
places the OS of a computer into memory. › Distributed systems use multiple central
processors to serve multiple real-time
TYPES OF OPERATING SYSTEM applications and multiple users. Data
Operating systems are there from the very first processing jobs are distributed among
computer generation and they keep evolving with the processors accordingly.
time. › The processors communicate with one
another through various communication
Types of operating systems which are most lines (such as high-speed buses or
commonly used: telephone lines). These are referred as
1. Batch operating system loosely coupled systems or distributed
› The user of a BOS never directly interacts systems. Processors in a distributed
with the computer. system may vary in size and function.
› Every user prepares his or her job on an These processors are referred as sites,
offline device like a punch card and nodes, computers, and so on.
submit it to the computer operator. › Examples: Telecom Network, WWW,
› To speed up processing, jobs with similar Cloud Computing, etc.
needs are batched together and run as a 4. Network operating system
group. › A NOS runs on a server and provides the
› The programmers leave their programs server the capability to manage data,
with the operator then operator sorts the users, groups, security, applications, and
programs with similar requirements into other networking functions.
batches. › The primary purpose of the network
2. Time-sharing operating systems operating system is to allow shared file
› Time-sharing or multitasking is logical and printer access among multiple
extension in which CPU switches jobs so computers in a network, typically a local
frequently that users can interact with area network (LAN), a private network or
each job while it is running, creating to other networks.
interactive computing. › Examples: Microsoft Windows Server
› Multiple jobs are executed by the CPU by 2003, Microsoft Windows Server 2008,
switching between them, but the switches UNIX, Linux, Mac OS X Server, Novell
Applied Operating System
MODULE 1 – IT0035
NetWare, and BSD/OS (Berkeley Software • Each device controller has a local buffer.
Design). • CPU moves data from/to main memory
5. Real-time operating system to/from local buffers.
› RTOS is an operating system intended to • I/O is from the device to local buffer of
serve real-time systems/applications that controller.
process data as it comes in, mostly • Device controller informs CPU that it has
without buffer delay. finished its operation by causing an interrupt.
› The time interval required to process and
respond to inputs is very small. This time What is an Interrupt?
interval is called response time. o Interrupt is a signal emitted by hardware or
› Real-time systems are used when there software when a process or an event needs
are time requirements are very strict like immediate attention.
missile systems, air traffic control systems, o It alerts the processor temporarily to a high
robots, etc. priority process requiring interruption of the
› Examples: LynxOS, OSE, QNX, RTLinux, current working process and then return to its
VxWorks, Windows CE previous task.
6. Handheld operating system o Types of Interrupts:
› It is also known as Mobile OS which is ▪ Hardware interrupt
built exclusively for a mobile device, such ▪ Software interrupt
as a smartphone, personal digital o An operating system is interrupt driven.
assistant (PDA), tablet, wearable devices
Hardware Interrupt
or other embedded mobile OS.
› Examples: Android, Symbian, iOS, • a signal created and sent to the CPU that is
BlackBerry OS and Windows Mobile. caused by some action taken by a hardware
device.
COMPUTER SYSTEM ORGANIZATION • Example: When a key is pressed or when the
mouse is moved.
Software Interrupt
• arises due to illegal and erroneous use of an
instruction or data. It often occurs when an
application software terminates or when it
requests the operating system for some
• One or more CPUs, device controllers connect service.
through common bus providing access to • Example: stack overflow, division by zero,
shared memory. invalid opcode, etc. These are also called
• Concurrent execution of CPUs and devices traps.
completing for memory cycles.
• I/O devices and the CPU can execute Interrupt Handling
concurrently. × The operating system preserves the state of
• Each device controller is in charge of a the CPU by storing registers and the program
particular device type. counter.
Applied Operating System
MODULE 1 – IT0035