Computer Science CS50 Lecture Notes - Lecture 7: Computer Hardware, Multiprocessing, Memory Management

13 views2 pages

Document Summary

Operating system intermediates between the computer hardware and the computer user. The objective of os is to make the computer system convenient for the user to use, and to use the computer hardware efficiently. Types of os single user and single task os is for use by a single user for a single task. Multitasking os allow execution of more than one task concurrently. Multiuser os allows concurrent access of same data and applications by multiple users. Multiprocessing os have two or more processors for a single running process, which execute in parallel. Real time os respond to an event within a predetermined time. Embedded os is embedded in appliances like microwaves and washing machines. Functions of os are process management, memory management, file management, device management, protection and security, and user interface. Process management includes handling the scheduling of processes, process synchronization and communication, and deadlock situations. A process is a program in a state of execution.