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

Operating Systems Part 1: Computer Science 3A (CSC3002F)

Rating
-
Sold
-
Pages
98
Uploaded on
02-05-2023
Written in
2022/2023

These are notes that summarise and combine all the provided lecture slides as well as the additional textbook reading content with important diagrams and visual aids. The OS1 is the 3rd part of the syllabus to be covered and has all the important concepts, algorithms and application examples that you need to ace test 2 and the exam! :)

Show more Read less











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

Document information

Uploaded on
May 2, 2023
Number of pages
98
Written in
2022/2023
Type
Class notes
Professor(s)
Professor geoff nitschke
Contains
All classes

Subjects

Content preview

󾠮
Lecture 1

Readings:
Chapters 1 & 2 in textbook

Considerations when choosing an OS:

1. Resource consumption

2. Security

3. Smart devices need specific OSes




Introduction
What is an OS?


⚡ 1. Textbook def: An OS is software that manages a computer’s hardware. It also
provides a basis for application programs and acts as an intermediary between the
computer user and the computer hardware.
2. A program that lets you run other programs and provides controlled access to
resources. When you start your device, it runs the first program, which is the OS.
3. General piece of software with common functionalities that support many
applications.
4. Operates directly with system hardware.
5. A virtual machine
6. A resource allocator and a control program
7. It is not useful on its own. It provides an ENVIRONMENT within which other
programs can do useful work.




What do they do?
A computer system is made up of:

1. Hardware: Provides basic computing resources for the system: CPU, memory, IO devices
(keyboard, mouse)



Lecture 1 1

, 2. The OS: Controls HW

3. Application Programs: word processors, compilers, web browsers

4. The User




It is a program. Some types:

UNIX OS

Microsoft Windows

Mac OS

Mobile

Can also get custom OSes:

IE, Nintendo switch will make its own custom OS for its products

The kernel is the most NB part.

Translates language into machine level code.

The OS is an illusion: makes it seem like there is CPU and memory etc. The OS initialises
system problems but in itself does nothing. It’s an illusion.

OS as an illusionist:

Clever resource management to overcome hardware limitations

OS as a government:

Protects users from one another

Allocates resources efficiently and fairly




Lecture 1 2

, Provides an environment within which other programs can do useful things.

OS: System View
OS is a resource allocator:

Manages all resources

Handles conflicting requests for efficient and fair resource use

OS is a control program:

Controls execution of programs to ensure the programs run, prevent errors and
improper use of the computer.



Moore’s Law and OSes
Stated that the number of transistors that could be placed on an integrated circuit would
double every 18 months. Therefore computers gained more functionality and shrunk in
size, allowing for a vast variety of OSes to be created.



Abstraction
→ It is simply an abstraction.

Convenience: Hides tedious things

Shows efficiency and control

Allocates resources

Allows parallel applications

Protects information

Interface: Between users and computer (hardware)




Lecture 1 3

, Applications think they have their own dedicated CPU but they don’t. It’s an illusion. Allows programs to run
concurrently. Applications has no idea who else is on the system.




Why have Abstraction?


Why?:

1. Reduce functional complexity

2. Provide single abstraction over multiple devices

3. Resource sharing

a. Efficiency

b. Fairness

c. Security



Examples of Abstractions
A. User Abstraction:




Lecture 1 4

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.
chloewalt University of Cape Town
View profile
Follow You need to be logged in order to follow users or courses
Sold
24
Member since
3 year
Number of followers
12
Documents
36
Last sold
2 weeks ago

4,8

6 reviews

5
5
4
1
3
0
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 exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT 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