SlideShare a Scribd company logo
Damian Gordon
Software
Applications
OPERATING SYSTEM
Computer
Hardware
User
Applications
Hardware
Kernel
Shell
User
Interface
Web Server
Database
Operating
System
User
Interface
Web Server
Database
Operating
System
Operating
System
Process
Manager
Memory
Manager
Network
Manager
Device
Manager
File
Manager
Damian Gordon
1. Fetch the next instruction from memory at
the address in the program counter
2. Decode the instruction using the control unit
3. Increment the Program Counter
4. The control unit commands the rest of the
computer to execute the instruction
5. Go to step 1
In-
tray
Out-
tray
9
1
0
1
1
1
2
1
3
1
4
1
5
1
6
1
8
-
1
9
1 2
3 4 5
6 7 8
0
STORE
LOAD
Pigeon
Holes
In-tray
Program
Counter
Calculator Out-tray
TYPE OF INSTRUCTION INSTRUCTION CODE
Arithmetic ADD 1xx
Arithmetic SUBTRACT 2xx
Data Movement STORE 3xx
Data Movement LOAD 5xx
Branching BRA 6xx
Branching BRZ 7xx
Branching BRP 8xx
Input/Output INPUT 901
Input/Output OUTPUT 902
Machine Control STOP 000
INBOX -->
ACCUMULATOR
INPUT the first
number, enter
into calculator
ACCUMULATOR -
-> MEMORY[10]
STORE the
calculator's
current value in
memory location
[10]
INBOX -->
ACCUMULATOR
INPUT the second
number, enter
into calculator
ACCUMULATOR -
-> MEMORY[11]
STORE the
calculator's
current value in
memory location
[11]
ACCUMULATOR =
ACCUMULATOR -
MEMORY[10]
SUBTRACT the
second number
from the first
value
IS ACCUMULATOR
POSITIVE? GOTO
MEMORY[08]
BRANCH to
memory location
[08] if
accumulator is
positive
MEMORY[10] -->
ACCUMULATOR
LOAD the first
value back into
the calculator
ACCUMULATOR =
ACCUMULATOR -
MEMORY[11]
SUBTRACT the
second number
from the first
value
00 01 02 03
04 05 06 07
ACCUMULATOR -
-> OUTBOX
OUTPUT the
calculator's result
to the OUT-TRAY
Take a
break
[Used
for
data]
[Used
for
data]
08 09 10 11
INP STA 10 INP STA 11
SUB 10 BRP 08
LDA
10
SUB 11
00 01 02 03
04 05 06 07
OUT HLT DAT DAT
08 09 10 11
901 310 901 311
210 808 510 211
00 01 02 03
04 05 06 07
902 000 DAT DAT
08 09 10 11
Damian Gordon
Queue (FIFO)
Stack (LIFO) Heap
Damian Gordon
User 1
Process
1
Running
Executable 1
User 2
Process
2
Running
Executable 1
 The Processor Manager is made up of two
sub-managers:
Process Scheduler
Job Scheduler
 A group of processes is called a “job”
 The Job Scheduler takes the group of
processes (“jobs”)
 The Job Scheduler takes this group of process
(“jobs”) and re-orders them on the basis of
balancing Batch and Interactive processes
 The operating system runs each process one
at a time using the process scheduler
 The process scheduler allows each process to
run on the CPU for a given period of time
(“RUNNING”), and then swaps that process
out, and swaps another one into the CPU, and
the initial process is set to “READY”
 If the process is waiting for I/O for too long,
the process is set to “WAITING”
 Other statuses that a process can have are:
Process Scheduler
Job SchedulerHOLD
WAITING
READY
RUNNING
FINISHED
PROCESS SCHEDULER
JOB SCHEDULER
HOLD
READY
WAITING
RUNNING
FINISHED
Scheduler
Dispatch
Interrupt
Admitted Exit
I/O or
Event wait
I/O or
Event completion
Damian Gordon
1. Maximum Throughput
2. Minimize Response Time
3. Minimize Turnaround Time
4. Minimize Waiting Time
5. Maximise CPU Efficiency
6. Ensure Fairness For All Jobs
1. First Come, First Served (FCFS)
2. Shortest Job Next (SJN)
3. Priority Scheduling
4. Shortest Remaining Time (SRT)
5. Round Robin
6. Multi-Level Queues
1. Deadlock on file requests
2. Deadlock in databases
3. Deadlock in dedicated device allocation
4. Deadlock in multiple device allocation
5. Deadlock in spooling
6. Deadlock in a network
7. Deadlock in disk sharing
Damian Gordon
 Some definitions:
◦ A FIELD is a collection of bytes that can be
identified by a user, and has a type and size.
◦ A RECORD is a collection of related FIELDS.
◦ A FILE is a collection of records.
◦ A DIRECTORY (or FOLDER) is a special type of file
that which has lists of files and their attributes.
 There are three main ways a file is
physically stored in memory:
◦Contiguous Storage
◦Non-contiguous Storage
◦Indexed Storage
a b c d e f g h
a b c d e f g h
v w x y za b c d e f g h
File Address Size Next
File 1 1 4 9
File 1 9 4 -
File 2 15 5 -
INDEX BLOCK:
User
1
User
2
User
3
User
4
User
5
File 1 RWED --E- --E- RWED R---
File 2 ---- R-E- R-E- R--- RWE-
File 3 R-E- RW-- R-E- R-E- R--D
File 4 R--- RWE- R--- RWED --E-
Damian Gordon
 When we hook up computers together
using data communication facilities,
we call this a computer network.
 A Site is a specific location in a
network containing two or more
computer systems.
 A Host is a is a specific computer
system in a site that provides services.
 A Node is the name assigned to the
host to identify it to other computers.
Damian Gordon
HARD DISK
(MAIN
MEMORY)
(SECONDARY
MEMORY)
2
CACHE 1
101
103
107
Approximate number of clock cycles to access
the various elements of the memory hierarchy.
 If I create a program:
 to be processed, it has
to be writen entirely into
Main Memory, in
contiguous space
PROGRAM 1
200K
available
MAIN
MEMORY
PARTITION 1
PARTITION 2
PARTITION 3
PARTITION 4
PARTITION 5
250K
100K
25K
25K
50K
50K
 Let’s add some jobs
in:
PARTITION 1
PARTITION 2
PARTITION 3
PARTITION 4
PARTITION 5
100K
25K
25K
50K
50K
PROGRAM 1
PROGRAM 2
PROGRAM 3
250K
INTERNAL FRAGMENTATION
INTERNAL FRAGMENTATION
EMPTY PARTITION
EMPTY PARTITION
 Let’s add some jobs
in: PROGRAM 1
PROGRAM 2
250K
PROGRAM 4
PROGRAM 5
EXTERNAL FRAGMENTATION
 If the Memory Manager wants a FIRST-FIT
ALGORITHM then it stores a table in order of
memory locations.
 If the Memory Manager wants a BEST-FIT
ALGORITHM then it stores a table in order of
size of memory locations.
Starts Size Status
200 50 BUSY
250 50 FREE
300 15 BUSY
315 40 FREE
355 25 BUSY
Starts Size Status
315 40 FREE
250 50 FREE
300 15 BUSY
355 25 BUSY
315 40 BUSY
Starts Size Status
 1. There are jobs either side of the freed
space:
PROGRAM 3
PROGRAM 4
PROGRAM 6
PROGRAM 3
PROGRAM 4
PROGRAM 5 PROGRAM 5
PROGRAM 8 PROGRAM 8
250-300
315-340
300-315
200-250
355-380
340-355
250-300
315-340
300-315
200-250
355-380
340-355
 2. There are is a job on one side, and it’s free
on the other side of the freed space:
PROGRAM 3
PROGRAM 6
PROGRAM 3
PROGRAM 5 PROGRAM 5
PROGRAM 8 PROGRAM 8
250-300
300-315
200-250
355-380
315-355
250-300
200-250
355-380
300-355
 3. There are no jobs on either side of the
freed space:
PROGRAM 6
PROGRAM 5 PROGRAM 5
PROGRAM 8 PROGRAM 8
250-300
300-315
200-250
355-380
315-355
250-355
200-250
355-380
Damian Gordon
HARD DISK
(MAIN
MEMORY)
(SECONDARY
MEMORY)
2
CACHE 1
Computer
programs
are stored
here
Until they
need to
be
executed
Then they
are moved
to here
 In modern operating systems, before a job is
loaded into main memory, it is divided into
chunks, called PAGES.
Job 3
Page 2
Page 3
Page 4
Page 5
Page 6
Page 1
Page 7
 Each PAGE is loaded into memory locations
called PAGE FRAMES.
MAIN
MEMORY
Page Frame 1
Page Frame 2
Page Frame 3
Page Frame 4
Page Frame 5
Page Frame 6
Page Frame 7
Page Frame 8
Page Frame 9
Page Frame 10
200K
available
 Consider a program that 350 bytes, and the
page size is 100 bytes.
Job 1:
350 bytes
Page 0
Page 1
Page 2
Page 3
Main
Memory
Operating
System
Page 2
Page 0
Page 1
Page 3
A little bit of
internal
fragmentation
Damian Gordon
Operating
System
Process
Manager
Memory
Manager
Network
Manager
Device
Manager
Security
Manager
File
Manager
 The operating system uses a number of
different ways to protect the system:
◦ Your credentials (e.g. username and password)
◦ Your authorisation (e.g. drwxr-x-r--)
◦ Your location (e.g. inside/outside the LAN)
◦ Your behaviour (e.g. deleting lots of files)
◦ The firewall
 Intentional Attacks
◦ Denial-of-Service (DoS) Attack
◦ Wiretapping
◦ Viruses
◦ Worms
◦ Trojans
 Unintentional Attacks
◦ Parallel writes
◦ Unintentional Denial-of-Service (DoS)
 System protection is multifaceted, four
protection methods include:
◦ Antivirus Software
◦ Firewalls
◦ Patch Management
◦ Authentication
 CAPTCHAs
 reCAPTCHAs
 Smart Cards
 Biometrics
Damian Gordon
 The main functions of the device manager
are:
1. Monitor the status of all devices, including storage
drives, printers and other peripherals
2. Enforce pre-set policies on which process gets
which device for how long
3. Deal with the allocation of devices to processes
4. Deal with the de-allocation of devices to
processes, both at a temporary basis (e.g. when
the process is interrupted) and on a permanent
basis (e.g. when the process is completed).
 There are three main types of devices:
◦ Dedicated Devices
◦ Shared Devices
◦ Virtual Devices
 Two types of disks:
◦ Magnetic Disks – have magnetised
“beads” that are either N-S (1) or S-N
(0). The disk head reader reads
magnetic fields. Has multiple tracks,
and have different sector sizes.
◦ Optical Disks – have indented areas
called pits (0) and non-indented
areas called lands (1). Has a single
track, and has equal sector sizes.
 Magnetic Disks Optical Disks
 We’ll look at two magnetic disk
configurations:
◦ Mobile-Head Magnetic Disk Storage
◦ Fixed-Head Magnetic Disk Storage
 Writing to disk:
◦ One surface at a time (Case 1)
◦ One track at a time (Case 2)
 Optical Disk Storage:
◦ Three important performance measures are:
 Data Transfer Rate - amount of data that can be
read from the disk.
 Average Access Time - how long (on average) it
takes to move the disk head to a specific place
on the disk.
 Cache Size – measures re-read ability.
Damian Gordon
• Born: December 28,
1969 (age 45)
• Born in Helsinki,
Finland
• Chief developer on
the Linux kernel
• Created the revision
control system Git
• 2014 IEEE Computer
Society Computer
Pioneer Award
• The three design goals of Linux are:
• Modularity
• Simplicity
• Portability
 Linux does JOB SCHEDULING and PROCESS
SCHEDULING as we have discussed before.
 Linux also has fork() and exec()
◦ fork() gives the user to create a copy of an
executing program.
◦ exec() overwrites an existing program, but doesn’t
change the process id (pid).
Name Priority
Level
Process
Type
Scheduling
Policy
SCHED_FIFO Highest
Priority
For non-pre-
emptable real-
time
processes.
First In, First
Out (FIFO)
SCHED_RR Medium
Priority
For pre-
emptable real-
time
processes.
Round Robin
and priority
SCHED_OTHER Lowest Priority For normal
processes.
Priority only
 A typical Linux file structure is:
 Linux allocated 1GB for the kernel, and 3GB
for executing processes.
 The 3GB address space is divided into:
◦ Process code
◦ Process data
◦ Shared library data used by processes
◦ Stack used by process
 Each virtual address in memory is stored as
four elements: Main Directory, Middle
Directory, Page Table Directory, Page Frame
 Linux is device independent, which improves
its portability from one system to another.
 Device drivers supervise the transmission of
data between main memory and the
peripheral unit.
 A device driver (or driver) is a computer
program that operates or controls a particular
type of device that is attached to a computer.
 A driver provides a software interface to
hardware devices, enabling operating systems
and other computer programs to access
hardware functions without needing to know
precise details of the hardware being used.
Operating Systems: Revision

More Related Content

What's hot

Distributed system Tanenbaum chapter 1,2,3,4 notes
Distributed system Tanenbaum chapter 1,2,3,4 notes Distributed system Tanenbaum chapter 1,2,3,4 notes
Distributed system Tanenbaum chapter 1,2,3,4 notes
SAhammedShakil
 
Process and Threads in Linux - PPT
Process and Threads in Linux - PPTProcess and Threads in Linux - PPT
Process and Threads in Linux - PPT
QUONTRASOLUTIONS
 
Chapter 6 - Process Synchronization
Chapter 6 - Process SynchronizationChapter 6 - Process Synchronization
Chapter 6 - Process SynchronizationWayne Jones Jnr
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
nishantsri
 
An Introduction to Linux
An Introduction to LinuxAn Introduction to Linux
An Introduction to Linux
anandvaidya
 
Install and configure linux
Install and configure linuxInstall and configure linux
Install and configure linux
Vicent Selfa
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
onu9
 
Linux Operating System
Linux Operating SystemLinux Operating System
Linux Operating System
Avnish Khandelwal
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
Pawandeep Kaur
 
Kali Linux
Kali LinuxKali Linux
Kali Linux
Sumit Singh
 
Ubuntu – Linux Useful Commands
Ubuntu – Linux Useful CommandsUbuntu – Linux Useful Commands
Ubuntu – Linux Useful Commands
University of Technology
 
Mac OS
Mac OSMac OS
Linux introduction, class 1
Linux introduction, class 1Linux introduction, class 1
Linux introduction, class 1
Adrian Mikeliunas
 
Mac os file managment
Mac os  file managmentMac os  file managment
Mac os file managment
Andam Omar
 
Linux basics
Linux basicsLinux basics
Linux basics
BiplabaSamantaray
 
11 distributed file_systems
11 distributed file_systems11 distributed file_systems
11 distributed file_systems
longly
 
03 network services
03 network services03 network services
03 network services
Jadavsejal
 
Cs1 3-operating systems
Cs1 3-operating systemsCs1 3-operating systems
Cs1 3-operating systems
maria teresa salta
 

What's hot (20)

Distributed system Tanenbaum chapter 1,2,3,4 notes
Distributed system Tanenbaum chapter 1,2,3,4 notes Distributed system Tanenbaum chapter 1,2,3,4 notes
Distributed system Tanenbaum chapter 1,2,3,4 notes
 
Process and Threads in Linux - PPT
Process and Threads in Linux - PPTProcess and Threads in Linux - PPT
Process and Threads in Linux - PPT
 
Chapter 6 - Process Synchronization
Chapter 6 - Process SynchronizationChapter 6 - Process Synchronization
Chapter 6 - Process Synchronization
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
An Introduction to Linux
An Introduction to LinuxAn Introduction to Linux
An Introduction to Linux
 
Install and configure linux
Install and configure linuxInstall and configure linux
Install and configure linux
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
 
Linux Operating System
Linux Operating SystemLinux Operating System
Linux Operating System
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
 
Kali Linux
Kali LinuxKali Linux
Kali Linux
 
Ch1
Ch1Ch1
Ch1
 
Ubuntu – Linux Useful Commands
Ubuntu – Linux Useful CommandsUbuntu – Linux Useful Commands
Ubuntu – Linux Useful Commands
 
Ch03 system administration
Ch03 system administration Ch03 system administration
Ch03 system administration
 
Mac OS
Mac OSMac OS
Mac OS
 
Linux introduction, class 1
Linux introduction, class 1Linux introduction, class 1
Linux introduction, class 1
 
Mac os file managment
Mac os  file managmentMac os  file managment
Mac os file managment
 
Linux basics
Linux basicsLinux basics
Linux basics
 
11 distributed file_systems
11 distributed file_systems11 distributed file_systems
11 distributed file_systems
 
03 network services
03 network services03 network services
03 network services
 
Cs1 3-operating systems
Cs1 3-operating systemsCs1 3-operating systems
Cs1 3-operating systems
 

Similar to Operating Systems: Revision

Input and Output Devices and Systems
Input and Output Devices and SystemsInput and Output Devices and Systems
Input and Output Devices and SystemsNajma Alam
 
Operating system ppt
Operating system pptOperating system ppt
Operating system ppt
kaviya kumaresan
 
Operating system ppt
Operating system pptOperating system ppt
Operating system ppt
kaviya kumaresan
 
Operating system ppt
Operating system pptOperating system ppt
Operating system ppt
kaviya kumaresan
 
Operating system ppt
Operating system pptOperating system ppt
Operating system ppt
kaviya kumaresan
 
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERSVTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
vtunotesbysree
 
Unit vos - File systems
Unit vos - File systemsUnit vos - File systems
Unit vos - File systems
donny101
 
Operation System
Operation SystemOperation System
Operation System
ANANTHI1997
 
os
osos
Operation System
Operation SystemOperation System
Operation System
ROHINIPRIYA1997
 
Linux or unix interview questions
Linux or unix interview questionsLinux or unix interview questions
Linux or unix interview questionsTeja Bheemanapally
 
Lecture 02 hardware
Lecture 02 hardwareLecture 02 hardware
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncationLM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
Mani Deepak Choudhry
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
Rashmi Bhat
 
Ise iv-computer organization [10 cs46]-notes new
Ise iv-computer  organization [10 cs46]-notes newIse iv-computer  organization [10 cs46]-notes new
Ise iv-computer organization [10 cs46]-notes newdilshad begum
 
What the Heck Just Happened?
What the Heck Just Happened?What the Heck Just Happened?
What the Heck Just Happened?
Ken Evans
 
CS6401 OPERATING SYSTEMS Unit 2
CS6401 OPERATING SYSTEMS Unit 2CS6401 OPERATING SYSTEMS Unit 2
CS6401 OPERATING SYSTEMS Unit 2
Kathirvel Ayyaswamy
 
Sector Sphere 2009
Sector Sphere 2009Sector Sphere 2009
Sector Sphere 2009
lilyco
 
sector-sphere
sector-spheresector-sphere
sector-spherexlight
 

Similar to Operating Systems: Revision (20)

Input and Output Devices and Systems
Input and Output Devices and SystemsInput and Output Devices and Systems
Input and Output Devices and Systems
 
Operating system ppt
Operating system pptOperating system ppt
Operating system ppt
 
Operating system ppt
Operating system pptOperating system ppt
Operating system ppt
 
Operating system ppt
Operating system pptOperating system ppt
Operating system ppt
 
Operating system ppt
Operating system pptOperating system ppt
Operating system ppt
 
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERSVTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
 
Unit vos - File systems
Unit vos - File systemsUnit vos - File systems
Unit vos - File systems
 
fall2013
fall2013fall2013
fall2013
 
Operation System
Operation SystemOperation System
Operation System
 
os
osos
os
 
Operation System
Operation SystemOperation System
Operation System
 
Linux or unix interview questions
Linux or unix interview questionsLinux or unix interview questions
Linux or unix interview questions
 
Lecture 02 hardware
Lecture 02 hardwareLecture 02 hardware
Lecture 02 hardware
 
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncationLM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
 
Ise iv-computer organization [10 cs46]-notes new
Ise iv-computer  organization [10 cs46]-notes newIse iv-computer  organization [10 cs46]-notes new
Ise iv-computer organization [10 cs46]-notes new
 
What the Heck Just Happened?
What the Heck Just Happened?What the Heck Just Happened?
What the Heck Just Happened?
 
CS6401 OPERATING SYSTEMS Unit 2
CS6401 OPERATING SYSTEMS Unit 2CS6401 OPERATING SYSTEMS Unit 2
CS6401 OPERATING SYSTEMS Unit 2
 
Sector Sphere 2009
Sector Sphere 2009Sector Sphere 2009
Sector Sphere 2009
 
sector-sphere
sector-spheresector-sphere
sector-sphere
 

More from Damian T. Gordon

Universal Design for Learning, Co-Designing with Students.
Universal Design for Learning, Co-Designing with Students.Universal Design for Learning, Co-Designing with Students.
Universal Design for Learning, Co-Designing with Students.
Damian T. Gordon
 
Introduction to Microservices
Introduction to MicroservicesIntroduction to Microservices
Introduction to Microservices
Damian T. Gordon
 
REST and RESTful Services
REST and RESTful ServicesREST and RESTful Services
REST and RESTful Services
Damian T. Gordon
 
Serverless Computing
Serverless ComputingServerless Computing
Serverless Computing
Damian T. Gordon
 
Cloud Identity Management
Cloud Identity ManagementCloud Identity Management
Cloud Identity Management
Damian T. Gordon
 
Containers and Docker
Containers and DockerContainers and Docker
Containers and Docker
Damian T. Gordon
 
Introduction to Cloud Computing
Introduction to Cloud ComputingIntroduction to Cloud Computing
Introduction to Cloud Computing
Damian T. Gordon
 
Introduction to ChatGPT
Introduction to ChatGPTIntroduction to ChatGPT
Introduction to ChatGPT
Damian T. Gordon
 
How to Argue Logically
How to Argue LogicallyHow to Argue Logically
How to Argue Logically
Damian T. Gordon
 
Evaluating Teaching: SECTIONS
Evaluating Teaching: SECTIONSEvaluating Teaching: SECTIONS
Evaluating Teaching: SECTIONS
Damian T. Gordon
 
Evaluating Teaching: MERLOT
Evaluating Teaching: MERLOTEvaluating Teaching: MERLOT
Evaluating Teaching: MERLOT
Damian T. Gordon
 
Evaluating Teaching: Anstey and Watson Rubric
Evaluating Teaching: Anstey and Watson RubricEvaluating Teaching: Anstey and Watson Rubric
Evaluating Teaching: Anstey and Watson Rubric
Damian T. Gordon
 
Evaluating Teaching: LORI
Evaluating Teaching: LORIEvaluating Teaching: LORI
Evaluating Teaching: LORI
Damian T. Gordon
 
Designing Teaching: Pause Procedure
Designing Teaching: Pause ProcedureDesigning Teaching: Pause Procedure
Designing Teaching: Pause Procedure
Damian T. Gordon
 
Designing Teaching: ADDIE
Designing Teaching: ADDIEDesigning Teaching: ADDIE
Designing Teaching: ADDIE
Damian T. Gordon
 
Designing Teaching: ASSURE
Designing Teaching: ASSUREDesigning Teaching: ASSURE
Designing Teaching: ASSURE
Damian T. Gordon
 
Designing Teaching: Laurilliard's Learning Types
Designing Teaching: Laurilliard's Learning TypesDesigning Teaching: Laurilliard's Learning Types
Designing Teaching: Laurilliard's Learning Types
Damian T. Gordon
 
Designing Teaching: Gagne's Nine Events of Instruction
Designing Teaching: Gagne's Nine Events of InstructionDesigning Teaching: Gagne's Nine Events of Instruction
Designing Teaching: Gagne's Nine Events of Instruction
Damian T. Gordon
 
Designing Teaching: Elaboration Theory
Designing Teaching: Elaboration TheoryDesigning Teaching: Elaboration Theory
Designing Teaching: Elaboration Theory
Damian T. Gordon
 
Universally Designed Learning Spaces: Some Considerations
Universally Designed Learning Spaces: Some ConsiderationsUniversally Designed Learning Spaces: Some Considerations
Universally Designed Learning Spaces: Some Considerations
Damian T. Gordon
 

More from Damian T. Gordon (20)

Universal Design for Learning, Co-Designing with Students.
Universal Design for Learning, Co-Designing with Students.Universal Design for Learning, Co-Designing with Students.
Universal Design for Learning, Co-Designing with Students.
 
Introduction to Microservices
Introduction to MicroservicesIntroduction to Microservices
Introduction to Microservices
 
REST and RESTful Services
REST and RESTful ServicesREST and RESTful Services
REST and RESTful Services
 
Serverless Computing
Serverless ComputingServerless Computing
Serverless Computing
 
Cloud Identity Management
Cloud Identity ManagementCloud Identity Management
Cloud Identity Management
 
Containers and Docker
Containers and DockerContainers and Docker
Containers and Docker
 
Introduction to Cloud Computing
Introduction to Cloud ComputingIntroduction to Cloud Computing
Introduction to Cloud Computing
 
Introduction to ChatGPT
Introduction to ChatGPTIntroduction to ChatGPT
Introduction to ChatGPT
 
How to Argue Logically
How to Argue LogicallyHow to Argue Logically
How to Argue Logically
 
Evaluating Teaching: SECTIONS
Evaluating Teaching: SECTIONSEvaluating Teaching: SECTIONS
Evaluating Teaching: SECTIONS
 
Evaluating Teaching: MERLOT
Evaluating Teaching: MERLOTEvaluating Teaching: MERLOT
Evaluating Teaching: MERLOT
 
Evaluating Teaching: Anstey and Watson Rubric
Evaluating Teaching: Anstey and Watson RubricEvaluating Teaching: Anstey and Watson Rubric
Evaluating Teaching: Anstey and Watson Rubric
 
Evaluating Teaching: LORI
Evaluating Teaching: LORIEvaluating Teaching: LORI
Evaluating Teaching: LORI
 
Designing Teaching: Pause Procedure
Designing Teaching: Pause ProcedureDesigning Teaching: Pause Procedure
Designing Teaching: Pause Procedure
 
Designing Teaching: ADDIE
Designing Teaching: ADDIEDesigning Teaching: ADDIE
Designing Teaching: ADDIE
 
Designing Teaching: ASSURE
Designing Teaching: ASSUREDesigning Teaching: ASSURE
Designing Teaching: ASSURE
 
Designing Teaching: Laurilliard's Learning Types
Designing Teaching: Laurilliard's Learning TypesDesigning Teaching: Laurilliard's Learning Types
Designing Teaching: Laurilliard's Learning Types
 
Designing Teaching: Gagne's Nine Events of Instruction
Designing Teaching: Gagne's Nine Events of InstructionDesigning Teaching: Gagne's Nine Events of Instruction
Designing Teaching: Gagne's Nine Events of Instruction
 
Designing Teaching: Elaboration Theory
Designing Teaching: Elaboration TheoryDesigning Teaching: Elaboration Theory
Designing Teaching: Elaboration Theory
 
Universally Designed Learning Spaces: Some Considerations
Universally Designed Learning Spaces: Some ConsiderationsUniversally Designed Learning Spaces: Some Considerations
Universally Designed Learning Spaces: Some Considerations
 

Recently uploaded

A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 

Operating Systems: Revision

  • 8. 1. Fetch the next instruction from memory at the address in the program counter 2. Decode the instruction using the control unit 3. Increment the Program Counter 4. The control unit commands the rest of the computer to execute the instruction 5. Go to step 1
  • 9. In- tray Out- tray 9 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 8 - 1 9 1 2 3 4 5 6 7 8 0 STORE LOAD Pigeon Holes In-tray Program Counter Calculator Out-tray
  • 10. TYPE OF INSTRUCTION INSTRUCTION CODE Arithmetic ADD 1xx Arithmetic SUBTRACT 2xx Data Movement STORE 3xx Data Movement LOAD 5xx Branching BRA 6xx Branching BRZ 7xx Branching BRP 8xx Input/Output INPUT 901 Input/Output OUTPUT 902 Machine Control STOP 000
  • 11. INBOX --> ACCUMULATOR INPUT the first number, enter into calculator ACCUMULATOR - -> MEMORY[10] STORE the calculator's current value in memory location [10] INBOX --> ACCUMULATOR INPUT the second number, enter into calculator ACCUMULATOR - -> MEMORY[11] STORE the calculator's current value in memory location [11] ACCUMULATOR = ACCUMULATOR - MEMORY[10] SUBTRACT the second number from the first value IS ACCUMULATOR POSITIVE? GOTO MEMORY[08] BRANCH to memory location [08] if accumulator is positive MEMORY[10] --> ACCUMULATOR LOAD the first value back into the calculator ACCUMULATOR = ACCUMULATOR - MEMORY[11] SUBTRACT the second number from the first value 00 01 02 03 04 05 06 07 ACCUMULATOR - -> OUTBOX OUTPUT the calculator's result to the OUT-TRAY Take a break [Used for data] [Used for data] 08 09 10 11
  • 12. INP STA 10 INP STA 11 SUB 10 BRP 08 LDA 10 SUB 11 00 01 02 03 04 05 06 07 OUT HLT DAT DAT 08 09 10 11
  • 13. 901 310 901 311 210 808 510 211 00 01 02 03 04 05 06 07 902 000 DAT DAT 08 09 10 11
  • 17. User 1 Process 1 Running Executable 1 User 2 Process 2 Running Executable 1
  • 18.  The Processor Manager is made up of two sub-managers: Process Scheduler Job Scheduler
  • 19.  A group of processes is called a “job”  The Job Scheduler takes the group of processes (“jobs”)  The Job Scheduler takes this group of process (“jobs”) and re-orders them on the basis of balancing Batch and Interactive processes
  • 20.
  • 21.
  • 22.  The operating system runs each process one at a time using the process scheduler  The process scheduler allows each process to run on the CPU for a given period of time (“RUNNING”), and then swaps that process out, and swaps another one into the CPU, and the initial process is set to “READY”  If the process is waiting for I/O for too long, the process is set to “WAITING”
  • 23.  Other statuses that a process can have are: Process Scheduler Job SchedulerHOLD WAITING READY RUNNING FINISHED
  • 26. 1. Maximum Throughput 2. Minimize Response Time 3. Minimize Turnaround Time 4. Minimize Waiting Time 5. Maximise CPU Efficiency 6. Ensure Fairness For All Jobs
  • 27. 1. First Come, First Served (FCFS) 2. Shortest Job Next (SJN) 3. Priority Scheduling 4. Shortest Remaining Time (SRT) 5. Round Robin 6. Multi-Level Queues
  • 28. 1. Deadlock on file requests 2. Deadlock in databases 3. Deadlock in dedicated device allocation 4. Deadlock in multiple device allocation 5. Deadlock in spooling 6. Deadlock in a network 7. Deadlock in disk sharing
  • 30.
  • 31.  Some definitions: ◦ A FIELD is a collection of bytes that can be identified by a user, and has a type and size. ◦ A RECORD is a collection of related FIELDS. ◦ A FILE is a collection of records. ◦ A DIRECTORY (or FOLDER) is a special type of file that which has lists of files and their attributes.
  • 32.  There are three main ways a file is physically stored in memory: ◦Contiguous Storage ◦Non-contiguous Storage ◦Indexed Storage
  • 33. a b c d e f g h
  • 34. a b c d e f g h
  • 35. v w x y za b c d e f g h File Address Size Next File 1 1 4 9 File 1 9 4 - File 2 15 5 - INDEX BLOCK:
  • 36. User 1 User 2 User 3 User 4 User 5 File 1 RWED --E- --E- RWED R--- File 2 ---- R-E- R-E- R--- RWE- File 3 R-E- RW-- R-E- R-E- R--D File 4 R--- RWE- R--- RWED --E-
  • 38.  When we hook up computers together using data communication facilities, we call this a computer network.
  • 39.  A Site is a specific location in a network containing two or more computer systems.  A Host is a is a specific computer system in a site that provides services.  A Node is the name assigned to the host to identify it to other computers.
  • 40.
  • 41.
  • 42.
  • 44. HARD DISK (MAIN MEMORY) (SECONDARY MEMORY) 2 CACHE 1 101 103 107 Approximate number of clock cycles to access the various elements of the memory hierarchy.
  • 45.  If I create a program:  to be processed, it has to be writen entirely into Main Memory, in contiguous space PROGRAM 1 200K available MAIN MEMORY
  • 46. PARTITION 1 PARTITION 2 PARTITION 3 PARTITION 4 PARTITION 5 250K 100K 25K 25K 50K 50K
  • 47.  Let’s add some jobs in: PARTITION 1 PARTITION 2 PARTITION 3 PARTITION 4 PARTITION 5 100K 25K 25K 50K 50K PROGRAM 1 PROGRAM 2 PROGRAM 3 250K INTERNAL FRAGMENTATION INTERNAL FRAGMENTATION EMPTY PARTITION EMPTY PARTITION
  • 48.  Let’s add some jobs in: PROGRAM 1 PROGRAM 2 250K PROGRAM 4 PROGRAM 5 EXTERNAL FRAGMENTATION
  • 49.  If the Memory Manager wants a FIRST-FIT ALGORITHM then it stores a table in order of memory locations.  If the Memory Manager wants a BEST-FIT ALGORITHM then it stores a table in order of size of memory locations. Starts Size Status 200 50 BUSY 250 50 FREE 300 15 BUSY 315 40 FREE 355 25 BUSY Starts Size Status 315 40 FREE 250 50 FREE 300 15 BUSY 355 25 BUSY 315 40 BUSY Starts Size Status
  • 50.  1. There are jobs either side of the freed space: PROGRAM 3 PROGRAM 4 PROGRAM 6 PROGRAM 3 PROGRAM 4 PROGRAM 5 PROGRAM 5 PROGRAM 8 PROGRAM 8 250-300 315-340 300-315 200-250 355-380 340-355 250-300 315-340 300-315 200-250 355-380 340-355
  • 51.  2. There are is a job on one side, and it’s free on the other side of the freed space: PROGRAM 3 PROGRAM 6 PROGRAM 3 PROGRAM 5 PROGRAM 5 PROGRAM 8 PROGRAM 8 250-300 300-315 200-250 355-380 315-355 250-300 200-250 355-380 300-355
  • 52.  3. There are no jobs on either side of the freed space: PROGRAM 6 PROGRAM 5 PROGRAM 5 PROGRAM 8 PROGRAM 8 250-300 300-315 200-250 355-380 315-355 250-355 200-250 355-380
  • 54. HARD DISK (MAIN MEMORY) (SECONDARY MEMORY) 2 CACHE 1 Computer programs are stored here Until they need to be executed Then they are moved to here
  • 55.  In modern operating systems, before a job is loaded into main memory, it is divided into chunks, called PAGES. Job 3 Page 2 Page 3 Page 4 Page 5 Page 6 Page 1 Page 7
  • 56.  Each PAGE is loaded into memory locations called PAGE FRAMES. MAIN MEMORY Page Frame 1 Page Frame 2 Page Frame 3 Page Frame 4 Page Frame 5 Page Frame 6 Page Frame 7 Page Frame 8 Page Frame 9 Page Frame 10 200K available
  • 57.  Consider a program that 350 bytes, and the page size is 100 bytes. Job 1: 350 bytes Page 0 Page 1 Page 2 Page 3 Main Memory Operating System Page 2 Page 0 Page 1 Page 3 A little bit of internal fragmentation
  • 60.  The operating system uses a number of different ways to protect the system: ◦ Your credentials (e.g. username and password) ◦ Your authorisation (e.g. drwxr-x-r--) ◦ Your location (e.g. inside/outside the LAN) ◦ Your behaviour (e.g. deleting lots of files) ◦ The firewall
  • 61.  Intentional Attacks ◦ Denial-of-Service (DoS) Attack ◦ Wiretapping ◦ Viruses ◦ Worms ◦ Trojans  Unintentional Attacks ◦ Parallel writes ◦ Unintentional Denial-of-Service (DoS)
  • 62.  System protection is multifaceted, four protection methods include: ◦ Antivirus Software ◦ Firewalls ◦ Patch Management ◦ Authentication  CAPTCHAs  reCAPTCHAs  Smart Cards  Biometrics
  • 64.  The main functions of the device manager are: 1. Monitor the status of all devices, including storage drives, printers and other peripherals 2. Enforce pre-set policies on which process gets which device for how long 3. Deal with the allocation of devices to processes 4. Deal with the de-allocation of devices to processes, both at a temporary basis (e.g. when the process is interrupted) and on a permanent basis (e.g. when the process is completed).
  • 65.  There are three main types of devices: ◦ Dedicated Devices ◦ Shared Devices ◦ Virtual Devices
  • 66.  Two types of disks: ◦ Magnetic Disks – have magnetised “beads” that are either N-S (1) or S-N (0). The disk head reader reads magnetic fields. Has multiple tracks, and have different sector sizes. ◦ Optical Disks – have indented areas called pits (0) and non-indented areas called lands (1). Has a single track, and has equal sector sizes.
  • 67.  Magnetic Disks Optical Disks
  • 68.  We’ll look at two magnetic disk configurations: ◦ Mobile-Head Magnetic Disk Storage ◦ Fixed-Head Magnetic Disk Storage
  • 69.  Writing to disk: ◦ One surface at a time (Case 1) ◦ One track at a time (Case 2)
  • 70.  Optical Disk Storage: ◦ Three important performance measures are:  Data Transfer Rate - amount of data that can be read from the disk.  Average Access Time - how long (on average) it takes to move the disk head to a specific place on the disk.  Cache Size – measures re-read ability.
  • 71.
  • 72.
  • 74. • Born: December 28, 1969 (age 45) • Born in Helsinki, Finland • Chief developer on the Linux kernel • Created the revision control system Git • 2014 IEEE Computer Society Computer Pioneer Award
  • 75. • The three design goals of Linux are: • Modularity • Simplicity • Portability
  • 76.  Linux does JOB SCHEDULING and PROCESS SCHEDULING as we have discussed before.  Linux also has fork() and exec() ◦ fork() gives the user to create a copy of an executing program. ◦ exec() overwrites an existing program, but doesn’t change the process id (pid).
  • 77. Name Priority Level Process Type Scheduling Policy SCHED_FIFO Highest Priority For non-pre- emptable real- time processes. First In, First Out (FIFO) SCHED_RR Medium Priority For pre- emptable real- time processes. Round Robin and priority SCHED_OTHER Lowest Priority For normal processes. Priority only
  • 78.  A typical Linux file structure is:
  • 79.  Linux allocated 1GB for the kernel, and 3GB for executing processes.  The 3GB address space is divided into: ◦ Process code ◦ Process data ◦ Shared library data used by processes ◦ Stack used by process
  • 80.  Each virtual address in memory is stored as four elements: Main Directory, Middle Directory, Page Table Directory, Page Frame
  • 81.  Linux is device independent, which improves its portability from one system to another.  Device drivers supervise the transmission of data between main memory and the peripheral unit.
  • 82.  A device driver (or driver) is a computer program that operates or controls a particular type of device that is attached to a computer.  A driver provides a software interface to hardware devices, enabling operating systems and other computer programs to access hardware functions without needing to know precise details of the hardware being used.

Editor's Notes

  1. https://en.wikipedia.org/wiki/Linux_kernel
  2. https://en.wikipedia.org/wiki/Linux_kernel
  3. https://en.wikipedia.org/wiki/Linux_kernel
  4. https://en.wikipedia.org/wiki/Linux_kernel
  5. https://en.wikipedia.org/wiki/Linux_kernel
  6. https://en.wikipedia.org/wiki/Linux_kernel
  7. https://en.wikipedia.org/wiki/Linux_kernel