What is an operating system?

Download Report

Transcript What is an operating system?

SAK3002 – IT and Its Applications
3
Chapter
COMPUTER
SOFTWARE
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Objectives of this chapter:
You can…
Identify the types of system software
Describe the functions of an operating system
Identify the types of operating system
Identify utility programs
Explain the purpose of the utilities program
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Overview
This chapter covers


System Software


Chapter 3
Operating System
Utility Program
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Introduction
Computer software is:




Chapter 3
A group of programs that connects user with
computer devices
Comprised of a sequence of instructions
Designed to instruct the computer to execute desired
functions by the users
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Introduction (cont’d)
Software Layers
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
System Software

What is system software?
Programs that
maintain operation
of computer

Two categories
Operating Systems
Chapter 3
Utility Programs
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
3.1 Operating System
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System

Chapter 3
What is an operating system?
 A group of programs that organize and manage the
whole computer operations
 OS is a set of instructions that coordinate all the
internal activities among computer hardware,
application programs and users
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System (cont’d)


OS is controlled by the kernel.
What is a kernel?



Chapter 3
Kernel is the supervisor program that manage the
memory and devices
Kernel is loaded into the memory from the hard disk
(or other storage) during booting until computer is
turned off
It is known as memory resident (because it resides in
memory as long as the power is on. Non-resident are
other programs that resides in hard disk at the same
time)
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System (cont’d)

The functions of an operating system
start the computer
(Booting)
manage programs
provide a user interface
administer
security
manage
memory
control a
network
provide file
management and other
utilities
Chapter 3
monitor
performance
establish an
Internet connection
SAK3002 – Information Technology and Its Application
schedule jobs and
configure devices
SAK3002 – IT and Its Applications
Operating System (cont’d)

Booting

Process of starting or restarting a computer


Chapter 3
Cold boot
Turning on
computer that has
been powered off
Warm boot
Restarting
computer that is
powered on
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System (cont’d)

A personal computer boot up process
Step 1. Power supply
Step 4. Results of POST are
sends signal to components in system unit
compared with data in CMOS chip
Step 2. Processor
on a USB drive, in floppy disk drive
or CD/DVD drive, and then hard
disk
Step 6. Kernel (core) of operating
system loads into RAM
accesses BIOS to start
computer
Step 3. BIOS runs tests,
called the POST, to
check components such
as mouse, keyboard,
and adapter cards
Chapter 3
Step 5. BIOS looks for system files
Step 7. Operating system loads
configuration information and
displays desktop on screen
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System (cont’d)
4
main functions of OS:
 Manage
computer programs
 Manage computer hardware
 Provides user interface
 Support application software
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System (cont’d)

Manage computer programs
Managing programs refers to how many users,
and how many programs, an operating system
can support at one time
 An OS can be single tasking, multi-tasking,
cooperative multi-tasking, preemptive multitasking, multithreading and multiprocessing
 Single tasking

 Runs
Chapter 3
only one program at a time
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System (cont’d)

Multi-tasking
 Same
concept as multiprogramming
 Allows 2 or more programs at the same time
 Divide the programs into active and inactive. Active
application is called foreground application and
inactive application is background application
 CPU does not run the programs simultaneously but
manage the resources i.e. memory based on
active/inactive applications
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System (cont’d)

Cooperative Multi-tasking
 Based
on multi-tasking concept, whereby
foreground application controls CPU until program
ends
 But if program crashes/hang, OS needs to be
rebooted

Preemptive Multi-tasking
 Based
on multi-tasking concept
 But if program crashes/hang, OS is able to take
over CPU so other programs can be maintained
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System (cont’d)

Multithreading
 One
program may execute more than one task
 Example print and edit at the same time

Multiprocessing
 Use
of 2 or more processor at the same time
 Programs run simultaneously
 Each processor manage own resources
 Hardware dependant esp. motherboard
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System (cont’d)

Manage computer hardware

Memory Unit
 OS
partitions the memory for each program.
 If memory is insufficient, OS may use virtual
memory, which allocates a portion of a storage
medium to function as additional RAM
 In virtual memory, programs/instructions are
stored in fixed-sized unit called pages
 If memory if full, OS will copy pages into swap file
in hard disk and reloaded into memory when
needed
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System (cont’d)

With virtual memory (VM), portion of hard disk is
allocated to function as RAM
Step 1. The
operating system
transfers the least
recently used data
and program
instructions to disk
because RAM is
needed for other
functions.
Chapter 3
Step 2. The
operating system
transfers data and
program instructions
from hard disk to
RAM when they are
needed.
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System (cont’d)

Input/Output Devices
 OS
provides interrupt handler, a mini program to
handle interrupt from input/output devices.
 Examples of interrupt are mouse
click/scroll/keyboard punch
 OS requires device driver to operates hardware
devices. Drivers are loaded during booting
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System (cont’d)

What is a device driver?
Program that
tells operating system
how to communicate
with device
Also called driver
Chapter 3
Device
Driver
With Plug and Play,
operating system
automatically configures
new devices as you
install them
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System (cont’d)
Spooling



Chapter 3
Sending print jobs to buffer instead of directly to printer
Print jobs line up in queue
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System (cont’d)

Provides User Interface



i.
OS manages communication between the
computers and users
Users may login, run application programs,
manage files (copy/save) and on/off computers
using any type of interface
There are 3 types of command instructions:
Command line


Chapter 3
Instructions to be typed in i.e. to save a file into diskette
is C:\WINDOWS>copy C:myfile.doc a:
Users have to memorize instructions
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System (cont’d)
ii.
Menu-driven


iii.
Graphical user interface (GUI)

Chapter 3
User selects instruction from a text-based pull-down
menu
Instructions are entered either via mouse click/
keyboard <ENTER> of arrow keys
User selects instruction by mouse click or keyboard
<ENTER> icons
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System (cont’d)


User interface
Controls how you enter data and instructions and how information
displays on screen
command-line interface
Chapter 3
menu-driven interface
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System (cont’d)

Graphical User Interface (GUI)

Chapter 3
User interacts with
menus and visual
images such as icons
and buttons
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications

Some characteristics of operating systems
Devicedependent
Runs only on
specific type of
computer
Proprietary
software
Privately owned and
limited to specific vendor
or computer model
Downward
compatible
Works with application
software written for
earlier version of
operating system
Chapter 3
Deviceindependent
Runs on many
manufacturers’
computers
Upward
compatible
Runs on new versions
of operating system
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications

Three categories of operating systems
Embedded
Network
Stand-alone
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System (cont’d)

Stand-alone
operating systems

Chapter 3
Example: Windows
Windows Version
Year Released
Windows 3.x
1990
Windows NT 3.1
1993
Windows 95
1995
Windows NT Workstation 4.0
1996
Windows 98
1998
Windows Millennium Edition
2000
Windows 2000 Professional
2000
Windows XP
2001
Windows XP SP2
2004
Windows Vista
2006
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Stand-Alone Operating Systems

Windows XP


Chapter 3
Fast, reliable Windows
operating system
Available in five editions:
Home Edition, Professional
Edition,
Tablet PC Edition,
Media Center Edition,
and 64-bit Edition
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Stand-Alone Operating Systems

Windows Vista

Successor to Windows XP,
containing a new interface
and new / enhanced features

Available in several editions,
grouped into Home and
Business categories
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Stand-Alone Operating Systems
Mac OS X


Available only for
computers manufactured
by Apple

Macintosh operating
system has been
model for most GUIs
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Stand-Alone Operating Systems

UNIX

Used by power users
because of its flexibility
and power

Most versions
offer GUI

Available for
computers of all
sizes
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Stand-Alone Operating Systems

Linux

Popular, free, multitasking
UNIX-type operating system

Open-source software—
code is available to
public

Both a stand-alone
and a network
operating system
Chapter 3
Red Hat provides a version of Linux called Red Hat
Enterprise Linux.
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Operating System (cont’d)
Network operating system


Allows users to share printer,
Internet access, files, and
programs on a network

Administers security
by establishing user name and
password for each user
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Network Operating Systems
NetWare
Examples of network
operating systems

Designed for
client/server
networks
Windows
Server 2003
UNIX / Linux
Upgrade to Windows
2000 Server
Multi-purpose
operating system
Solaris
 Version of UNIX
developed by Sun
Microsystems
 Specifically for
e-commerce
applications
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Embedded Operating Systems
 Embedded operating system


Chapter 3
Found on most mobile computers,
PDAs, and other small devices
Windows CE is
scaled-down version of Windows
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Embedded Operating Systems
Operating systems for PDAs



Chapter 3
Windows Mobile for Pocket PC
Palm OS for Palm
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Embedded Operating Systems
Embedded Linux


Chapter 3
Scaled-down Linux operating system
designed for PDAs, smart phones,
smart watches, set-top boxes,
Internet telephones, and other
devices
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Embedded Operating Systems
Symbian OS


Open-source, multitasking operating system
designed for smart phones

Make telephone calls,
save appointments,
browse Web, send
and receive e-mail
and faxes, and more
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
3.2 Utility Program
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Utility program


Chapter 3
A small program that provides an addition to the
capabilities provided by the operating system
Performs maintenance-type tasks, usually related
to managing a computer, its devices, or its
programs.
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
OS Utility Program
File manager


Performs functions
such as copying,
renaming, deleting,
and moving files

Image viewer displays
contents of graphics
file when you double
click on it
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
OS Utility Program
Personal firewall


Detects and protects a
personal computer from
unauthorized intrusions

The latest update to
Windows XP
automatically enables
the built-in personal
firewall upon
installation
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
OS Utility Program

Uninstaller
Chapter 3
Removes a
program and
In Windows XP,
uninstaller is in Add/Remove
all associated files
Programs in Control Panel
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
OS Utility Program

Disk scanner


Chapter 3
Detects and corrects
problems on hard disk
Searches for and removes
unnecessary files
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
OS Utility Program
fragmented disk


Disk defragmenter
Reorganizes files and
unused space on hard
disk so programs run
faster
disk after
defragmentation
process
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
OS Utility Program
Diagnostic utility



Chapter 3
Compiles technical information about
hardware and some software
Prepares report outlining problems
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
OS Utility Program
Backup utility


Copies selected files or
entire hard disk onto
another storage medium

Most compress files
during backup to require
less storage space
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
OS Utility Program
Screen saver


Causes monitor’s screen to
display moving image or
blank screen if there is no
activity for a specified time

To secure computer, user
configures screen saver to
require password to
deactivate
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Stand-Alone Utility Programs
Antivirus program


Identifies and removes viruses
in memory, storage media, and
incoming files

Must be updated frequently
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Stand-Alone Utility Programs
What is a virus?



Potentially damaging computer program
Affects computer without user’s knowledge
SIGNS OF
VIRUS
INFECTION
Chapter 3
• An unusual message or image is displayed on the
computer screen
• An unusual sound or music plays randomly
• The available memory is less than what should be
available
• A program or file suddenly is missing
• An unknown program or file mysteriously appears
• The size of a file changes without explanation
• A file becomes corrupted
• A program or file does not work properly
• System properties change
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Stand-Alone Utility Programs
Spyware




Chapter 3
Program placed on a computer without the user’s knowledge that
secretly collects information about the user
Often enters a computer as a result of a user installing a new program
A spyware remover is a program that detects and deletes spyware
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Stand-Alone Utility Programs
Internet filters


Programs that remove or block certain items from
being displayed
Anti-Spam
Programs
Web
Filters
Pop-up
Blockers
Chapter 3
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Stand-Alone Utility Programs
File compression utility




Chapter 3
Shrinks size of files to free up room and improve
performance
Compressed files are sometimes called zipped
files
Two popular utilities:
Winrar and WinZip
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Stand-Alone Utility Programs
CD/DVD burning software


Chapter 3
Writes text, graphics, audio,
and video files to a recordable
or rewriteable CD or DVD
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
Stand-Alone Utility Programs
Personal computer maintenance utility



Chapter 3
Identifies and fixes operating
system problems and disk
problems
Some continuously
monitor computer to
identify problems
before they occur
SAK3002 – Information Technology and Its Application
SAK3002 – IT and Its Applications
End of Chapter 3
Chapter 3
SAK3002 – Information Technology and Its Application