CSC 2104 Operating System Fundamentals: (Week 1a)
CSC 2104 Operating System Fundamentals: (Week 1a)
CSC 2104
Operating System Fundamentals
Introduction
(Week 1a)
+ 2
PhD
Dr. Peter Ho Chiung Ching Permanent Head Damage
Mr. Wong Eu Jin
[email protected] [email protected]
Consultation Hours (by Appointment): Consultation Hours (by Appointment):
Monday: 2:00PM – 4:00PM
Tuesday: 10:00AM – 12:00PM
Partially..... Head Damage
To be decided
To be decided
+ 3
Lecture Notes
Everything is on eLearn
Self enrollment, NO access code required.
What’s the subject code? CSC2104
What’s the subject name? Operating System Fundamentals
Assessments (Tentative)
To be finalized by beginning
Week 3
50% : 50%
Final Exam Coursework
- One 2-Hour Exam - 1 Programming Assignment (20%)
- 1 Class Test (10%)
- 1 Written Assignment (20%)
Note:
1) The passing marks is 40%.
2) You have to pass BOTH the final exam and coursework component to pass the subject.
3) In other words you have to score at least 20% (out of 50%) in final exam and coursework.
4) This is a Year 2 subject so it will be counted towards your final classification.
+
Week
1
Topic
Introduction
Coursework
-
5
Semester Break
The “TEXTBOOK”…
+ 7
+ 8
Hardwar
Software OS
e
Graphic Card
CPU
RAM
Hard Disk
+ 12
Users
Operating System
Computer Hardware
+ 13
1
Topic
Introduction
Rationale
2 Operating System Structure What is a kernel? How does the kernel affect the performance?
3 Process Management
How does the operating system manage the running programs?
4 Process Management How to schedule your programs for better efficiency (lower turnaround time)?
What are the common scheduling algorithms and the pros and cons of each?
5 Process Scheduling How to prevent deadlock?
To serve as the basics for concurrent programming / distributed systems.
6 Process Scheduling
7 Memory Management How does the operating system allocate memory to running programs?
How does the management of memory could affect the performance?
8 Memory Management Certain lower level programming allows you to manage the memory yourself.
9 Storage Management What is FAT, NTFS and Ext3? What file system to choose?
10 Storage Management What are the advantages and disadvantages of different file systems?
11 Class Test To better prepare the students for the final examination.
Note:
1) We will also cover some basic Linux commands and configurations.
2) You need to know more when making progress in your career.
+ 17
Personal Computers
Share
Market Share
Market
Super-Computers
Linux
Unix
Mixed
Windows
BSD Based
Web Server
Virtualization
Source: Microsoft
+ 22
+ 23
Users
Operating System
Computer Hardware
+ 24
MS-DOS
Source: ComputerWorld
+ 27
Memory
Management
Process
OS
Storage
Management Management
+ 30
Process Management
Process Management
Process Management
int x = 10; 0001 0110 0100 1010
int y = 12; 0001 0110 0101 1100
int z = x + y;
Compiler 0010 0001 0010 0000
0011 0110 0110 0000
Process Management
Process Management
Process Scheduling
Sequence of execution?
+ 36
Process Management
(Process Scheduling)
Memory
Management
Process
OS Storage
Management Management
+ 38
Memory Management
Memory Management
Microsoft Word
Google Chrome
Operating System
Main Memory
+ 40
Memory Management
Memory
Management
Process
OS Storage
Management Management
+ 42
Storage-Device Hierarchy
CPU
Performance
RAM
Secondary
Storage
Cost
+ 43
Storage Management
Storage Management
Sector
Smallest Physical Storage Unit
Previously: 512 B
Now: 4 KB
Platter
Head
Arm
+ 46
Distributed System
Collection
of physically separated computer systems that
are connected together.
+ 47
Distributed System
Memory
Management
Process
OS Storage
Management Management