Operating system-1
Operating system-1
Introduction
• An operating system is a program which manages all the computer hardwares.
• It provides the base for application program and acts as an intermediary between a user
and thecomputer hardware.
The second objective is to provide an interactive interface to the user and interpret
commands so that it can communicate with the hardware.
• The operating system is very important part of almost every computer system.
Following are some of the most widely used types of Operating system.
3. Multiprocessor System
1. In this type of system, there is no direct interaction between user and the
2. computer.
3. The user has to submit a job (written on cards or tape) to a computer operator.
6. Then a special program, the monitor, manages the execution of each program in the
batch.
7. The monitor is always in the main memory and available for execution.
8. In this the operating system, picks and begins to execute one job from memory.
9. Once this job needs an I/O operation operating system switches to another job (CPU
and OS always busy).
10. Jobs in the memory are always less than the number of jobs on disk(Job Pool).
11. If several jobs are ready to run at the same time, then system chooses which one to
run (CPU Scheduling).
12. In Non-multiprogrammed system, there are moments when CPU sits idle and does
not do any work.
Time-Sharing Systems are very similar to Multiprogramming batch systems. In fact time
sharing systems are an extension of multiprogramming systems. In time sharing systems
the prime focus is on minimizing the response time, while in multiprogramming the prime
focus is to maximize the CPU usage.
MULTIPROCESSOR SYSTEMS
1. Enhanced performance
3. If possible, system divides task into many subtasks and then these subtasks can
It is defined as an operating system known to give maximum time for each of the critical
operations that it performs, like OS calls and interrupt handling.
The Operating system which guarantees the maximum time for these operations are
commonly referred to as hard real-time, while operating systems that can only guarantee a
maximum of the time are referred to as soft real-time.
1. Processor management which involves putting the tasks into order and pairing
computer.
8. If we want the information in the file to be printed, it gives printout of the information.
Features of DOS
1. It is the primary system where the user will get an environment about the input and
output devices, e.g. Monitor, Keyboard, Printers etc. viz. DOS provides features essential to
control hardware devices such as Keyboard, Screen, Disk Devices, Printers, Modems and
programs.
2. It is helpful in performing file management e.g., creating, editing, deleting files etc.
3. It is a single user operating system. One user can operate at one time in this operating
system.
4. It is Character Based interface system. We can type letters (or characters in this operating
system). DOS translate the command issued of the user in the format that is understood by
the computer to execute it, also error message in the format for the user to understand.
13. DIR: This command lists the contents of a directory, showing files and
subdirectories.
14. CD (or CHDIR): Used to change the current directory. For example, "CD Documents"
changes the current directory to the Documents folder.
15. MD (or MKDIR): Creates a new directory. For instance, "MD NewFolder" creates a
new folder named NewFolder.
16. COPY: Copies one or more files from one location to another. For example, "COPY
file1.txt C:\Backup" copies file1.txt to the Backup directory on the C: drive.
17. DEL (or ERASE): Deletes one or more files. For instance, "DEL file1.txt" deletes the
file named file1.txt.
18. REN (or RENAME): Renames a file or directory. For example, "REN oldfile.txt
newfile.txt" renames the file oldfile.txt to newfile.txt.
19. TYPE: Displays the contents of a text file on the screen. For instance, "TYPE
document.txt" shows the contents of the file named document.txt.
20. CLS: Clears the screen, removing all previous commands and output from view.
21. EXIT: Closes the MS-DOS command prompt or exits from a batch file or script.
22. FORMAT: Formats a disk drive, preparing it for use by erasing all data on it. For
example, "FORMAT C:" formats the C: drive.