Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Operating System LECTURE NOTES

Rating
-
Sold
-
Pages
109
Uploaded on
17-07-2023
Written in
2022/2023

Operating System Lecture Notes are educational materials or resources that focus on teaching the fundamental concepts, principles, and functions of an operating system. These notes serve as a comprehensive guide and reference for students studying computer science, information technology, or any related field where knowledge of operating systems is important.

Show more Read less
Institution
Course

Content preview

OPERATING SYSTEMS
B-Eng, Computer Engineering Year
II / Semester II




1. INTRODUCTION TO OPERATING SYSTEMS AND OVERVIEW OF
COMPUTER SYSTEM
What is an Operating System?
An operating system is collection of system programs that together control
the operations of a computer system, acts as an intermediary between the
user of a computer and the hardware, through application program. Some
examples of operating systems are UNIX, Mach, MS-DOS, MSWindows,
Windows/NT, Chicago, OS/2, MacOS, VMS, MVS, and VM Operating
system goals:
• Execute user programs and make solving user problems easier
• Make the computer system convenient to use
• Use the computer hardware in an efficient manner

,Operating systems are tightly coupled with the architecture of the
computer on which they are running. Some background on how the
hardware works is therefore required.
Computer System Structure
Computer system can be divided into four components
• Hardware : provides basic computing resources
- CPU, memory, I/O devices
• Operating system
- Controls and coordinates use of hardware among various
applications and users
• Application programs : define the ways in which the system
resources are used to solve the computing problems of the users -
Word processors, compilers, web browsers, database systems,
video games
• Users
- People, machines, other computers
The diagram below shows how the four components of a computer system
interact together.




An Operating System
• is a resource allocator,
• Manages all resources,
• Decides between conflicting requests for efficient and fair resource use
• is a control program
• Controls execution of programs to prevent errors and improper use
of the computer




COURSE
FACILITATOR : TATSOPTEU E. ENDELLY
1

, • “The one program running at all times on the computer” is the
kernel. Everything else is either a system program (ships with the
operating system) or an application program.
Computer Startup (System Boot) / Operating System Generation
• Operating systems are designed to run on any of a class of
machines, and must be made available to hardware so it can start it
• SYSGEN program obtains information concerning the specific
configuration of the hardware system
• Booting : starting a computer by loading the kernel
• Bootstrap program : code stored in ROM (firmware) that is able to
locate the kernel, load it into memory, and start its execution
Computer System Organization
• One or more CPUs, device controllers connect through common bus
providing access to shared memory
• Concurrent execution of CPUs and devices competing for memory
cycles




Computer-System Operation
• I/O devices and the CPU can execute concurrently
• Each device controller is in charge of a particular device type
• Each device controller has a local buffer
• CPU moves data from/to main memory to/from local buffers
• I/O is from the device to local buffer of controller
• Device controller informs CPU that it has finished its operation by
causing An interrupt
Interrupts
An interrupt is a hardware mechanism that enables an external device,
typically I/O devices, to send a signal to the CPU. An interrupt signal

COURSE
FACILITATOR : TATSOPTEU E. ENDELLY
2

, requests the CPU, to interrupt its current activities and attend to the
interrupting device’s needs.
Direct Memory Access Structure
The main idea of direct memory access (DMA) is to enable peripheral
devices to cut out the “middle man” role of the CPU in data transfer. It
allows peripheral devices to transfer data directly from and to memory
without the intervention of the CPU. Having peripheral devices access
memory directly would allow the CPU to do other work, which would lead
to improved performance, especially in the cases of large transfers. The
features of DMA are presented below:
• Used for high-speed I/O devices able to transmit information at close
to memory speeds
• Device controller transfers blocks of data from buffer storage directly
to main memory without CPU intervention
• Only one interrupt is generated per block, rather than the one
interrupt per byte.
Storage Structure
• Main memory: only large storage media that the CPU can access directly
• Secondary storage: extension of main memory that provides large
non-volatile storage capacity
• Magnetic disks: rigid metal or glass platters covered with magnetic
recording material
• Disk surface is logically divided into tracks, which are subdivided into sectors
• The disk controller determines the logical interaction between the
device and the computer
Storage Hierarchy
Storage systems organized in:
• hierarchy
• Speed
• Cost
• Volatility




COURSE
FACILITATOR : TATSOPTEU E. ENDELLY
3

Written for

Course

Document information

Uploaded on
July 17, 2023
Number of pages
109
Written in
2022/2023
Type
Class notes
Professor(s)
Mr endelly
Contains
All classes

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
bainjamainlegrand

Get to know the seller

Seller avatar
bainjamainlegrand IUC
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
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 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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions