DBMS340
DBMS340
B-440
Experiment No : 1
Theory:
1) File Management
An operating system’s (OS) primary function is to manage files and folders.
Operating systems are responsible for managing the files on a computer. This includes creating,
opening, closing, and deleting files. The operating system is also responsible for organizing the files
on the disk.
2) Device Management
Operating systems provide essential functions for managing devices connected to a computer. These
functions include allocating memory, processing input and output requests, and managing storage
devices. This device could be a keyboard, mouse, printer, or any other devices you may have
connected.
An operating system will provide you with options to manage how each device behaves. For
example, you can set up your keyboard to type in a specific language or make it so that the mouse
only moves one screen at a time.
3) Memory Management
Memory management is a method in the operating system to manage operations between main
memory and disk during process execution.
Memory manager permits computers with a small amount of main memory to execute programs
larger than the size or amount of available memory. It does this by moving information back and
forth between primary memory and secondary memory by using the concept of swapping.
Serial Processing
The evolution of operating systems began with serial processing. It marks the start of the
development of electronic computing systems as alternatives to mechanical computers. Because of
the flaws in mechanical computing devices, humans' calculation speed is limited, and they are prone
to making mistakes. Because there is no operating system in this generation, the computer system is
given instructions that must be carried out immediately.
Programmers were incorporated into hardware components without using an operating system by
the 1940s and 1950s. The challenges here are scheduling and setup time. The user logs in for
machine time by wasting computational time. Setup time is required when loading the compiler,
saving the compiled program, the source program, linking, and buffering. The process is restarted if
an intermediate error occurs.
Example: Windows 95 and 98 are examples of serial processing operating systems.
Batch System
The batched systems marked the second generation in the evolution of operating systems. In the
second generation, the batch processing system was implemented, which allows a job or task to be
done in a series and then completed sequentially. The computer system in this generation does not
have an operating system, although various operating system functionalities are available, such as
FMS and IBSYS. It is used to improve computer utilization and application. On cards and tapes,
jobs were scheduled and submitted. Then, using Job Control Language, they were successively
executed on the monitors. The first computers employed in the batch operation method created a
computer batch of jobs that never paused or stopped. The software is written on punch cards and
then transferred to the tape's processing unit. When the computer finishes one job, it immediately
moves on to the next item on the tape. Despite the fact that it is inconvenient for the users, it is
designed to keep the pricey computer as busy as possible by running a leveraged stream of
operations. Memory protection prevents the memory space that makes up the monitor from being
changed, and the timer prevents the job from monopolizing the system. When the input and output
devices are in use, the processor remains idle due to poor CPU utilization.
Example: MVS Operating System of IBM is an example of a batch processing operating system.
2) Monolithic Structure
The monolithic operating system controls all aspects of the operating system's operation, including
file management, memory management, device management, and operational operations.
The core of an operating system for computers is called the kernel (OS). All other System
components are provided with fundamental services by the kernel. The operating system and the
hardware use it as their main interface. When an operating system is built into a single piece of
hardware, such as a keyboard or mouse, the kernel can directly access all of its resources.
The monolithic operating system is often referred to as the monolithic kernel. Multiple
programming techniques such as batch processing and time-sharing increase a processor's usability.
Working on top of the operating system and under complete command of all hardware, the
monolithic kernel performs the role of a virtual computer. This is an old operating system that was
used in banks to carry out simple tasks like batch processing and time-sharing, which allows
numerous users at different terminals to access the Operating System.