Professional Documents
Culture Documents
SYSTEM
FUNDAMENTALS
• Email:
riel.gomez@iacademy.edu.ph
Introduction
BASIC INFORMATION
• Absences
Introduction
BASIC INFORMATION
• The following rules will be strictly enforced during
classes:
‒ No sleeping in class.
• Fundamental Truth
Computers cannot
do anything
without software.
3. Whenever a user
wants to print a
document, it is
system software
that sends the
document to the
printer and tells the
printer how to print
the document.
Computer User
Application
Software
(Microsoft Word)
How System
application software
makes a request to the
system software to print
Software Supports
the document
Application Software
System Software
(Operating System,
Device Drivers)
Hardware
(Computer, Printer)
• An operating system is a
system software that allows
users or the application
programs they are using to
interact with the computer
hardware in an
easy/convenient and
efficient manner.
• Major Functions of an
Operating System:
1. It performs hardware
abstraction or resource
abstraction.
2. It performs resource
management or
resource allocation.
No application program
may execute unless it
has been allocated the
resources (CPU,
CPU,
memory, I/O devices)
devices it
needs and only the
operating system has
the authority to do this.
3. It takes care of
program execution.
The operating
system is
responsible for
executing and
controlling programs
for computer users.
that serves as
the interface
between users
and the kernel. Shell
It is often called
the command
interpreter.
system.
Shell
The command-line
interface requires
users to type the
commands at a
prompt.
• Typically, application
developers design programs
according to an application
programming interface (API).
So programs or computer
jobs have to be processed
one after another, in a
series or in a sequence.
This is called serial
processing.
For example:
int x;
i = 01101001
n = 01101110
t = 01110100
space = 00100000
x = 01111000
; = 00111011
These holes
represent
characters or
numbers and
were punched
by using a
keypunch.
So it is not
uncommon to see a
programmer carrying
his program in a box
of about two
thousand punched
cards (for one
program or source
file).
1. The programmer must first load the compiler by getting the punched cards
of the compiler. The compiler can now be loaded into the computer’s main
memory by using the punched card reader.
2. The programmer must now get the punched cards of the program and load
it into the computer's main memory by using the punched card reader
again.
3. The programmer will now instruct the computer to run the compiler by
using the toggle switches. His program will now be converted into an
executable file.
This means that the computer operator will load the COBOL
compiler only once and then compile all the programs. Therefore,
set-up time was reduced thereby increasing CPU utilization.
• To implement batch
processing, the computer
operator would gather
the punched card decks
from the users and stack
them one on top of one
another and put them in
the punched card reader.
Multiprogramming and
Multitasking Systems (3rd
Generation)
This problem is
compounded by the fact
that majority of I/O
devices are very slow
compared to the CPU.
So there is still a
substantial amount of
CPU idle time present
(CPU utilization goes
down again).
• This is known as
multiprogramming.
Multiprogramming
can be defined as the
concurrent execution
of two or more
programs by a single
CPU.
2
Program 1 Program 2 Program 3
When program 2
1 performs an I/O
operation, the CPU
When program 1 starts executing
performs an I/O program 3
operation, the CPU
starts executing
program 2
Program 2
performs I/O
operation
Program 1
performs I/O
operation
Program 3
performs I/O
operation
• So many users are now on-line or directly connected to the computer when they
compile and execute their programs. This is called on-line processing.
• And because the users are now interacting with the computer, the
computer system must respond right away to all user requests.
• Time-sharing is simply an
extension of multiprogramming.
The operating system assigns the
CPU to a user or to a process for a
certain time period, usually in the
range of a few milliseconds.
• Microsoft introduced
an operating
environment named
Windows on
November 20, 1985,
as a graphical
operating system shell
for MS-DOS in
response to the
growing interest in
graphical user
interfaces (GUIs).
• And as technology
advances, so do
operating systems.
Operating System Fundamentals