390 likes | 550 Views
CUW 125th academic year. CSC 350 - Operating Systems. 0. Course Framework. ‘Fun Facts’ about OS name some OSs what do you know about OSs?. CSC 350 - Operating Systems. Why learn OS?. - understand OS to become a power user. CSC 350 - Operating Systems. Why learn OS?.
E N D
CSC 350 - Operating Systems 0. Course Framework • ‘Fun Facts’ about OS • name some OSs • what do you know about OSs?
CSC 350 - Operating Systems Why learn OS? • - understand OS to become a power user
CSC 350 - Operating Systems Why learn OS? • - create better applications as you understand OS I/F
CSC 350 - Operating Systems Why learn OS? • - OS demonstrates fundamental CS concepts in practice
CSC 350 - Operating Systems Why learn OS? • - understand and appreciate design tradeoffs
CSC 350 - Operating Systems Why learn OS? • - modeling and simulation
CSC 350 - Operating Systems Why learn OS? • - systems programming
CSC 350 - Operating Systems I. OS Overview • A. Systems Software • What is software?
Layers of Software Application Packages Programming Languages Systems S/W H/W
Systems Software 1. Booting S/W • Start-up Instructions
Systems Software 2. Translation S/W • Convert HLL into ML
Systems Software 3. OS • focus of CSC 350
Systems Software Systems Software • Looks “inward” • Manage System Resources
OS Overview B. Operating System (OS) • Master Control S/W • Goal: control and manage the H/W and other S/W of the system
OS Overview B. Operating System (OS) Examples … • Windows, • MacOS, • UNIX, …not the Ethiopian eunuch of Acts 8 :-)
OS Overview 1. Command Interpreter • a. OS Commands “built -in” • b. Executables “added applications”
OS Overview Windows File Extension • identifies type of file • Executables (ML) - .exe
OS Overview Windows File Associations • Associates a data file extension with its application
OS Overview When a data file is “double-clicked,” OS will • 1. Run associated application • 2. Load data file into application
OS Overview • OS “data centric” view …{double-edged sword} System A- Codewarrior- File Association System B- no Codewarrior- no OS association
OS Overview • OS “data centric” view …{double-edged sword} Viruses which exploit the “tight coupling” of applications and data to the OS
OS Overview 2. Interface (H/W - S/W) • Applications can not work with H/W directly • Why? • - easier programming • - protect from bugs
OS Overview 3. Resource Manager • most complex job
OS Overview Computer System: • Small =
OS Overview Computer System: • Small =
OS Overview • Large = Processor & Storage Terminals (I/O)
OS Overview OS must manage the use of … • scarce resources
OS Overview Because 1 CPU can only do 1 thing at a time*: • 1 CPU can only serve ... • 1 user at a time * A convenient fiction for right now :-)
OS Overview CPUs are not omnipresent • but God is: • “Can anyone hide in secret … do not I fill heaven and earth declares the LORD?” Jeremiah 23:24
OS Overview a. Multi-Tasking • Scarce resource is CPU • Trick which gives the appearance of multiplesimultaneous usage
OS Overview (i) each user gets a small portion of time to use the CPU • (ii) CPU executes during the time slice
OS Overview (iii) OS puts application on “hold” • (iiii) Process continues in a Round Robin fashion
OS Overview b. Virtual Memory • Scarce resource is memory • Trick which gives the appearance of unlimited RAM memory
OS Overview C. User Perspective • 1. environment • 2. effective use
CSC 350 Operating Systems Assignments • - wassn0email by tomorrow • - wassn1due Thursday