Professional Documents
Culture Documents
1 Introduction p1
1 Introduction p1
Operating Systems
Introduction
Dr. Youssef Iraqi
College of Computing
Email: Youssef.Iraqi@um6p.ma
Introduction
Operating Systems 2
1
1/30/24
Operating Systems 3
Operating Systems 4
2
1/30/24
• Physical devices
• integrated circuits - processor, memory, registers, disks, displays, keyboard,
etc.
• Microarchitecture
• primitive software in read-only memory or hardwired
• fetch instructions and carry them out as a series of steps
• ex: ADD R1, R2 ; add register R1 to R2
• read operands R1 & R2, send them to ALU, store result in R2
• Machine Language
• set of instructions that microarchitecture interprets
Operating Systems 5
• System Programs
• Operating system
• hides hardware complexity from user and programmer
• runs in ‘kernel’ (‘supervisor’) mode
• protected from user tampering by hardware
• Compiler, command interpreter (shell), editors
• run in ‘user’ mode - unable to access hardware directly
• may be changed by user
• Application Programs
• word processing, spreadsheets, multimedia, custom-designed, etc.
Operating Systems 6
3
1/30/24
• It is an extended machine
• provides simpler and more abstract interface to hardware
• abstraction makes application software more machine independent
• It is a resource manager
• provides orderly and controlled allocation of resources to programs
competing for them
• resources: hardware (processor, memory, I/O) and software
• keeps track of who is using what resource
• grants resource, accounts for usage, mediates conflicting requests
Operating Systems 7
Operating Systems 8
4
1/30/24
Operating Systems 9
By the early 1960s, most computer manufacturers had two distinct, and totally
10 incompatible, product lines. On the one hand there were the word-oriented, large-scale
scientific computers, such as the 7094, which were used for numerical calculations in
science and engineering. On the other hand, there were the character-oriented, commercial
computers, such as the 1401, which were widely used for tape sorting and printing by
banks and insurance companies.
Developing and maintaining two completely different product lines was an expensive
proposition for the manufacturers. In addition, many new computer customers initially
5
needed a small machine but later outgrew it and wanted a bigger machine that would run
all their old programs, but faster.
IBM attempted to solve both of these problems at a single stroke by introducing the
1/30/24
Operating Systems 11
11
Operating Systems 12
12
6
1/30/24
Operating Systems 13
13
Operating Systems 14
14