Introduction To OS
Introduction To OS
• Software platform
–Cross-platform applications
Wednesday, July 02, 5 Wednesday, July 02, 6
2008 2008
1
System Software Operating System
(cont.) Objectives
• Utility Programs • Determines how valuable RAM is
allotted to programs
–Computer management
functions. • Performs tasks related to file
management
• Sets priorities for handling
tasks
• Manages the flow of
instructions, data, and
information to and from the
processor
Wednesday, July 02, 7 Wednesday, July 02, 8
2008 2008
Starting a Computer
Staring a Computer
(cont.)
• Booting • When you boot, the kernel
–Process of staring or and other frequently used
restarting the computer. operating system
instructions are loaded
• 2 Types of Booting from the hard disk to the
–Cold Boot memory.
–Warm Boot
2
Starting a Computer Starting a Computer
(cont.) (cont.)
• Kernel 1. The power supply sends a
–Core of OS signal to the components
–Manages memory and devices in the system unit.
• Maintains the computer’s clock 2. The processor finds the
• Starts applications ROM chip(s) that contain
• Assigns computer resources the BIOS.
–Memory-resident
3
Starting a Computer
The User Interface
(cont.)
• Boot Drive • User Interface
–Drive where computer boots. –Controls data entry and
instructions.
• Recovery Disk –Display
–Emergency repair disk, boot
disk, rescue disk.
• Command-line interface
–Command language
Wednesday, July 02, 21 Wednesday, July 02, 22
2008 2008
4
Allocating System Allocating System
Resources (cont.) Resources (cont.)
• Multitasking • Multithreading
–(Virtually) Concurrent –(Real-time) Concurrent
execution of program. execution of program
–Possible through difference
in speed peripheral devices.
• Multiprocessing
–Foreground –Fault-tolerant computers
• Lion’s share
–Background
Wednesday, July 02, 25 Wednesday, July 02, 26
2008 2008
Managing Memory
Managing Memory
(cont.)
• Memory Management –Page – amount of data and
programs instructions that
–Optimize use of RAM can swap at a given time.
Scheduling Jobs
Scheduling Jobs
(cont.)
• Job • Spooling
–Operation managed by the –Common for print jobs.
processor.
–Sends print jobs to a buffer,
rather than immediately to
• Buffer the printer.
–Segment of memory or storage
in which items are placed
while waiting to be –Queue – method in spooling
processed.
Wednesday, July 02, 29 Wednesday, July 02, 30
2008 2008
5
Configuring Devices
Configuring Devices
(cont.)
• Device Driver • IRQ
–Tells the OS how to –Interrupt request
communicate to a device. –Communication line between
the device and processor.
• Plug and Play
–Automatically installs
drivers.
Monitoring
Accessing the Web
Performance
• Web browser • Performance Monitor
–Browsing –Assesses and reports
–Chatting information about various
–E-mailing system resources and devices.
–Task Manager
• On-Line
Providing Providing
Housekeeping Housekeeping
Services Services (cont.)
• Organizing, copying, renaming,
• File Manager
deleting, moving, and sorting
–Performs functions related to files; creating shortcuts.
storage and file management. Shortcuts – are icons on the desktop that
runs a program when you click it.
• Formatting or copying disks
• Displaying files
• Checking used or free space
6
Providing
Controlling a
Housekeeping
Network
Services (cont.)
• Formatting • Network Operating System
–Process of preparing a disk –Operating system that
for reading and writing. supports a network.
• Server – controls access to the
• File Allocation Table (FAT) HW and SW on the network.
–Table of information that the • Clients – other computers on a
network.
OS uses to locate files on a
disk.
Wednesday, July 02, 37 Wednesday, July 02, 38
2008 2008
Administering Administering
Security Security (cont.)
• Log-on • Passwords
– Combination of characters
associated with the username that
• Usernames
allows access to computer
–Unique combination of resources.
characters that identifies
one specific user.
• Asterisks (*)
Types of Operating
Stand-alone OS
Systems
1. Stand-Alone Operating • Works on desktops and
Systems notebooks
2. Network Operating Systems
3. Embedded Operating Systems • Also called client
operating systems.
7
Stand-alone OS Stand-alone OS
(cont.) (cont.)
• DOS • Windows XP
• Windows 3.x • MAC OS
• Windows NT Workstation • OS/2 Warp Client
• Windows 98
• Windows 2000 Professional
• Windows Millennium Edition
8
Embedded OS (cont.) Utility Programs
• Windows CE • Referred to as utilities.
• Pocket PC 2002 • Performs tasks related to
managing the computer,
• Palm OS
devices, or programs.
Functions of
File Viewer
Utility Programs
• Viewing Files • Allows you to display and
• Compressing Files copy contents of a file
• Diagnosing Problems
• Uninstalling Software
• Picture and Fax Viewer
• Scanning Disks
• Defragmenting Disks
• Backing up Files and Disks
• Displaying Screen Savers
Wednesday, July 02, 51 Wednesday, July 02, 52
2008 2008
9
Uninstaller Disk Scanner
• Removes installed • Detects and corrects both
applications. physical and logical
problems on disk.
• Removes associated files in
system. • Searches for and removes
unnecessary files.
Disk Scanner
Disk Defragmenter
(cont.)
• Physical Problem • Reorganizes the files and
–One with the media such as unused space on disks,
scratches on disk surface. which allows faster access
to data.
• Logical Problem
–Problem with data such as • Arranges files in
corruption or cyclic contiguous sectors.
redundancy checks.
Wednesday, July 02, 57 Wednesday, July 02, 58
2008 2008
Disk Defragmenter
Backup Utility
(cont.)
• When the contents of a file • Allows you to copy, or
are scattered across two or backup, selected files or
more noncontiguous sectors, entire disk onto another.
the file is Fragmented.
• During backup, it monitors
• Fragmentation slows down progress and alerts if
disk access. additional space.
Wednesday, July 02, 59 Wednesday, July 02, 60
2008 2008
10
Backup Utility
Screen Saver
(cont.)
• Some backup programs, • Causes a monitor’s screen
compress files. to display multimedia or a
blank screen during idle
• Restore Program time.
–Returns backed up files to
their original form. • Originally invented to
prevent ghosting.
Wednesday, July 02, 61 Wednesday, July 02, 62
2008 2008
Screen Savers
(cont.)
• Ghosting
–Problem with monitors during
the old days.
–Permanently etched images on
a monitor’s screen.
11