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

Summary Computer architecture and networks hoorcollege 5

Rating
-
Sold
-
Pages
10
Uploaded on
22-09-2020
Written in
2020/2021

Computer architecture and networks lecture 5. Notes of the lecture Computer Architecture and Networks (INFONW). Summary is in English and is supported with pictures and examples for extra clarity. Lessons taught at Utrecht University, Informatica.

Show more Read less
Institution
Course









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

Written for

Institution
Study
Course

Document information

Uploaded on
September 22, 2020
File latest updated on
September 27, 2020
Number of pages
10
Written in
2020/2021
Type
Summary

Subjects

Content preview

Hoorcollege 5:

Operating system: interface between hardware, executable programs and the
computer operator(the user). Main tasks of an OS;

1. Process management: manage programs -> start, stop, errors, interrupts
& time sharing
2. Memory management: manage memory -> information sharing
(communication) & protection (security) between programs & processes
3. File management: information storage outside memory -> coordinate
access. Read & write of files.
4. Device management: (CPU-) external device access -> resource sharing
and interface procedures.




Explanations components:

, - System vs. Application programs: applications are user-centric; system programs manage
system operations
- System commands: elementary programs that perform 1 or few system calls
- Kernel: OS main tasks
- Hardware-Abstraction Layer → idea: unify naming & procedure to access multiple similar
drivers



Simple OS structures(Early UNIX and DOS). The application program can
call the system programs. The system program can either interface drivers
or hardware functions directly. There was a lack of hardware access
protection. You could write a program that would overwrite the
instruction of other programs. Lots of ‘loopholes’ to circumvent OS
constraints. The application program can also directly access the memory.

It is very hard to maintain. For each new program that is released you
need new functions and new interfaces to covert its calls to the hardware.
There are also common incompatibilities, if you write a new version of OS, you need to recompile
the whole stack. So the new version is actually a reinstall of your OS and not an update because
everything has to be changed as well.



An OS has two execution modes:

- Kernel mode (supervisor mode): full resource access, no restrictions -> direct hardware calls.
- User mode: restricted instruction set available that programs can directly execute, memory
segment access protection so programs cannot enter other programs segments -> no direct
hardware access (apart from the CPU and memory).

If a program want access to certain memory or hardware it will ask for permission.



Why splitting the kernel mode and user mode?:

1. Memory protection: to prevent programs manipulation other programs.
2. Protect OS from software manipulation (-> intrusion protection, e.g. firewall or anti-virus)
3. Access synchronisation to single-access hardware. E.G. the webcam can only serve one
program, you can have a program that can ask access to the webcam and the OS will say,
‘yes you can have permission’, when another program want to access the webcam, the first
program needs to drop their permission so the second program can use it.



Task/objectives of an OS:

- Program creation, execution & coordination – the process life cycle
- I/O operations
- File-system manipulation, manage the filesystem(how can we read and write files)
- Communication -> IPC(communication between processes) & Network
- Error detection
- Resource allocation & management
$3.59
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.
luukvaa Universiteit Utrecht
Follow You need to be logged in order to follow users or courses
Sold
760
Member since
7 year
Number of followers
589
Documents
12
Last sold
6 days ago

Welkom op mijn stuvia pagina! Kijk gerust rond welke samenvattingen op dit moment op mijn pagina staan. Gedurende elk jaar zullen er weer nieuwe samenvattingen verschijnen, dus neem af en toe een kijkje en klik op het knopje \'\'volgen\". Succes met studeren!

4.0

284 reviews

5
108
4
102
3
58
2
5
1
11

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