00 Intro
00 Intro
WhatisanOperatingSystem?
OperatingSystems
computer. It manages all
other programs on the
machine.
Introduction
•Every PC has to have one to
run other applications or
programs. It’s the first thing
“loaded”.
OperatingSystem OperatingSystem
•It performs basic tasks, •Keeping track of
such as:
files and directories
on the disk, and
•Recognizing input from the
keyboard or mouse,
•Controlling
peripheral devices
•Sending output to the such as disk drives
monitor, and printers.
1
1/28/2025
IsThereMoreThanOneTypeofOS? TypesofOperatingSystems
•Generally, there are four types, 2. Multi-user, multi-task
based on the type of computer
they control and the sort of
applications they support. Allows two or more users to run
programs at the same time. Some
operating systems permit hundreds or
1.Single-user, single even thousands of concurrent users.
task
TypesofOperatingSystems
3. Real Time Operating Systems
(CGM=Continuous
RTOS are used to control machinery, Glucose Monitor)
scientific instruments, and industrial
systems.
2
1/28/2025
TypesofOperatingSystems OS’sManageApplications
•Operating systems provide
4. Single-user, Multi-tasking a software platform on top
of which other “application”
This is the type of operating system most programs can run.
desktops and laptops use today.
OperatingSystemFunctions OS-MemoryStorageandManagement
1. Each process must have
enough memory in which
•Besides managing to execute, and
software
resources on the system,
the OS must manage It can neither run into the
memory space of another
hardware resourcesincluding memory. process,
3
1/28/2025
OS-MemoryStorageandManagement CacheMemory
•Cache - A section of a
1. The different types of memory computer's memory
in the system must be used which temporarily
properly so that each process retains recently
can run most effectively.
accessed data in order
to speed up repeated
access to the same data.
• It provides rapid
access without having
to wait for systems to
load.
RAMMemory RAMMemory
•Random access • The more RAM your computer has,
the faster programs can function.
memory (RAM) is the The two main types are called
best known form of DRAM and SRAM. SRAM is faster
computer memory. than DRAM, but, more expensive.
• RAM is considered
"random access" because
you can access any memory
cell directly if you know the Remember, that if the power is turned off,
row and column that then all data left in RAM, that has not been
intersect at that cell. saved to the hard drive, is lost.
4
1/28/2025
VirtualMemory VirtualMemory–SwapFile
•Virtual Memory – a method of using
hard disk space to provide extra
memory. It simulates additional RAM.
Okay–SoNowWhat? OS-BootingthePC
5
1/28/2025
OS-Wakeupcall OS-Wakeupcall
OS–WakeupCall
OS-WakeupCall
•It checks to make sure •Once successful, the
everything is functioning software will begin to
properly. activate the computer's
disk drives.
6
1/28/2025
OS-BootingthePC Booting
• Small devices' (phones etc)
• A bootstrap loaderis a small firmware haveboth the bootstrap
program in the form of ROM. loader and themain OS residing in
them.
• It's part of the OS and each OS
typically has its own bootstrap • Larger computers have the
loader. bootstrap loaderlocated in the
ROM and the main OSlocated in
the disk.
OS-BootingthePC OS-BootingthePC
•The bootstrap loader is a small program •The bootstrap loader sets up the
that has a single function: small driver programs that
It loads the operating system into memory interface with and control the
and allows it to begin operation. various hardware.
7
1/28/2025
OS-BootingthePC OS-BootingthePC
•It establishes the data Summary:
structures needed to BIOS is the minimum software that a
communicate within system needs to be able to start loading an
and between the operating system.
subsystems and
It does relevant self-tests then checks the
applications of the mass storage devices looking for specific
computer. software (i.e. thebootloader) to tell it how
to proceed with booting.
•Then it turns control of
the computer over to
the operating system.
Windows Desktop
8
1/28/2025
HowDoITellTheOSWhatIWantToDo? EnterCommands
•Microsoft Windows and Apple Macintosh • GUI interfaces have standards that
operating systems are examples of “graphical user are usually the same or similar in all
interfaces” or GUI’s. systems and applications.