Chapter-1: Introduction Part-1
Chapter-1: Introduction Part-1
Chapter-1: Introduction Part-1
Part-1
Operating System – 2019 - By AM.NA
Introduction
Computer system components.
3. Application programs:
iii. Link between the hardware and software running on the computer.
O S D e fi n iti o n
OS is a resource
allocator
OS is a control
program
1
9
2
3 7
4 6
5
Note:
must invoke system calls to access can execute any CPU instruction and
hardware reference any memory address
If any program crashes, only that If a program crashes, the entire system
particular program is halted will be halted.
OS Types.
o Example: Phones
a. User interface
Almost all operating systems have a user interface (UI)
Varies between Command-Line (CLI), Graphics User Interface (GUI), batch
b. Program execution:
OS must be able to load, run and terminate the programs.
c. I/O operations:
OS is responsible for transferring data to and from I/O devices.
d. File-system manipulation:
OS help programs to read, write, delete and search files and directories.
e. Communications:
Processes exchange information between computers over a network
f. Error detection
OS to be aware of errors that may occur and take actions that handle
them.
Hardware and software errors must be detected and handled
appropriately
Provide Debugging facilities that enhance the user’s and programmer’s
abilities to efficiently use the system
2) services provide functions for ensuring the efficient operation of the system itself
g. Resource allocation
When multiple jobs running concurrently, resources are allocated to each.
Support Many types of resources - Some (such as CPU cycles, main
memory, and file storage) may have special allocation code, others (such as
I/O devices) may have general request and release code
h. Accounting
Keep track of which users use how much and what kinds of computer
resources.
o Example: UNIX
MCQ
Q1: the components of computer system include ---------------------
a) Hardware
b) Operating system
c) Application programs
d) Users
e) All of the above
d) Personal Computers
a) Vacuum Tubes
b) Transistors and Batch Systems
c) ICs and Multiprogramming
d) Personal Computers
Q10: --------------- is one that processes routine jobs without any interactive user
present.
a) batch systems
b) Transaction processing systems
c) Time Sharing Systems
Q11: --------------- is one that allow multiple remote users to run jobs on the
computer at once
a) batch systems
b) Transaction processing systems
c) Time Sharing Systems
d) Debugging programs.
Q16: ---------------- provide user authentication and extends to defending external I/O
devices from invalid access attempts
a) Protection
b) Security
c) Privacy
Q17: --------------- involves ensuring that all access to system resources is controlled
a) Protection
b) Security
c) Privacy
Q19: In ------------, if any program crashes, only that program will be halted
a) User mode
b) Kernel mode
c) Device management