SlideShare a Scribd company logo
1 of 58
Download to read offline
Connecting with Computer Science 2
Objectives
• Learn what an operating system is
• Become familiar with the different types of operating
systems
• Identify the major functions of an operating system
• Understand how operating systems manage processes
Connecting with Computer Science 3
Objectives (continued)
• Understand how operating systems manage resources
• Understand how operating systems provide security
• Learn how to perform basic operating system file
management functions in Windows, UNIX, and DOS
Connecting with Computer Science 4
Why You Need to Know About...
Operating Systems
• Operating System(OS): mediates all activity within
computer
• System knowledge improves efficiency
• Practical skills easily acquired
– Demonstrate basic folder and file functions
Connecting with Computer Science 5
What Is an Operating System?
• OS: software control center
– Resident in main memory (RAM)
– Interfaces user, applications, hardware with CPU
• Supervises and facilitates program execution
• Connects hardware to CPU with device drivers
• Common brands: Microsoft Windows, UNIX, Linux,
Mac OS
Connecting with Computer Science 6
Connecting with Computer Science 7
What Is an Operating System?
(continued)
• OS has (2) main program regions
– Kernel: system core loaded at boot time by BIOS
– Modules: components provide user/device interface
• Platform: OS fitted to a particular CPU
• Cross-Platform application: runs on multiple platforms
Connecting with Computer Science 8
Connecting with Computer Science 9
What Is an Operating System?
(continued)
• Table 5-1: OS development in historical context
Connecting with Computer Science 10
Connecting with Computer Science 11
Connecting with Computer Science 12
Types of Operating Systems
• OS classification schemes based on features and use
– Single-tasking; e.g., DOS and Windows 3.x
– Multi-tasking; e.g., Windows, Mac OS, UNIX
– Network Operating Systems NOS; e.g., NetWare,
UNIX, Windows 2000 Server, and Windows Server
2003
Connecting with Computer Science 13
Types of Operating Systems
(continued)
• OS design parameters tailored to customer base
– Microsoft Windows and Mac OS appeal to home and
small business users
• User-friendly interfaces and multimedia capabilities
– UNIX often the OS of choice in the server environment
• Stability, multitasking, security, multiprocessing
• Every multipurpose device with CPU must have an OS
– Desktops, clients, servers, PDAs, cell phones, appliances
Connecting with Computer Science 14
Functions of an
Operating System
• All operating systems perform four basic functions:
– Provide a user interface
– Manage processes
– Manage resources
– Provide security
Connecting with Computer Science 15
Provide A User Interface
• User interface: program provides system access
• Two interface types:
– Command line interface (console operating system)
• Text input entered at command prompt
• Output displayed as characters and numbers
– Graphical User Interface (GUI)
• Input devices: keyboard, mouse, touch screen, audio
• Command OS via menu selections in open window
Connecting with Computer Science 16
Connecting with Computer Science 17
Provide A User Interface
(continued)
• Example interfaces
– GUI: Microsoft Windows and Mac OS
– Command-line (console window)
• Standard UNIX (can be fitted with GUI)
• DOS (disk operating system): MS console OS
– Windows backwardly compatible with DOS
Connecting with Computer Science 18
Manage Processes
• The OS loads, starts, supervises, stops processes
– Process is a running program
– Processes may start (spawn) other processes to support
them
• In Windows, Task Manager shows running processes
– Accessed by pressing Ctrl+Alt+Del keys
– Not available for single-tasking DOS
Connecting with Computer Science 19
Connecting with Computer Science 20
Connecting with Computer Science 21
Manage Processes (continued)
• In UNIX/Linux, running process information also
available
– type ps-aux at console prompt for running processes
• CPUs only run one process at a time
– Von Neumann machine supports serial execution
– Only one instruction from one single program per
clock cycle
Connecting with Computer Science 22
Manage Processes (continued)
• Time slicing: OS time management method
– Allocate multiple processes to a single CPU
– Illusion of simultaneous execution
– Attributable to the different speeds of devices
– CPU executes billions of instructions per second
– Memory, keyboard, monitor, and network adapter
slower by many orders of magnitude
– CPU multitasks while waiting
Connecting with Computer Science 23
Manage Processes (continued)
• Efficiencies generated with cost of system complexity
– OS needs to distinguish between ready/waiting process
– OS needs to service asynchronous I/O device request
– Interrupt handling: routine re-allocates processes to
CPU
Connecting with Computer Science 24
Manage Resources
• OS is a resource manager
– Configure I/O devices within environment
• Plug and Play (PnP) automates process (from 1995)
• Relieve applications of direct I/O interface
– Recognize and eliminate deadlock
• Circular wait for resources freezes system
• OS must remedy or system will need rebooting
Connecting with Computer Science 25
Manage Memory
• The OS is a resource manager
– Monitor free space in memory
– Load programs and data into memory location
– Keep track of instruction trace
– Reallocate memory as processes come and go
Connecting with Computer Science 26
Provide Security
• The OS protects memory and other resources
• Unintended violation
– Application writes into address space of another process
– OS prevention: place boundaries around processes
• Intended violation (security issue)
– Unauthorized access of programs or devices undesirable
– OS prevention
• System administrators set up password protected accounts
• Group policies automatically assigns rights/privileges
Connecting with Computer Science 27
Using An Operating System
• OS concepts enable adaptation to individual design
• Practical knowledge also essential
– Starting and running programs
– Managing system resources
• Skills focus: basic file management in various
operating systems
Connecting with Computer Science 28
Managing Disk Files
• Basic OS file management features
– Dynamic file naming
– Folder or directory creation and modification
– Formal folder structure needed
• System is treelike
• Single root level and one or more branches
• Files viewed as leaves, or nodes on the tree structure
• Windows Explorer: manage files through graphical
interface
Connecting with Computer Science 29
Connecting with Computer Science 30
Managing Disk Files (continued)
• UNIX/DOS command prompt: access directory
through the console window
• UNIX/DOS: command-line switches (parameters/flags)
– Example DOS command: DIR C:*.* /P
• Causes OS to list all files located at the root of the C drive
• /P switch modifies DIR command with screen pause
– In DOS enter HELP <command> to get more details
– In UNIX or Linux, enter man <command> for manual
Connecting with Computer Science 31
Connecting with Computer Science 32
Connecting with Computer Science 33
Managing Disk Files (continued)
• Present (8) file and folder operations in XP, DOS,
UNIX
• Partitioning disks: dividing surface into specific areas
– Windows/DOS: use FDISK to partition drives
– UNIX: use fdisk
• Formatting disks
– Arrange disk surface into addressable areas
– Set up basic directory tree structure
– Copy OS onto back-up boot disk
Connecting with Computer Science 34
Connecting with Computer Science 35
Connecting with Computer Science 36
Managing Disk Files (continued)
• Creating folders (subdirectories)
– Treelike file structure available after partitioning and
formatting
– Main level called the root
• Create one or more folders at root
• Each folder lies within root folder, or within another
folder level
Connecting with Computer Science 37
Connecting with Computer Science 38
Connecting with Computer Science 39
Managing Disk Files (continued)
– Folders in another folder are child folders or
subdirectories
– Container folders are parents
– Structure has unlimited depth (5–10 recommended)
– Each OS enables user to create directories (folders)
• Folders named according to specific rules
• UNIX is case sensitive, DOS and Windows are not
Connecting with Computer Science 40
Managing Disk Files (continued)
• Listing the Contents of Drives and Folders
– XP lists drive/folder contents via GUI (Windows
Explorer)
– DOS/UNIX pass same information with text-based
commands
Connecting with Computer Science 41
Connecting with Computer Science 42
Connecting with Computer Science 43
Managing Disk Files (continued)
• Renaming Folders and Files
– Every OS provides procedures for renaming
Connecting with Computer Science 44
Connecting with Computer Science 45
Managing Disk Files (continued)
• Deleting Folders and Files
– Every OS allows for files to be deleted
– XP also allows recovery (Recycle Bin)
– Wildcard: symbol used to select directories
• Asterisk (*) and question mark (?) are wildcards
• Example: *.exe signifies all .exe files
Connecting with Computer Science 46
Connecting with Computer Science 47
Connecting with Computer Science 48
Managing Disk Files (continued)
• Copying Files and Folders
– Files can be copied into folders or stored at root
– Possible after partitioning,formatting, file creation
Connecting with Computer Science 49
Connecting with Computer Science 50
Connecting with Computer Science 51
Connecting with Computer Science 52
Managing Disk Files
(continued)
• Moving Files and Folders
– Similar to copying files
– Copy command followed by delete command
Connecting with Computer Science 53
Connecting with Computer Science 54
Connecting with Computer Science 55
One Last Thought
• OS knowledge essential for computer scientists
• OS concepts taught alongside practical skills
• Expand OS toolkit beyond basic file management
• Advanced study recommended
Connecting with Computer Science 56
Summary
• OS is the software control center of the computer
• OS consists of a kernel and other system programs
• OS loaded into RAM by program in BIOS chip
• OS may be single tasking or multitasking
• Time slicing: OS method for multitasking
Connecting with Computer Science 57
Summary (continued)
• Basic OS tasks: provide user interface, manage
processes, manage resources, provide security
• Two OS interfaces: GUI and console window
• OS supervises program in execution (process)
• OS interfaces hardware elements through drivers
• OS protects system from intended/unintended
violations
Connecting with Computer Science 58
Summary (continued)
• OS file management:
• Partitioning/Formatting disks
• Creating folders (subdirectories)
• Listing/Renaming folders and files
• Deleting/Copying/Moving folders and files

More Related Content

Similar to chapter05 - Operating System.pdf

unixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdfunixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdf
IxtiyorTeshaboyev
 
Linux操作系统01 简介
Linux操作系统01 简介Linux操作系统01 简介
Linux操作系统01 简介
lclsg123
 

Similar to chapter05 - Operating System.pdf (20)

unixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdfunixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdf
 
Operating System's Concept, Working, Types, Part, and Many More
Operating System's Concept, Working, Types, Part, and Many MoreOperating System's Concept, Working, Types, Part, and Many More
Operating System's Concept, Working, Types, Part, and Many More
 
Bca i-fundamental of computer-u-3-functions operating systems
Bca  i-fundamental of  computer-u-3-functions operating systemsBca  i-fundamental of  computer-u-3-functions operating systems
Bca i-fundamental of computer-u-3-functions operating systems
 
Selecting and Installing Operating System
Selecting and Installing Operating SystemSelecting and Installing Operating System
Selecting and Installing Operating System
 
Os unit 1(cont)
Os unit 1(cont)Os unit 1(cont)
Os unit 1(cont)
 
Mca i-fundamental of computer-u-3-functions operating systems
Mca  i-fundamental of  computer-u-3-functions operating systemsMca  i-fundamental of  computer-u-3-functions operating systems
Mca i-fundamental of computer-u-3-functions operating systems
 
KMSUnix and Linux.pptx
KMSUnix and Linux.pptxKMSUnix and Linux.pptx
KMSUnix and Linux.pptx
 
Advanced_OS_Unit 1 & 2.ppt
Advanced_OS_Unit 1 & 2.pptAdvanced_OS_Unit 1 & 2.ppt
Advanced_OS_Unit 1 & 2.ppt
 
01. Introduction.ppt
01. Introduction.ppt01. Introduction.ppt
01. Introduction.ppt
 
chapter 1 introduction to operating system
chapter 1 introduction to operating systemchapter 1 introduction to operating system
chapter 1 introduction to operating system
 
unit1 part1.ppt
unit1 part1.pptunit1 part1.ppt
unit1 part1.ppt
 
lecture1 details of operating system abraham silberchatz
lecture1 details of operating system abraham silberchatzlecture1 details of operating system abraham silberchatz
lecture1 details of operating system abraham silberchatz
 
Unix operating system
Unix operating systemUnix operating system
Unix operating system
 
Spsl unit1
Spsl   unit1Spsl   unit1
Spsl unit1
 
Unix _linux_fundamentals_for_hpc-_b
Unix  _linux_fundamentals_for_hpc-_bUnix  _linux_fundamentals_for_hpc-_b
Unix _linux_fundamentals_for_hpc-_b
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Computing 8
Computing 8Computing 8
Computing 8
 
Introduction of operating system
Introduction of operating systemIntroduction of operating system
Introduction of operating system
 
Linux操作系统01 简介
Linux操作系统01 简介Linux操作系统01 简介
Linux操作系统01 简介
 
Unix Operaring System
Unix Operaring SystemUnix Operaring System
Unix Operaring System
 

More from satonaka3

chapter14 - Emerging Technologies.pdf
chapter14 - Emerging Technologies.pdfchapter14 - Emerging Technologies.pdf
chapter14 - Emerging Technologies.pdf
satonaka3
 
chapter13 - Computing Security Ethics.pdf
chapter13 - Computing Security Ethics.pdfchapter13 - Computing Security Ethics.pdf
chapter13 - Computing Security Ethics.pdf
satonaka3
 
chapter12 - Software engineering.pdf
chapter12 - Software engineering.pdfchapter12 - Software engineering.pdf
chapter12 - Software engineering.pdf
satonaka3
 
chapter10 - File structures.pdf
chapter10 - File structures.pdfchapter10 - File structures.pdf
chapter10 - File structures.pdf
satonaka3
 
chapter09 -Programming Data Structures.pdf
chapter09 -Programming Data Structures.pdfchapter09 -Programming Data Structures.pdf
chapter09 -Programming Data Structures.pdf
satonaka3
 
chapter08 - Database fundamentals.pdf
chapter08 - Database fundamentals.pdfchapter08 - Database fundamentals.pdf
chapter08 - Database fundamentals.pdf
satonaka3
 
chapter07 - The Internet.pdf
chapter07 - The Internet.pdfchapter07 - The Internet.pdf
chapter07 - The Internet.pdf
satonaka3
 
chapter06 - Networks.pdf
chapter06 - Networks.pdfchapter06 - Networks.pdf
chapter06 - Networks.pdf
satonaka3
 
Numbering system data representation
Numbering system data representationNumbering system data representation
Numbering system data representation
satonaka3
 

More from satonaka3 (10)

chapter14 - Emerging Technologies.pdf
chapter14 - Emerging Technologies.pdfchapter14 - Emerging Technologies.pdf
chapter14 - Emerging Technologies.pdf
 
chapter13 - Computing Security Ethics.pdf
chapter13 - Computing Security Ethics.pdfchapter13 - Computing Security Ethics.pdf
chapter13 - Computing Security Ethics.pdf
 
chapter12 - Software engineering.pdf
chapter12 - Software engineering.pdfchapter12 - Software engineering.pdf
chapter12 - Software engineering.pdf
 
chapter11 - Programming.pdf
chapter11 - Programming.pdfchapter11 - Programming.pdf
chapter11 - Programming.pdf
 
chapter10 - File structures.pdf
chapter10 - File structures.pdfchapter10 - File structures.pdf
chapter10 - File structures.pdf
 
chapter09 -Programming Data Structures.pdf
chapter09 -Programming Data Structures.pdfchapter09 -Programming Data Structures.pdf
chapter09 -Programming Data Structures.pdf
 
chapter08 - Database fundamentals.pdf
chapter08 - Database fundamentals.pdfchapter08 - Database fundamentals.pdf
chapter08 - Database fundamentals.pdf
 
chapter07 - The Internet.pdf
chapter07 - The Internet.pdfchapter07 - The Internet.pdf
chapter07 - The Internet.pdf
 
chapter06 - Networks.pdf
chapter06 - Networks.pdfchapter06 - Networks.pdf
chapter06 - Networks.pdf
 
Numbering system data representation
Numbering system data representationNumbering system data representation
Numbering system data representation
 

Recently uploaded

Top profile Call Girls In godhra [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In godhra [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In godhra [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In godhra [ 7014168258 ] Call Me For Genuine Models We...
gajnagarg
 
Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...
gajnagarg
 
Top profile Call Girls In Shillong [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Shillong [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Shillong [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Shillong [ 7014168258 ] Call Me For Genuine Models ...
gajnagarg
 
Top profile Call Girls In daman [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In daman [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In daman [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In daman [ 7014168258 ] Call Me For Genuine Models We ...
gajnagarg
 
Girls in Aiims Metro (delhi) call me [🔝9953056974🔝] escort service 24X7
Girls in Aiims Metro (delhi) call me [🔝9953056974🔝] escort service 24X7Girls in Aiims Metro (delhi) call me [🔝9953056974🔝] escort service 24X7
Girls in Aiims Metro (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
b-sc-agri-course-curriculum.pdf for Karnataka state board
b-sc-agri-course-curriculum.pdf for Karnataka state boardb-sc-agri-course-curriculum.pdf for Karnataka state board
b-sc-agri-course-curriculum.pdf for Karnataka state board
ramyaul734
 
Cara Gugurkan Kandungan Awal Kehamilan 1 bulan (087776558899)
Cara Gugurkan Kandungan Awal Kehamilan 1 bulan (087776558899)Cara Gugurkan Kandungan Awal Kehamilan 1 bulan (087776558899)
Cara Gugurkan Kandungan Awal Kehamilan 1 bulan (087776558899)
Cara Menggugurkan Kandungan 087776558899
 
怎样办理哥伦比亚大学毕业证(Columbia毕业证书)成绩单学校原版复制
怎样办理哥伦比亚大学毕业证(Columbia毕业证书)成绩单学校原版复制怎样办理哥伦比亚大学毕业证(Columbia毕业证书)成绩单学校原版复制
怎样办理哥伦比亚大学毕业证(Columbia毕业证书)成绩单学校原版复制
yynod
 
Simple, 3-Step Strategy to Improve Your Executive Presence (Even if You Don't...
Simple, 3-Step Strategy to Improve Your Executive Presence (Even if You Don't...Simple, 3-Step Strategy to Improve Your Executive Presence (Even if You Don't...
Simple, 3-Step Strategy to Improve Your Executive Presence (Even if You Don't...
Angela Justice, PhD
 
<DUBAI>Abortion pills IN UAE {{+971561686603*^Mifepristone & Misoprostol in D...
<DUBAI>Abortion pills IN UAE {{+971561686603*^Mifepristone & Misoprostol in D...<DUBAI>Abortion pills IN UAE {{+971561686603*^Mifepristone & Misoprostol in D...
<DUBAI>Abortion pills IN UAE {{+971561686603*^Mifepristone & Misoprostol in D...
gynedubai
 

Recently uploaded (20)

Top profile Call Girls In godhra [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In godhra [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In godhra [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In godhra [ 7014168258 ] Call Me For Genuine Models We...
 
Personal Brand Exploration - Fernando Negron
Personal Brand Exploration - Fernando NegronPersonal Brand Exploration - Fernando Negron
Personal Brand Exploration - Fernando Negron
 
Kannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best Service
Kannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best ServiceKannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best Service
Kannada Call Girls Mira Bhayandar WhatsApp +91-9930687706, Best Service
 
Personal Brand Exploration ppt.- Ronnie Jones
Personal Brand  Exploration ppt.- Ronnie JonesPersonal Brand  Exploration ppt.- Ronnie Jones
Personal Brand Exploration ppt.- Ronnie Jones
 
Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Jabalpur [ 7014168258 ] Call Me For Genuine Models ...
 
Novo Nordisk Kalundborg. We are expanding our manufacturing hub in Kalundborg...
Novo Nordisk Kalundborg. We are expanding our manufacturing hub in Kalundborg...Novo Nordisk Kalundborg. We are expanding our manufacturing hub in Kalundborg...
Novo Nordisk Kalundborg. We are expanding our manufacturing hub in Kalundborg...
 
Vip Malegaon Escorts Service Girl ^ 9332606886, WhatsApp Anytime Malegaon
Vip Malegaon Escorts Service Girl ^ 9332606886, WhatsApp Anytime MalegaonVip Malegaon Escorts Service Girl ^ 9332606886, WhatsApp Anytime Malegaon
Vip Malegaon Escorts Service Girl ^ 9332606886, WhatsApp Anytime Malegaon
 
Top profile Call Girls In Shillong [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Shillong [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Shillong [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Shillong [ 7014168258 ] Call Me For Genuine Models ...
 
Joshua Minker Brand Exploration Sports Broadcaster .pptx
Joshua Minker Brand Exploration Sports Broadcaster .pptxJoshua Minker Brand Exploration Sports Broadcaster .pptx
Joshua Minker Brand Exploration Sports Broadcaster .pptx
 
Top profile Call Girls In daman [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In daman [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In daman [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In daman [ 7014168258 ] Call Me For Genuine Models We ...
 
Mysore Escorts Service Girl ^ 9332606886, WhatsApp Anytime Mysore
Mysore Escorts Service Girl ^ 9332606886, WhatsApp Anytime MysoreMysore Escorts Service Girl ^ 9332606886, WhatsApp Anytime Mysore
Mysore Escorts Service Girl ^ 9332606886, WhatsApp Anytime Mysore
 
Girls in Aiims Metro (delhi) call me [🔝9953056974🔝] escort service 24X7
Girls in Aiims Metro (delhi) call me [🔝9953056974🔝] escort service 24X7Girls in Aiims Metro (delhi) call me [🔝9953056974🔝] escort service 24X7
Girls in Aiims Metro (delhi) call me [🔝9953056974🔝] escort service 24X7
 
b-sc-agri-course-curriculum.pdf for Karnataka state board
b-sc-agri-course-curriculum.pdf for Karnataka state boardb-sc-agri-course-curriculum.pdf for Karnataka state board
b-sc-agri-course-curriculum.pdf for Karnataka state board
 
drug book file on obs. and gynae clinical pstings
drug book file on obs. and gynae clinical pstingsdrug book file on obs. and gynae clinical pstings
drug book file on obs. and gynae clinical pstings
 
Cara Gugurkan Kandungan Awal Kehamilan 1 bulan (087776558899)
Cara Gugurkan Kandungan Awal Kehamilan 1 bulan (087776558899)Cara Gugurkan Kandungan Awal Kehamilan 1 bulan (087776558899)
Cara Gugurkan Kandungan Awal Kehamilan 1 bulan (087776558899)
 
怎样办理哥伦比亚大学毕业证(Columbia毕业证书)成绩单学校原版复制
怎样办理哥伦比亚大学毕业证(Columbia毕业证书)成绩单学校原版复制怎样办理哥伦比亚大学毕业证(Columbia毕业证书)成绩单学校原版复制
怎样办理哥伦比亚大学毕业证(Columbia毕业证书)成绩单学校原版复制
 
B.tech Civil Engineering Major Project by Deepak Kumar ppt.pdf
B.tech Civil Engineering Major Project by Deepak Kumar ppt.pdfB.tech Civil Engineering Major Project by Deepak Kumar ppt.pdf
B.tech Civil Engineering Major Project by Deepak Kumar ppt.pdf
 
Simple, 3-Step Strategy to Improve Your Executive Presence (Even if You Don't...
Simple, 3-Step Strategy to Improve Your Executive Presence (Even if You Don't...Simple, 3-Step Strategy to Improve Your Executive Presence (Even if You Don't...
Simple, 3-Step Strategy to Improve Your Executive Presence (Even if You Don't...
 
7737669865 Call Girls In Ahmedabad Escort Service Available 24×7 In In Ahmedabad
7737669865 Call Girls In Ahmedabad Escort Service Available 24×7 In In Ahmedabad7737669865 Call Girls In Ahmedabad Escort Service Available 24×7 In In Ahmedabad
7737669865 Call Girls In Ahmedabad Escort Service Available 24×7 In In Ahmedabad
 
<DUBAI>Abortion pills IN UAE {{+971561686603*^Mifepristone & Misoprostol in D...
<DUBAI>Abortion pills IN UAE {{+971561686603*^Mifepristone & Misoprostol in D...<DUBAI>Abortion pills IN UAE {{+971561686603*^Mifepristone & Misoprostol in D...
<DUBAI>Abortion pills IN UAE {{+971561686603*^Mifepristone & Misoprostol in D...
 

chapter05 - Operating System.pdf

  • 1.
  • 2. Connecting with Computer Science 2 Objectives • Learn what an operating system is • Become familiar with the different types of operating systems • Identify the major functions of an operating system • Understand how operating systems manage processes
  • 3. Connecting with Computer Science 3 Objectives (continued) • Understand how operating systems manage resources • Understand how operating systems provide security • Learn how to perform basic operating system file management functions in Windows, UNIX, and DOS
  • 4. Connecting with Computer Science 4 Why You Need to Know About... Operating Systems • Operating System(OS): mediates all activity within computer • System knowledge improves efficiency • Practical skills easily acquired – Demonstrate basic folder and file functions
  • 5. Connecting with Computer Science 5 What Is an Operating System? • OS: software control center – Resident in main memory (RAM) – Interfaces user, applications, hardware with CPU • Supervises and facilitates program execution • Connects hardware to CPU with device drivers • Common brands: Microsoft Windows, UNIX, Linux, Mac OS
  • 7. Connecting with Computer Science 7 What Is an Operating System? (continued) • OS has (2) main program regions – Kernel: system core loaded at boot time by BIOS – Modules: components provide user/device interface • Platform: OS fitted to a particular CPU • Cross-Platform application: runs on multiple platforms
  • 9. Connecting with Computer Science 9 What Is an Operating System? (continued) • Table 5-1: OS development in historical context
  • 12. Connecting with Computer Science 12 Types of Operating Systems • OS classification schemes based on features and use – Single-tasking; e.g., DOS and Windows 3.x – Multi-tasking; e.g., Windows, Mac OS, UNIX – Network Operating Systems NOS; e.g., NetWare, UNIX, Windows 2000 Server, and Windows Server 2003
  • 13. Connecting with Computer Science 13 Types of Operating Systems (continued) • OS design parameters tailored to customer base – Microsoft Windows and Mac OS appeal to home and small business users • User-friendly interfaces and multimedia capabilities – UNIX often the OS of choice in the server environment • Stability, multitasking, security, multiprocessing • Every multipurpose device with CPU must have an OS – Desktops, clients, servers, PDAs, cell phones, appliances
  • 14. Connecting with Computer Science 14 Functions of an Operating System • All operating systems perform four basic functions: – Provide a user interface – Manage processes – Manage resources – Provide security
  • 15. Connecting with Computer Science 15 Provide A User Interface • User interface: program provides system access • Two interface types: – Command line interface (console operating system) • Text input entered at command prompt • Output displayed as characters and numbers – Graphical User Interface (GUI) • Input devices: keyboard, mouse, touch screen, audio • Command OS via menu selections in open window
  • 17. Connecting with Computer Science 17 Provide A User Interface (continued) • Example interfaces – GUI: Microsoft Windows and Mac OS – Command-line (console window) • Standard UNIX (can be fitted with GUI) • DOS (disk operating system): MS console OS – Windows backwardly compatible with DOS
  • 18. Connecting with Computer Science 18 Manage Processes • The OS loads, starts, supervises, stops processes – Process is a running program – Processes may start (spawn) other processes to support them • In Windows, Task Manager shows running processes – Accessed by pressing Ctrl+Alt+Del keys – Not available for single-tasking DOS
  • 21. Connecting with Computer Science 21 Manage Processes (continued) • In UNIX/Linux, running process information also available – type ps-aux at console prompt for running processes • CPUs only run one process at a time – Von Neumann machine supports serial execution – Only one instruction from one single program per clock cycle
  • 22. Connecting with Computer Science 22 Manage Processes (continued) • Time slicing: OS time management method – Allocate multiple processes to a single CPU – Illusion of simultaneous execution – Attributable to the different speeds of devices – CPU executes billions of instructions per second – Memory, keyboard, monitor, and network adapter slower by many orders of magnitude – CPU multitasks while waiting
  • 23. Connecting with Computer Science 23 Manage Processes (continued) • Efficiencies generated with cost of system complexity – OS needs to distinguish between ready/waiting process – OS needs to service asynchronous I/O device request – Interrupt handling: routine re-allocates processes to CPU
  • 24. Connecting with Computer Science 24 Manage Resources • OS is a resource manager – Configure I/O devices within environment • Plug and Play (PnP) automates process (from 1995) • Relieve applications of direct I/O interface – Recognize and eliminate deadlock • Circular wait for resources freezes system • OS must remedy or system will need rebooting
  • 25. Connecting with Computer Science 25 Manage Memory • The OS is a resource manager – Monitor free space in memory – Load programs and data into memory location – Keep track of instruction trace – Reallocate memory as processes come and go
  • 26. Connecting with Computer Science 26 Provide Security • The OS protects memory and other resources • Unintended violation – Application writes into address space of another process – OS prevention: place boundaries around processes • Intended violation (security issue) – Unauthorized access of programs or devices undesirable – OS prevention • System administrators set up password protected accounts • Group policies automatically assigns rights/privileges
  • 27. Connecting with Computer Science 27 Using An Operating System • OS concepts enable adaptation to individual design • Practical knowledge also essential – Starting and running programs – Managing system resources • Skills focus: basic file management in various operating systems
  • 28. Connecting with Computer Science 28 Managing Disk Files • Basic OS file management features – Dynamic file naming – Folder or directory creation and modification – Formal folder structure needed • System is treelike • Single root level and one or more branches • Files viewed as leaves, or nodes on the tree structure • Windows Explorer: manage files through graphical interface
  • 30. Connecting with Computer Science 30 Managing Disk Files (continued) • UNIX/DOS command prompt: access directory through the console window • UNIX/DOS: command-line switches (parameters/flags) – Example DOS command: DIR C:*.* /P • Causes OS to list all files located at the root of the C drive • /P switch modifies DIR command with screen pause – In DOS enter HELP <command> to get more details – In UNIX or Linux, enter man <command> for manual
  • 33. Connecting with Computer Science 33 Managing Disk Files (continued) • Present (8) file and folder operations in XP, DOS, UNIX • Partitioning disks: dividing surface into specific areas – Windows/DOS: use FDISK to partition drives – UNIX: use fdisk • Formatting disks – Arrange disk surface into addressable areas – Set up basic directory tree structure – Copy OS onto back-up boot disk
  • 36. Connecting with Computer Science 36 Managing Disk Files (continued) • Creating folders (subdirectories) – Treelike file structure available after partitioning and formatting – Main level called the root • Create one or more folders at root • Each folder lies within root folder, or within another folder level
  • 39. Connecting with Computer Science 39 Managing Disk Files (continued) – Folders in another folder are child folders or subdirectories – Container folders are parents – Structure has unlimited depth (5–10 recommended) – Each OS enables user to create directories (folders) • Folders named according to specific rules • UNIX is case sensitive, DOS and Windows are not
  • 40. Connecting with Computer Science 40 Managing Disk Files (continued) • Listing the Contents of Drives and Folders – XP lists drive/folder contents via GUI (Windows Explorer) – DOS/UNIX pass same information with text-based commands
  • 43. Connecting with Computer Science 43 Managing Disk Files (continued) • Renaming Folders and Files – Every OS provides procedures for renaming
  • 45. Connecting with Computer Science 45 Managing Disk Files (continued) • Deleting Folders and Files – Every OS allows for files to be deleted – XP also allows recovery (Recycle Bin) – Wildcard: symbol used to select directories • Asterisk (*) and question mark (?) are wildcards • Example: *.exe signifies all .exe files
  • 48. Connecting with Computer Science 48 Managing Disk Files (continued) • Copying Files and Folders – Files can be copied into folders or stored at root – Possible after partitioning,formatting, file creation
  • 52. Connecting with Computer Science 52 Managing Disk Files (continued) • Moving Files and Folders – Similar to copying files – Copy command followed by delete command
  • 55. Connecting with Computer Science 55 One Last Thought • OS knowledge essential for computer scientists • OS concepts taught alongside practical skills • Expand OS toolkit beyond basic file management • Advanced study recommended
  • 56. Connecting with Computer Science 56 Summary • OS is the software control center of the computer • OS consists of a kernel and other system programs • OS loaded into RAM by program in BIOS chip • OS may be single tasking or multitasking • Time slicing: OS method for multitasking
  • 57. Connecting with Computer Science 57 Summary (continued) • Basic OS tasks: provide user interface, manage processes, manage resources, provide security • Two OS interfaces: GUI and console window • OS supervises program in execution (process) • OS interfaces hardware elements through drivers • OS protects system from intended/unintended violations
  • 58. Connecting with Computer Science 58 Summary (continued) • OS file management: • Partitioning/Formatting disks • Creating folders (subdirectories) • Listing/Renaming folders and files • Deleting/Copying/Moving folders and files