The document discusses the basics of operating systems and computer systems. It defines an operating system as a program that manages a computer's hardware and acts as an intermediary between the user and computer. A computer system consists of hardware components like the CPU and memory, an operating system, application programs, and users. The operating system controls hardware usage and coordinates application programs for users. It describes functions of the operating system like memory management, device management, processor management, file management, and security.
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
Operating system basics function of os unit 1 by ram k paliwal part 1
1. Unit -1
OPERATING SYSTEM BASICS AND COMPUTER SYSTEM OVERVIEW
8/6/2019 RAM K PALIWAL OS BASICS AND FUNCTION OF OS - UNIT 1 1
2. Operating System Basics
Definition:
An operating system is a program that manages a computer’s
hardware. It also provides a basis for application programs and acts
as an intermediary between the computer user and the computer
hardware.
Note : An amazing aspect of operating systems is how they vary in
accomplishing these tasks.
8/6/2019 RAM K PALIWAL OS BASICS AND FUNCTION OF OS - UNIT 1 2
3. Computer System Component
8/6/2019 RAM K PALIWAL OS BASICS AND FUNCTION OF OS - UNIT 1 3
Abstract view of the components of a computer system
4. Continue…
A computer system can be divided roughly into four components:
1. Hardware : CPU, Memory and I/O devices
2. Operating system: which governs the all processes.
3. Application programs: Word Processors, Spreadsheets and Web
browser
4. Users: People who use the computer system
Note: The operating system controls the hardware and coordinates
its use among the various application programs for the various users.
8/6/2019 RAM K PALIWAL OS BASICS AND FUNCTION OF OS - UNIT 1 4
5. Modern Computer
A modern general-purpose computer system consists of one or more
CPUs and a number of device controllers connected through a
common bus that provides access to shared memory
8/6/2019 RAM K PALIWAL OS BASICS AND FUNCTION OF OS - UNIT 1 5
6. Bootstrap Program
1. For a computer to start running—for instance, when it is powered
up or rebooted—it needs to have an initial program to run.
2. This initial program, or bootstrap program, tends to be simple.
Typically, it is stored within the computer hardware in read-only
memory (ROM) or electrically erasable programmable read-only
memory (EEPROM), known by the general term firmware.
3. It initializes all aspects of the system, from CPU registers to device
controllers to memory contents. The bootstrap program must know
how to load the operating system and how to start executing that
system.
8/6/2019 RAM K PALIWAL OS BASICS AND FUNCTION OF OS - UNIT 1 6
7. Functions of Operating System
8/6/2019 RAM K PALIWAL OS BASICS AND FUNCTION OF OS - UNIT 1 7
8. Continue…
The functions of an Operating System include:
1. Memory Management
2. Device Management
3. Processor Management
4. File Management
5. Security
6. Error Detection
7. Coordination among Software and Users
8. Job accounting
8/6/2019 RAM K PALIWAL OS BASICS AND FUNCTION OF OS - UNIT 1 8
9. Continue…
Memory Management
1. One of the main functions of OS is to manage the primary and secondary
memory. All the memory devices such as hard disk, pen drive etc. are managed
by OS.
2. Memory management keeps an eye on each and every memory location, in
any case either it is allocated or it is not allocated (free). Memory allocation to
the processes is also decided and checked by Operating System. It decides and
checks which process will obtain memory and at what time.
8/6/2019 RAM K PALIWAL OS BASICS AND FUNCTION OF OS - UNIT 1 9
10. Continue…
Device Management
1. An OS with help of their respective drivers manages device communication.
Following activities are performed by an Operating System for device
management:
2. It Keep a track of all devices. This task is performed by I/O controller.
3. It decides which process will get the device when and for how long.
4. It allocates and de-allocates the device efficiently.
8/6/2019 RAM K PALIWAL OS BASICS AND FUNCTION OF OS - UNIT 1 10
11. Continue…
Processor Management
In a multi-programming environment, it is OS who decides which
process will get the processor when and for how long. This task is
called Process Scheduling. Following activities are done by Operating
System for processor management:
1. It keeps a track of processor tasking and checks the status of
process. Traffic controller performs this task.
2. It allocates the processor and also de-allocates processor when a
process is complete and not required.
8/6/2019 RAM K PALIWAL OS BASICS AND FUNCTION OF OS - UNIT 1 11
12. Continue…
File Management
In a file system, generally directories are organized for usage and
easy navigation. Following activities are performed by an OS under
file management:
1. It keeps a track of location, information, status etc. This collective
is known as File System.
2. It decides who will get the resources.
3. It allocates and de-allocates the resources.
8/6/2019 RAM K PALIWAL OS BASICS AND FUNCTION OF OS - UNIT 1 12
13. Continue..
Security
An OS by using password and other similar techniques prevents and
checks unauthorized users to access the data and program.
Error Detection
By using various error detecting aids an operating system helps in
prevention of errors.
8/6/2019 RAM K PALIWAL OS BASICS AND FUNCTION OF OS - UNIT 1 13
14. Continue…
Coordination among Software and Users
It Coordinates and assigns
◦ Compilers
◦ Assemblers
◦ interpreters and other software to users.
Job accounting
It keeps a track of resources and jobs used by different users all the
time.
8/6/2019 RAM K PALIWAL OS BASICS AND FUNCTION OF OS - UNIT 1 14
15. References
1. Operating System Concept ninth Edition by Abraham Silberschatz and Galvin
2. https://electricalfundablog.com/operating-system-os-functions-types-resource-management/
8/6/2019 RAM K PALIWAL OS BASICS AND FUNCTION OF OS - UNIT 1 15
Notes de l'éditeur
Mainframe operating systems are designed primarily to optimize utilization of hardware. Personal computer (PC) operating systems support complex games, business applications, and everything in between. Operating systems for mobile computers provide an environment in which a user can easily interface with the computer to execute programs. Thus, some operating systems are designed to be convenient, others to be efficient, and others to be some combination of the two
We can also view a computer system as consisting of hardware, software, and data. The operating system provides the means for proper use of these resources in the operation of the computer system. An operating system is similar to a government. Like a government, it performs no useful function by itself. It simply provides an environment within which other programs can do useful work.
1. Each device controller is in charge of a specific type of device (for example, disk drives, audio devices, or video displays).
2. The CPU and the device controllers can execute in parallel, competing for memory cycles.
3. To ensure orderly access to the shared memory, a memory controller synchronizes access to the memory
To accomplish this goal, the bootstrap program must locate the operating-system kernel and load it into memory.
Once the kernel is loaded and executing, it can start providing services to the system and its users. Some services are provided outside of the kernel, by system programs that are loaded into memory at boot time to become system processes, or system daemons that run the entire time the kernel is running.