100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Class notes

Operating Systems : Chapter 1 to Chapter 5

Rating
-
Sold
3
Pages
64
Uploaded on
08-11-2021
Written in
2021/2022

This document covers Chapter 1 to Chapter 5 of William Stallings, Operating Systems: Internals and Design Principles. Chapter 1 - Computer System Overview Chapter 2 - Operating System Overview Chapter 3 - Process Description and Control Chapter 4 - Threads Chapter 5 - Concurrency: Mutual Exclusion and Synchronisation

Show more Read less
Institution
Course











Whoops! We can’t load your doc right now. Try again or contact support.

Connected book

Written for

Institution
Course

Document information

Uploaded on
November 8, 2021
Number of pages
64
Written in
2021/2022
Type
Class notes
Professor(s)
Dr. s gruner
Contains
Lecture 1 to lecture 14

Subjects

Content preview

Chapter 1: Part 1
Operating systems
o Manage hardware components
o Processor
o Main memory
o System Bus
o I/O Modules

Processor
• Central Processing Unit (CPU) – if there is only 1 processor
• Controls operation of computer
• Loads and executes instructions
o Arithmetic or logical ops on data

Main memory [aka real memory primary memory]
• Stores data and apps
• Apps/programs = sequence of instructions
• Volatile (unlike disk memory)
o Memory lost when computer shuts down

I/O Modules [input and output modules]
• Moves data btwn computer and exit enviro
o Secondary memory devices (hard disk)
o Comms (keyboard, printer)
o terminals

System bus
• Communications line among processor, main memory and I/O modules

,Instruction Execution
• A program the consist of a set of instructions
• 2 step execution (with help from system bus)
1. Processor reads (fetches) instructions from memory
2. Processor executes each instruction
• Instruction cycle = process of processing 1 instruction




Instruction Fetch
• Program register example 0100
• Processor fetches instruction from the memory address and adds to instruction
register (IR)
• Program counter (PC) holds address of next instruction to be fetch
o PC increments after each fetch

,Instruction Register
• Processor interprets instruction and performs required action
• 4 categories
o Processor-memory transfer
o Processor-I/O transfer
o Operation data
o Control




Interrupts
• Mechanism by which modules (I/O) can interrupt the normal program execution of
the processor
• Improves utilization of processor
o I/O devices are slower than processor
o With interrupts processor can execute other instructions while a device
performs I/O commands
o I/O modules will send an interrupt when the command is finished and the
processor is needed by the module (short interruption)
• Classes of interrupts
o I/O
▪ Generated by I/O module, to signal that it needs the processor

, o Program
▪ Exceptions for arithmetic overflow (division by zero, etc.)
o Timer
▪ Generated by a timer
▪ Allows the OS to perform certain function on a regular basis
(automatic backups)
o Hardware
▪ Generated by a failure (i.e. power failure)
$6.08
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
mpumi__tshabalala University of Pretoria
Follow You need to be logged in order to follow users or courses
Sold
32
Member since
5 year
Number of followers
25
Documents
23
Last sold
1 year ago
Greetings All!

I hope that these aesthetically pleasing notes make studying more fun for you all! * Please don\'t distribute my notes. As I have put in lots of time to make sure that they look the way they do as well as having accurate information * Don\'t forget to leave a review :)

3.4

5 reviews

5
1
4
0
3
4
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions