Notes, Exercises, Videos, Tests and Things to Remember on Disk Operating System (DOS)
Please scroll down to get to the study materials.
Ms-Dos is a result of shortening of Microsoft operating system. It is a popular operating system designed by Microsoft corporation for the user of IBM compatible computer and is replaced by its extension of Windows OS. It is a Character User Interface (CUI) or Text Based Interface (TBI), in which all commands and correct meaning have to be remembered and all are in text form.
The main function is to establish the relationship between hardware and software. It also provides an executable environment to the software inside the system. Out of this, it also allows a user to communicate with a computer by all the way by the use of commands called DOS command.
Thus, it is an interpreter between hardware and software and provides the working environment to the users. It also controls the hardware, such as the keyboard, monitor, printer, etc.
Features of MS-DOS:
The operating system which provides the user with the faculty of entering commands through interactive terminals for initiating program and applications is called CUI OS. CUI based on OS allows a user to type their commands using the keyboard to get computer’s response. The response is to display on the screen .
CUI never call a program running. Under it, we have to give a command to create the folder, copying files, deleting folder, etc. Examples: MS-DOS, PC-DOS.
Characteristics of CUI:
(Dilli , et al., 2015,159-166)
A file is a collection of related information. It has a name with the extension that specifies a type of file. Executable files are also called Program files and often have an extension like .exe and .com. Examples: practical.doc, where practical is a file name and .doc, is an extension.
Basically, there are 4 types of files. They are:
There are some rules for writing the file name. Such as:
A directory is a catalog for files stored on the disk of personal computers. It is used for organizing the files on the disk to make it easier to find the files. It contains the names of the files, size, date and time the stamps are created or modified. The root directory is the initial directory of a storage disk. All other directories on that are sub-directories of that root. The root directory is indicated by the backslash (/). A subdirectory is a directory within another directory.
Rules for writing the directory names:
Given figure represent the directories:
Wildcards are characters that can be used to stand-in for unknown characters in file names. In DOS, wildcard characters can match up with any character that is allowable in a file name. There are two wildcards in DOS:
*: Matches up with any combination of allowable characters.
? : Matches up with any single allowable character.
The asterisk character '*' can stand in for any number of characters.
Some example of this command:
This command would delete every file with the doc extension from the root directory of C:
The question mark wildcard, ? stand in for any single character.
Some example of this command:
This command would only delete files that had a single character a.doc or 1.doc is history, but a file like io.doc is perfectly safe as it has two characters.
This operating system has three essential files and many command files for booting the computer system. The files are:
(Dilli , 2015,218-222)
Dilli , S. P., Singh, k. E., Khadija , D., Bhatta, K. D., Baral, N., Saud, R. S., . . Dangi, R. (2015). Fundamental of Computer Science. Kathmandu: KEC publication and Distribution.