You are on page 1of 2

## Bing

Sure, I can help you with that. Here is a short note on MS-DOS and UNIX system
structures with diagrams.
MS-DOS is an operating system that has a layered structure, which means that it is
divided into different components that perform specific functions. The main layers
of MS-DOS are:
- Application program: This layer contains the programs that the user runs, such as
word processors, games, etc.
- System program: This layer contains the programs that provide services to the
application programs, such as compilers, editors, etc.
- MS-DOS device drivers: This layer contains the programs that control the hardware
devices, such as keyboard, screen, floppy disk, hard disk, etc.
- ROM BIOS device drivers: This layer contains the programs that are stored in the
read-only memory (ROM) chips on the motherboard. These programs provide basic
input/output functions for the hardware devices.
The following diagram shows the MS-DOS layered structure:

+---------------------+
| Application program |
+---------------------+
| System program |
+---------------------+
| MS-DOS device driver|
+---------------------+
|ROM BIOS device driver|
+---------------------+
| Hardware |
+---------------------+

UNIX is an operating system that has a modular structure, which means that it is
composed of several independent modules that communicate with each other through
well-defined interfaces. The main modules of UNIX are:
- Kernel: This module is the core of the operating system. It manages the memory,
processes, files, devices, and network for the operating system. It also provides a
system call interface for the user programs to request services from the operating
system.
- Shell: This module is the program that interacts with the user. It interprets the
commands that the user types and executes them. It also provides a scripting
language for the user to automate tasks. There are different types of shells in
UNIX, such as Bourne shell, C shell, etc.
- Utilities and applications: This module contains the programs that perform
various functions for the user, such as word processors, graphics programs,
database management programs, commands, etc.
The following diagram shows the UNIX modular structure:

+---------------------+
| Utilities and apps |
+---------------------+
| Shell |
+---------------------+
| Kernel |
+---------------------+
| Hardware |
+---------------------+

I hope this note helps you understand the basic differences between MS-DOS and UNIX
system structures. If you want to learn more, you can check out these web pages:
- MS-DOS Layered Structure
- Structure of Unix Operating System
- Difference between DOS and Unix

You might also like