Lec 0.5 Operating System
Lec 0.5 Operating System
Lec 0.5 Operating System
3 – Operating Systems
Prepared By:-
Mr.Suman Jyoti
Roll.No:-43
Software
A. Frank - P. Weisberg
Where does the OS fit in?
Services provided by an OS
A. Frank - P. Weisberg
7 • Accounting
– Collect usage statistics
– Monitor performance
– Used to anticipate future enhancements
– Used for billing purposes
• Responsible for managing resources
• Functions same way as ordinary computer software
– It is program that is executed
• Operating system relinquishes control of the processor
Why are Operating Systems Important?
The kernel contains the “internal programs” for the most often used
operations like copying files.
• kmem (Linux)
• command.exe (Microsoft)
• Manages RAM
- What is stored in RAM and
where it is stored
- Virtual memory
- OS will send message when
RAM is full
Cooperative Multitasking
OS gives CPU processing
time to other programs at a
logical point, usually during
idle time
Preemptive Multitasking
OS allocates CPU time
between the different
programs based on amount
of time and priority of the
software application
• Dispatcher - Oversees
the execution of each
process by the CPU.
– Gives each process a
time slice of CPU time.
– Changes between
processes.
1. The CPU
2. Other Hardware
Components
3. Operating System
Software
4. Application Software
DOS - Disk Operating System - one of the first operating systems for the personal computer.
When you turned the computer on all you saw was the command prompt which looked like c:\ >.
You had to type all commands at the command prompt which might look like c:\>wp\wp.exe.
This is called a command-line interface.
It was not very "user friendly“
MacOS - Macintosh, a product of Apple, has its own operating system with a GUI and WIMP
features.
Unix - Linux (the PC version of Unix) - Unix and Linux were originally created with a
command-line interface, but recently have added GUI enhancements.
*user-friendly is a relative term. The current GUI interfaces provided by Windows and Mac
operating systems are more friendly than the previous DOS systems, but still require us to
conform to their specifications (use of a keyboard or mouse instead of voice and/or hand-writing
recognition).
40