Introduction To Operating System: TM 2033 Platform Technology
Introduction To Operating System: TM 2033 Platform Technology
Platform Technology
Introduction to Operating
System
* Exercise Part 1
* Content
* Where is the location of OS in computer system?
* What is the definition of OS?
* What are the main functions of OS?
* How is the structure of OS?
* What are the main components of OS?
* What are the two dimensions of OS?
* Summary
* Exercise Part 2
* Reading materials:
1) Chapter 8: Operating system support, William Stallings, 2013. Computer Organization and
Architecture. Designing For Performance, 9th Edition, Pearson Education International, Inc.
2) Chapter 15: Operating system: An overview, 2. Irv Englander, 2014, The Architecture of Computer
Hardware, System Software and Networking, 5th Edition, John Wiley & Sons.
*
* 1) In this resource
monitor, you can view
processor, disk, network,
and memory utilization.
Which component in a
computer system that can
manage effectively these
resources?
a) Application program
b) Operating system
c) System program
d) System call
*
* 2) Kernel memory has
only 356 paged memory.
This memory is used by:
a) System program
b) Registers
c) Operating system kernel
d) Application program
*
* 3) The processor is
* 4) OS offers many
often idle when there is a
services. In order to use
program that needs to
these services, a user
wait for I/O. How to solve
must use:
this problem?
a) A set of system calls
a) Batch operating system
b) A set of signals
b) Multiprogramming
c) A set of data
c) Programmer interact
directly with the computer
hardware
*
* 5) In order to switch
* 6) What is shell in
from user mode to kernel
Linux?
mode, this instruction
must be executed: a) Device driver
* Exercise Part 1
* Content
* Where is the location of OS in system computer?
* What is the definition of OS?
* What are the main functions of OS?
* How is the structure of OS?
* What are the main components of OS?
* What are the two dimensions of OS?
* Summary
* Exercise Part 2
*
* Exercise Part 1
* Content
* Where is the location of OS in system computer?
* What is the definition of OS?
* What are the main functions of OS?
* How is the structure of OS?
* What are the main components of OS?
* What are the two dimensions of OS?
* Summary
* Exercise Part 2
*
* “A collection of computer
programs that integrate
the hardware resources
of the computer and make
those resources available
to a user and the user’s
programs, in a way that
allows the user access to
the computer in a
productive, timely, and
efficient manner.”
*
* Exercise Part 1
* Content
* Where is the location of OS in system computer?
* What is the definition of OS?
* What are the main functions of OS?
* How is the structure of OS?
* What are the main components of OS?
* What are the two dimensions of OS?
* Summary
* Exercise Part 2
*
*Efficiency
*Convenience
*
http://technet.microsoft.com/en-us/magazine/ff382715.aspx
*
* Exercise Part 1
* Content
* Where is the location of OS in system computer?
* What is the definition of OS?
* What are the main functions of OS?
* How is the structure of OS?
* What are the main components of OS?
* What are the two dimensions of OS?
* Summary
* Exercise Part 2
*
Software
Computer
system
Hardware
*
User space
Software
Computer
system
Kernel space
Hardware
*
Application
program
User space
System
program
Software
Computer
system
Kernel space
Hardware
*
Application
program
User space
System
program
Software
Computer
Operating Process management system
system
I/O management
services
Kernel space
File system management
Memory management
Hardware
*
* Exercise Part 1
* Content
* Where is the location of OS in system computer?
* What is the definition of OS?
* What are the main functions of OS?
* How is the structure of OS?
* System call
* What are the main components of OS?
* What are the two dimensions of OS?
* Summary
* Exercise Part 2
*
* How to access services provided by OS?
Application
program
User space
System
program
Hardware
*
User
date( )
Sistem program
- Commands
- Utilities
(1) User requests command
User space date ( )
date( )
(2) Trap instruction will be
System call executed to switch the
control from user mode to
kernel mode.
Kernel space (3) Based on the number of
system call, i, system call
handler will execute the
. date( ) command
. (4) After completed, the
Implementasi control will be returned
. back to the user.
-- Untuk date ( )
--i .
. return
.
*
Process Management
Signals
*
Dir. & File System Mgmt.
* Exercise Part 1
* Content
* Where is the location of OS in system computer?
* What is the definition of OS?
* What are the main functions of OS?
* How is the structure of OS?
* System call
* What are the main components of OS?
* What are the two dimensions of OS?
* Summary
* Exercise Part 2
*
* Process management
* When a program is in execution phase, this program is called a process. Process
management tracks all the processes using process control block.
* Memory management
* Every program and data that need to be executed by a processor, need to be loaded in main
memory. Memory management must ensure that the program and data have been loaded
from their permanent location (secondary storage) to main memory.
* File system management
* File is a collection of related information. The structure, name, protection and
implementation of the files are managed by file system.
* I/O management
* Input/output devices are part of a computer system that need to be managed properly. I/O
management provides I/O device driver program for every device that has been installed in
the computer system.
*
* Exercise Part 1
* Content
* Where is the location of OS in system computer?
* What is the definition of OS?
* What are the main functions of OS?
* How is the structure of OS?
* System call
* What are the main components of OS?
* What are the two dimensions of OS?
* Summary
* Exercise Part 2
*
* 1) Interactive or Batch
* 2) Multiprogramming or uni-programming
*
* 1) Interactive
User interact directly with the computer, usually through
keyboard, to request an execution of a job (a program).
*
* 1) Batch
OS will manage programs from various users to be executed by
the computer in batch.
*
* 2) Multiprogramming
* Having a processor work on more than one program at a time.
Several programs are loaded into memory, and the processor
switches rapidly among them.
* or uni-programming
* Works only one program at time.
*
* Exercise Part 1
* Content
* Where is the location of OS in system computer?
* What is the definition of OS?
* What are the main functions of OS?
* How is the structure of OS?
* System call
* What are the main components of OS?
* What are the two dimensions of OS?
Summary
* Summary
* Exercise Part 2 and compare your answers
*