F2032 Fundamentals of Os: Politeknik Ungku Omar
F2032 Fundamentals of Os: Politeknik Ungku Omar
F2032
FUNDAMENTALS OF OS
Chapter 1
Introduction to Operating System
(Week2)
Command Line
the command line is a user
interface that is navigated
by typing commands at
prompts.
a command line only uses a
keyboard to navigate by
entering commands and
does not utilize a mouse.
often more difficult to
learn because of the need
to memorize dozens of
different commands.
Shell Program
Multitasking
Multithreadin Cooperative
g Multitasking
Non
Preemptive
Preemptive
multitasking
Multitasking
Terminologies in OS
Multitasking
o is allowing a user to perform more than one computer
task at a time
o Process of having a computer perform multiple tasks
simultaneously.
o During multitasking, tasks such as listening to a CD or
browsing the Internet can be performed in the
background while using other programs in the
foreground such as an e-mail client.
Terminologies in OS
Cooperative multitasking
o Type of Multitasking where the programs in the
background can only process data when the program in
the foreground is doing nothing.
Terminologies in OS
Preemptive multitasking
o is task in which a computer operating system uses some
criteria to decide how long to allocate to any one task
before giving another task a turn to use the operating
system.
o Type of multitasking that enables a computer operating
system to switch between computer software programs.
o This helps prevent a software program from taking
complete control of the computer processor and allows
multiple programs to continue to operate without
crashing or freezing.
Terminologies in OS
Non-preemptive multitasking
o a process that receives such resources can not be
interrupted until it is finished.
o This prevents the computer or software from
interrupting a process until it has been completed.
o Early versions of Microsoft Windows, such as Windows
3.1, and early versions of the MacOS utilized this type of
multitasking.
Terminologies in OS
Multithreading
o is the ability of a program or an operating system
process to manage its use by more than one user at a
time and to even manage multiple requests by the same
user without having to have multiple copies of the
programming running in the computer
o An ability of a software program and/or operating
system to run several threads of the same program at
the same time.
OS Structures
Layered system
Virtual machines
Client-server models
Process Management
Memory Management
File Management
Major subsystem of OS
Process Management
o is a program in execution.
o A process needs certain resources, including CPU time,
memory, files, and I/O devices, to accomplish its task.
Major subsystem of OS