Operating Systems: Software in the Background Wednesday, July 02, 2008
1
Softwares
System Software
• Computer Program or Program
• System Software –Operates the computer. –Controls the hardware. –Interface between user, application software and hardware.
• 2 Types of Software –Application Software –System Software
Wednesday, July 02, 2008
3
Wednesday, July 02, 2008
System Software (cont.)
4
System Software (cont.) • Operating Systems
• 2 Types of System Software
–Coordinates the hardware devices. –Enables running of application softwares.
–Operating System –Utility Programs
• Software platform –Cross-platform applications Wednesday, July 02, 2008
5
Wednesday, July 02, 2008
6
1
System Software (cont.)
Operating System Objectives • Determines how valuable RAM is allotted to programs • Performs tasks related to file management • Sets priorities for handling tasks • Manages the flow of instructions, data, and information to and from the processor
• Utility Programs –Computer management functions.
Wednesday, July 02, 2008
7
Wednesday, July 02, 2008
Operating System Functions • • • • • • •
Operating System Functions (cont.)
Staring a Computer The User Interface Managing Programs Managing Memory Scheduling Jobs Configuring Devices Accessing the Web
Wednesday, July 02, 2008
• Accessing the Web • Monitoring Performance • Providing Housekeeping Services • Controlling a Network • Administering Security 9
Wednesday, July 02, 2008
10
Starting a Computer (cont.)
Staring a Computer
• When you boot, the kernel
• Booting
and other frequently used operating system instructions are loaded from the hard disk to the memory.
–Process of staring or restarting the computer.
• 2 Types of Booting –Cold Boot –Warm Boot Wednesday, July 02, 2008
8
11
Wednesday, July 02, 2008
12
2
Starting a Computer (cont.) • Kernel
Starting a Computer (cont.) 1. The power supply sends a signal to the components in the system unit. 2. The processor finds the ROM chip(s) that contain the BIOS.
–Core of OS –Manages memory and devices • Maintains the computer’s clock • Starts applications • Assigns computer resources
–Memory-resident Wednesday, July 02, 2008
13
Starting a Computer (cont.) BIOS-basic input/output system, contains the startup instructions.
3. The BIOS performs the POST. POST-power-on self test, checks system components,LEDs flicker,beeps sounds, messages are displayed.
Wednesday, July 02, 2008
14
Starting a Computer (cont.) 4. The results of the POST are compared with data in the CMOS chip. CMOS chip-stores configuration info about the computer.
15
Starting a Computer (cont.) 5. The BIOS looks for the system files. 6. The system files and the kernel of the operating system load into memory from storage.
Wednesday, July 02, 2008
Wednesday, July 02, 2008
Wednesday, July 02, 2008
16
Starting a Computer (cont.) 7. The operating system loads configuration information and displays the desktop on the screen. Startup Folder-contains programs that open automatically when the computer boots.
17
Wednesday, July 02, 2008
18
3
Starting a Computer (cont.) • Boot Drive
The User Interface • User Interface
–Drive where computer boots.
–Controls data entry and instructions. –Display
• Recovery Disk –Emergency repair disk, boot disk, rescue disk.
Wednesday, July 02, 2008
19
Wednesday, July 02, 2008
The User Interface (cont.)
20
The User Interface (cont.)
• Text-Based Software
• MS-DOS (Microsoft Disk Operating System)
–Enter or “type” commands through a keyboard.
• Ex: c:\>copy c:\file.doc to a: • Command-line interface –Command language Wednesday, July 02, 2008
21
Wednesday, July 02, 2008
The User Interface (cont.)
22
Allocating System Resources
• Graphical User Interface
• Single user/single tasking
–Interact using visual images –Select commands by “pointing and clicking” with a mouse.
• Multiuser
• Icon – represents a program, instruction, or some file.
–Select commands by “pointing and clicking” with a mouse. Wednesday, July 02, 2008
23
Wednesday, July 02, 2008
24
4
Allocating System Resources (cont.)
Allocating System Resources (cont.)
• Multitasking
• Multithreading
–(Virtually) Concurrent execution of program. –Possible through difference in speed peripheral devices.
–(Real-time) Concurrent execution of program
• Multiprocessing –Fault-tolerant computers
–Foreground • Lion’s share
–Background Wednesday, July 02, 2008
25
Wednesday, July 02, 2008
26
Managing Memory (cont.)
Managing Memory
–Page – amount of data and programs instructions that can swap at a given time.
• Memory Management –Optimize use of RAM
• Virtual Memory
–Paging – technique of swapping items between memory of storage.
–Portion of storage to function as memory (Swap File)
–Thrashing Wednesday, July 02, 2008
27
Wednesday, July 02, 2008
Scheduling Jobs (cont.)
Scheduling Jobs • Job
• Spooling
–Operation managed by the processor.
–Common for print jobs. –Sends print jobs to a buffer, rather than immediately to the printer.
• Buffer –Segment of memory or storage in which items are placed while waiting to be processed. Wednesday, July 02, 2008
28
–Queue – method in spooling 29
Wednesday, July 02, 2008
30
5
Configuring Devices (cont.)
Configuring Devices • Device Driver
• IRQ
–Tells the OS how to communicate to a device.
–Interrupt request –Communication line between the device and processor.
• Plug and Play –Automatically installs drivers. Wednesday, July 02, 2008
31
Wednesday, July 02, 2008
Monitoring Performance
Accessing the Web • Web browser
• Performance Monitor
–Browsing –Chatting –E-mailing
–Assesses and reports information about various system resources and devices. –Task Manager
• On-Line
Wednesday, July 02, 2008
33
Providing Housekeeping Services
Wednesday, July 02, 2008
34
Providing Housekeeping Services (cont.) • Organizing, copying, renaming,
• File Manager
–Performs functions related to storage and file management. • Formatting or copying disks • Displaying files • Checking used or free space
Wednesday, July 02, 2008
32
35
deleting, moving, and sorting files; creating shortcuts. Shortcuts – are icons on the desktop that runs a program when you click it.
Wednesday, July 02, 2008
36
6
Providing Housekeeping Services (cont.)
Controlling a Network
• Formatting
• Network Operating System
–Process of preparing a disk for reading and writing.
–Operating system that supports a network.
• File Allocation Table (FAT) –Table of information that the OS uses to locate files on a disk. Wednesday, July 02, 2008
37
• Server – controls access to the HW and SW on the network. • Clients – other computers on a network.
Wednesday, July 02, 2008
Administering Security
Administering Security (cont.)
• Log-on
• Passwords – Combination of characters associated with the username that allows access to computer resources.
• Usernames –Unique combination of characters that identifies one specific user.
Wednesday, July 02, 2008
38
• Asterisks (*)
39
Wednesday, July 02, 2008
Types of Operating Systems 1. Stand-Alone Operating Systems 2. Network Operating Systems 3. Embedded Operating Systems
40
Stand-alone OS • Works on desktops and notebooks • Also called client
operating systems.
Wednesday, July 02, 2008
41
Wednesday, July 02, 2008
42
7
Stand-alone OS (cont.) • • • • • •
DOS Windows Windows Windows Windows Windows
Stand-alone OS (cont.) • Windows XP • MAC OS • OS/2 Warp Client
3.x NT Workstation 98 2000 Professional Millennium Edition
Wednesday, July 02, 2008
43
Wednesday, July 02, 2008
Network OS
Network OS (cont.)
• Supports a network • Typically resides on a server.
Wednesday, July 02, 2008
44
• • • • •
45
Netware Windows NT Server Windows 2000 Server Windows .Net Server OS/2 Warp Server for EBusiness
Wednesday, July 02, 2008
Network OS (cont.)
46
Embedded OS
• Unix • Linux • Solaris
• Operating systems on most handheld devices. • Resides on the ROM chip.
Wednesday, July 02, 2008
47
Wednesday, July 02, 2008
48
8
Embedded OS (cont.)
Utility Programs • Referred to as utilities. • Performs tasks related to managing the computer, devices, or programs.
• Windows CE • Pocket PC 2002 • Palm OS
• Utility Programs – several utility programs in one package. Wednesday, July 02, 2008
49
Wednesday, July 02, 2008
Functions of Utility Programs • • • • • • • •
File Viewer
Viewing Files Compressing Files Diagnosing Problems Uninstalling Software Scanning Disks Defragmenting Disks Backing up Files and Disks Displaying Screen Savers
Wednesday, July 02, 2008
50
• Allows you to display and copy contents of a file • Picture and Fax Viewer
51
Wednesday, July 02, 2008
File Compression
52
Diagnostic Utility
• Shrinks the size of a file. • Helps free up room on storage media.
• Compiles technical information and prepares reports for identified problems.
• Zipped Files -> .zip / .rar
Wednesday, July 02, 2008
53
Wednesday, July 02, 2008
54
9
Uninstaller
Disk Scanner
• Removes installed applications.
• Detects and corrects both physical and logical problems on disk.
• Removes associated files in system.
Wednesday, July 02, 2008
• Searches for and removes unnecessary files.
55
Wednesday, July 02, 2008
Disk Scanner (cont.)
56
Disk Defragmenter
• Physical Problem
• Reorganizes the files and unused space on disks, which allows faster access to data.
–One with the media such as scratches on disk surface.
• Logical Problem –Problem with data such as corruption or cyclic redundancy checks. Wednesday, July 02, 2008
• Arranges files in contiguous sectors. 57
Wednesday, July 02, 2008
Disk Defragmenter (cont.)
58
Backup Utility
• When the contents of a file
• Allows you to copy, or backup, selected files or entire disk onto another.
are scattered across two or more noncontiguous sectors, the file is Fragmented.
• During backup, it monitors
progress and alerts if additional space.
• Fragmentation slows down disk access. Wednesday, July 02, 2008
59
Wednesday, July 02, 2008
60
10
Backup Utility (cont.)
Screen Saver
• Some backup programs, compress files.
• Causes a monitor’s screen to display multimedia or a blank screen during idle time.
• Restore Program –Returns backed up files to their original form.
Wednesday, July 02, 2008
• Originally invented to prevent ghosting. 61
Wednesday, July 02, 2008
62
Screen Savers (cont.) • Ghosting –Problem with monitors during the old days. –Permanently etched images on a monitor’s screen.
Wednesday, July 02, 2008
63
11