lecture 13 operating systems
DESCRIPTION
Lecture 13 Operating Systems. Introduction to Information Technology. Dr. Ken Tsang 曾镜涛 Email: [email protected] http://www.uic.edu.hk/~kentsang/IT/IT3.htm Room E408 R9. With thanks to Dr. HP Guo. Outline. Software Basics What is an Operating System History of Operating Systems - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/1.jpg)
1
Lecture 13
Operating Systems
Introduction to Information Technology
With thanks to Dr. HP Guo
Dr. Ken Tsang 曾镜涛Email: [email protected]://www.uic.edu.hk/~kentsang/IT/IT3.htmRoom E408 R9
![Page 2: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/2.jpg)
2
Outline Software Basics What is an Operating System History of Operating Systems Booting the Computer Functions of Operating Systems Types of Operating Systems Utility Programs in Windows XP
![Page 3: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/3.jpg)
3
The Computer Level Hierarchy
![Page 4: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/4.jpg)
4
Software Basics Computer = Hardware + Software Software
Application software Address users' specific needs in the real world word processing, music software, image editing, games,
database programs, inventory control systems, etc.
System software Operating system Device drivers Utilities Programming software tools (compilers, debuggers, etc.)
![Page 5: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/5.jpg)
5
Computer System
![Page 6: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/6.jpg)
6
Who Creates Computer Software?
Programmers High-level language, easy for humans
C++, Java, etc Low-level language, used by CPU
Machine language Compiler
Translate high-level language into low-level language
![Page 7: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/7.jpg)
7
Compilation
![Page 8: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/8.jpg)
8
Operating Systems A set of programs containing instructions
that maintain and manage the computer resources, such as CPU, memory and input/output devices
Provide an interface through which the user can interact with the computer
The core of a computer’s system software
![Page 9: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/9.jpg)
9
History of Operating Systems Batch processing
Professional operators (humans!) combined decks of cards into batches, or bundles, with the appropriate instructions allowing them to be processed with minimal intervention
A program called a resident monitor allowed programs to be processed without human interaction
![Page 10: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/10.jpg)
10
History of Operating Systems Resident Monitors
Monitors were the precursors of modern day operating systems
The monitor started the job, gave control of the computer to the job, and when the job was done, the monitor resumed control of the machine
![Page 11: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/11.jpg)
11
Spooling Increases in CPU performance made
punched card batch processing less efficient Magnetic tape (as buffer) offered one way to
process decks faster SPOOLing
Simultaneous Peripheral Operation Online Allows I/O and CPU computations to occur in
parallel the simplest form of multiprogramming Spooling example: print spooling
![Page 12: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/12.jpg)
12
History of Operating Systems Multiprogramming Systems
allow several executing programs to be in memory concurrently
Timesharing system permits many users to share the same
CPU the CPU switches between user
sessions very quickly, giving each user a small slice of processor time
![Page 13: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/13.jpg)
13
Evolution of Operating Systems First-generation computers
Hardware: vacuum tubes and relays Human operators
Second-generation Computers Hardware: transistors Batch processing was introduced as
a means to keep the CPU busy Monitors helped with the processing spooling
![Page 14: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/14.jpg)
14
Third-generation computers Hardware: integrated circuits timesharing
Fourth-generation Computers Hardware: VLSI Today’s multi-task, multi-user
operating systems
Evolution of Operating Systems
![Page 15: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/15.jpg)
15
Functions of an Operating System?
monitor performance
provide a user interface
provide file management and other utilities
establish an Internet connection
control a network
administer security
start the computer manage programs
schedule jobs and configure devices
manage memory
![Page 16: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/16.jpg)
16
Start the Computer What is booting?
Cold boot Turning on computer that has been powered off
Warm boot Restarting computer that is powered on
Process of starting or restarting a computer
![Page 17: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/17.jpg)
17
Dual-Boot Dual-Boot permits two or more
operating systems to be installed on one computer
![Page 18: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/18.jpg)
18
How does a personal computer boot up?
Step 1. Power supply sends signal to components in system unit
Step 4. Results of POST are compared with data in CMOS chip
Step 2. Processor accesses BIOS to start computer
Step 3. BIOS runs tests, called the POST, to check components such as mouse, keyboard, and adapter cards
Step 5. BIOS looks for system files in floppy disk drive or CD/DVD drive, and then hard disk
Step 6. Kernel (core) of operating system loads into RAM
Step 7. Operating system loads configuration information and displays desktop on screen
![Page 19: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/19.jpg)
19
User Interface What is a user interface?
command-line interfacemenu-driven interface
Controls how you enter data and instructions and how information displays on screen
![Page 20: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/20.jpg)
20
GUI Graphical User Interface
User interacts with menus and visual images such as icons and buttons
![Page 21: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/21.jpg)
21
File System Hierarchical Directories
![Page 22: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/22.jpg)
22
Windows File naming Four parts
Drive Path File name File type (extension)
C:\Windows\System\WinTrust.hlp
![Page 23: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/23.jpg)
23
Single User / Multitasking
Foreground contains program you are using
Background contains programs that are running but are not in use
Working on two or more programs that reside in memory at same time
![Page 24: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/24.jpg)
24
Memory Management Optimizing use of random access memory (RAM) With virtual memory (VM), portion of hard disk is
allocated to function as RAM This process is called paging When an OS spends much of its time paging, instead
of executing application software, it is said to be thrashing
![Page 25: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/25.jpg)
25
Scheduling Job
Transferring items Transferring items between storage between storage
and memoryand memory
Sending Sending information information
to output deviceto output device
Processing Processing instructionsinstructions
Receiving data Receiving data from input devicefrom input device
Adjusts schedule based on job’s priority
A A jobjob is operation is operation the processor managesthe processor manages
Jobs
![Page 26: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/26.jpg)
26
Spooling Sending print jobs to buffer instead of
directly to printer Print jobs line up in queue Addresses the “slow-I/O vs fast-CPU”
problem
![Page 27: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/27.jpg)
27
Device Driver
Device Device DriverDriver
Program that Program that tells operating system tells operating system how to communicate how to communicate
with devicewith device
With With Plug and PlayPlug and Play, , operating system operating system
automatically configures automatically configures new devices as you install new devices as you install
themthem Also called Also called driverdriver
![Page 28: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/28.jpg)
28
Types of Operating System Stand-Alone Operating Systems
works on a desktop computer, notebook computer, or mobile computing device
Network Operating Systems designed specifically to support a network
Embedded Operating Systems Found on most mobile computers, PDAs,
and other small devices
![Page 29: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/29.jpg)
29
DOS (Disk Operating System)
D
Developed in early 1980s for personal computers
O
Used command-line interface when first
developed, later included menusSHardly used today
because it does not offer GUI
![Page 30: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/30.jpg)
30
DOS: Dirty Operating System
Tim Paterson
![Page 33: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/33.jpg)
33
And More Windows
![Page 34: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/34.jpg)
34
Coming soon: Windows Vista (Longhorn)
![Page 35: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/35.jpg)
35
Windows FamilyWindows 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
![Page 36: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/36.jpg)
36
Windows XP Microsoft’s fastest, most reliable Windows
operating system Five editions:
Home Edition, Professional Edition, Tablet PC Edition,Media Center Edition,and 64-bit Edition
![Page 37: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/37.jpg)
37
Mac OS X Available only for computers manufactured
by Apple
Macintosh operating system has been model for most GUIs
![Page 38: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/38.jpg)
38
UNIX Used by power users because of its
flexibility and power Most versions
offer GUI Both a stand-alone
and a network operating system
![Page 39: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/39.jpg)
39
Unix: 1969
Dennis Ritchie
Ken Thompson
Father of C
Turing Award
![Page 40: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/40.jpg)
40
Dennis:A Professional Truck Driver
![Page 41: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/41.jpg)
41
Ken: A Chess PlayerBelle: ACM chess tournament Championship in 80, 81, 82, 86
![Page 42: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/42.jpg)
42
BSD Unix: 1977'It's very simple – you read the protocol and write the code.'"
• BSD Unix
• vi
• BSD TCP/IP
• Co-founder of Sun
• Sparc Microprocessor
• NFS(Network File System)
![Page 43: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/43.jpg)
43
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
![Page 44: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/44.jpg)
44
GNU & Linux (1991)
Linus Torvalds Richard Stallman
![Page 45: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/45.jpg)
45
Others
![Page 46: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/46.jpg)
46
Mac OS
![Page 47: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/47.jpg)
47
Network OSNetWareNetWare
Designed for Designed for client/server client/server
networksnetworks
Windows Windows Server 2003Server 2003
Upgrade to Windows Upgrade to Windows 2000 Server2000 Server
UNIX / LinuxUNIX / Linux
Multi-purposeMulti-purposeoperating systemoperating system
SolarisSolaris Version of UNIX Version of UNIX developed by Sun developed by Sun
MicrosystemsMicrosystems
Specifically for Specifically for e-commerce applicationse-commerce applications
![Page 48: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/48.jpg)
48
Embedded OS What are two operating systems for PDAs? Windows Mobile for Pocket PC Palm OS for Palm, Visor, and CLIE
![Page 49: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/49.jpg)
49
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
![Page 50: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/50.jpg)
50
Utility Program System software that performs
maintenance-type tasks Also called utility
![Page 51: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/51.jpg)
51
Windows ExplorerFile Manager
![Page 52: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/52.jpg)
52
System Information
![Page 53: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/53.jpg)
53
Windows Registry A central record of all the
settings and information relating to Windows and the software and hardware you have installed on your computer
Use Regedit to change it
![Page 54: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/54.jpg)
54
Registry Editor
![Page 55: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/55.jpg)
55
Summary Software Basics What is an Operating System History of Operating Systems Booting the Computer Functions of Operating Systems Types of Operating Systems Utility Programs in Windows XP
![Page 56: Lecture 13 Operating Systems](https://reader035.vdocuments.mx/reader035/viewer/2022062519/56815275550346895dc0a399/html5/thumbnails/56.jpg)
56
The pdf slides and glossary are here:
http://www.uic.edu.hk/~davetowey/teaching/CS/it1010/lectures/13.Operating.Systems.pdf http://www.uic.edu.hk/~davetowey/teaching/CS/it1010/lectures/2x2_13.Operating.Systems.pdf http://www.uic.edu.hk/~davetowey/teaching/CS/it1010/lectures/13.Glossary.pdf