Wednesday, May 22, 2019

Disk operating system Essay

MS- country (Microsoft Disk Operating body) is a single-substance abuser, single- travailing estimator operational t ravelk that uses a ask line interface (CLI).It too works as an interpreter surrounded by user and computer.The term DOS can refer to some(prenominal)(prenominal) operate system, and it is most often utilise as shorthand for MS-DOS (Microsoft dish in operation(p)(a) system). Origin everyy developed by Microsoft for IBM, MS-DOS was the standard operate system for IBM-compatible personal computers.The initial versions of DOS were very simple and resembled another operational system called CP/M. Subsequent versions have became increasingly sophisticated as they incorporated features of minicomputer operating systems. However, DOS is smooth a 16- deed operating system and does not support multiple users or multitasking. For some time, it has been widely acknowledged that DOS is insufficient for modern computer applications.Microsoft Windows helped comfort some problems, but still, it sat on top of DOS and relied on DOS for m all services. Even Windows 95 sat on top of DOS. Newer operating systems, much(prenominal) as Windows NT and OS/2 Warp, do not rely on DOS to the same extent, although they can execute DOS- ground course of instructions. It is expected that as these operating systems gain market sh argon, DOS allow for eventually disappear. In the meantime, Caldera, Inc. markets a version of DOS called DR-OpenDOS that extends MSDOS in call attentionificant ways.Components of MS-DOSMS-DOS consists of four essentials programs and a set of superfluous utilities. Four main programs be Boot Record IO.SYS MSDOS.SYST COMMAND.COMWhat is BOOTing ?It is a process that generates up a computer.It checks for proper functioning of all the peripheral devices attached with the system. It searches for the operating system and, when located, loads it into the main remembrance. ORWhen the computer is switched on, the firmware program in Rea d Only Memory(ROM) withal called Basic Input-Output body(BIOS) reads programs and info i.e. Operating System and loads it into memory (RAM). This process is known Bootstrapping(Booting). The OS once loaded takes control of the computer, handles user interaction and executes application programs. BOOTing SequenceDuring Booting process, computer loads the operating system into its memory. DOS booting involves reading side by side(p) files into memory namely IO.SYS, MSDOS.SYS, and COMMAND COM.The Basic Input/Output Program (IO.SYS) This program provides interface between the computer hardware devices and software of the system. It takes care of the keyboard input, character output to monitor, output to printer and time of the day. The File and Disk Manager Program(MSDOS.SYS) It contains the file care and the disk buffering management capabilities. It keeps track of all the disk access of an application program and remains permanently in memory.The play Processor (COMMAND.COM) It is also called command interpreter. It is the program that displays the system prompt and handles user interface by executing the command typed in by the user using keyboard. The CONFIG.SYS file This file contains reference to device drivers which are loaded when OS takes control of the computer. This device drivers are required for configuring operating system for running special devices.The AUTOEXEC.BAT file This is a special batch program that is automatically executed when the system is started. It can be used to define keys, define the path that MS-DOS uses to find files, display messages on the screen etc. It will be executed only if it exists in the result directory or the diskette from which the system is loaded. Each time the system is started, MS-DOS executes the commands straind in AUTOEXEC.BAT file. One can run it without restarting the system by typing AUTOEXEC at the command prompt.Warm and COLD Reboot leafing on of the computer from Power off and loading the ope rating system is called Cold Boot. This generally starts with memory test and chips initialization. There may be case when the computer is already on or has hanged up and we want to reboot the system. This is known as Warm Boot and is done by crush ctrl+alt+del keys simultaneously or just by pressing Reset button on the system.Naming DOS directories and filesThere are two name in DOS and is divided into 2 parts.1. Primary work out of speech2. Secondary Name or extension.Primary name is separated from the Secondary name/ extension with the help of a dot (.) look at the following example. prototype ENVOICE. TXTPrimary name can be from 1 to 8 characters long.Secondary name contains 3 or less than 3 characters and is optional. The extension tells DOS about what kind of file it is.A valid Character for naming a file are from A to Z and the digit 0 to 9Types of DOS commandsC Is known as DOS command prompt, where we give the commands. DOS command divided into 2 parts.1. Internal Comman ds or Memory-Resident Commands2. External Command or Disk-Residence CommandsAny instruction given to the computer to realize a specific task is called command. The DOS has several commands, each for a particular task and these are stored in DOS directory on the disk. The commands are of two types (a)Internal Commands These are in built commands of MS-DOS i.e. these are stored in Command interpreter file (COMMAND.COM). These commands dwell in the memory as long as the machine is at the system prompt(C) level. To use these commands no extra /external file is required. E.g. DATE, TIME, DIR, VER etc. These are also called Memory Resident Commands. These commands are automatically loaded into the computers memory during the booting process. They actually included in the Command.com file. So these commandsare execut fitted immediately after getting the DOS prompt.Example mkdir, cd, rd, copycon etc.(b) External commands These are separate program (.com) files that reside in DOS direct ory and when executed practice like commands. An external command has predefined syntax. for e.g. HELP, DOSKEY, BACKUP, RESTORE, FORMAT etc. These are also called Disk-Resident Commands. These commands are meant for special purpose. These are found in separate files on operose Disk or Floppy Disk, hence they dont typically consume valucapable memory space. They are loaded into memory only when called.Example xcopy, move, doskey etc.Microsoft Disk Operating SystemIntroduction to the Operating SystemsAn Operating system is software that creates a relation between the exploiter, Software and Hardware. It is an interface between the all. All the computers need basic software known as an Operating System (OS) to function. The OS acts as an interface between the User, Application Programs, Hardware and the System Peripherals.The OS is the first software to be loaded when a computers starts up. The entire application programs are loaded after the OS. Whenever an application needs inform ation it requests the OS which in turn queries the System clock on the motherboard. User interacts with the computer through the OS then OS interprets inputs given by a user through the Keyboard, Mouse or other input device and takes appropriate actions.An Operating System can be of Three TypesSingle UserMS-Dos, MS-Win 95-98, Win-MEMulti UserUNIX, Linux, XENIXNetworkNovel Netware, Win-NT, Win-2000-20031. Single UserIf the single user os is loaded in computers memory the computer would beable to handle one user at a time.2. Multi userIf the multi-user os is loaded in computers memory the computer would beable to handle more than one user at a time.3. NetworkIf the network os is loaded in computers memory the computer would be ableto handle more than one computer at time.Command Prompt InterfaceOperating System provides a schoolbook based interface called command prompt. From the command prompt commands can be issued to perform file and disk management and to run program. Results of these commands are presented to the user as text message.CThe command prompt can be an alphabet followed by one colon (), one back slash (), one greater than sign () and one blinking element called cursor (_).Where Crepresents the Drive letter (Current Drive)represents the current folder / Directoryrepresents the end of the Prompt and_blinking element (represents the Cursor)Always a cursor position decides that the current typed letter from the keyboard will appear on that position.The operating system (OS) is the first program that must be loaded into the memory of your PC before you can use it for any application. You can start your computer with disk operating system (DOS) or some other operating system such as Windows 95, 97, 98 or Windows NT that might be installed in the Hard disk. In this chapter, we shall discuss the basic facilities available in DOS. Switch to MS-DOS and go through most of the text given in this and the next two chapters.If your computer is running under w indows 95/98 or Windows NT, perform the following steps to switch to MS-DOS, otherwise move to section 2.1. chit-chat the start button in the taskbar and press the windows logo key to open the start menu then click programs in the start menu.Windows displays the program submenu.In the program menu click MS-DOS Prompt and your screen displays a window that contains MS-DOS Prompt, such as Cwindows_.If you like you can also restart your computer in MS-DOS mode by using the following stepso polish any open programso Click the Start Button in the TaskBar or Press the Windows Logo Key to open the Start Menu.o Click restart in MS-DOS Mode and then click OK.Wait for some time and your PC restarts in MS-DOS Mode.After your PC starts in MS-DOS Mode or window, skip the next section and move to section 2.2.What is a File?In computer terminology, file is a collection of text or data stored on a storage device, such as a Floppy Disk or Hard Disk. If you new to computers, it may sound a bit comp licated. Well, a computer file is not much unlike from a conventional paper file that you must have used, or at least seen being used.Just as you stored different types of documents (invoice, letters,reminders, memos etc.) in conventional files, computer files too store information.File NameEach file is given a name so that it can be referred to later. This name is called Filename. The file name in DOS can be up to eight alpha-numeric characters long. Optionally it can also have a period (.) followed by an extension name. The extension name the up to three characters long. For instance, consider the following filenameREPORT2PROGRESS.DOCHere REPORT2 is a filename. This filename does not have an extension name DOC. The use of an extension name in a filename is optional.However, the extension name helps in organizing and identifying a file. For instance DOC may suggest that it is a document file and COM may suggest that is a command file. If you use an extension name with a filename, normally you will have to specify the complete file name, normally you will have to specify the complete file name (i.e. including the extension name) age using it with DOS commands. While naming files, you can use the following characters in filenameA- Z, a- z, 0 9, , , $, %, , &, -, _, ,, ,( )You cannot use other characters, such as comatoseness (,) colon (), semicolon (), , , /, etc. in filename. Moreover, you cannot use space in filenames. Some examples of invalid file names areFilenameReasonSALE 2Contains spacePROGRESSERContains more that eight charactersMY, FileContains commasCHAP_01.DOC3Extension name contains more than 3 charactersIf you use more than eight characters in the filename or more than three characters in the extension name, DOS may automatically truncate the filename by removing extra characters. Further, some file names, such as COM 1, COM 2, LPT1, com and as needed are reserved by DOS for its own use. Therefore, do not use these names to name your file. Al so, remember that all DOS application programs including Word, Excel, WordStar, Bbase three PLUS AND Fox Pro follow the same file naming convention.WHAT IS A Directory?As you know, the storage capacity of the hard disk is usually kinda large (10 MB to a few GB). You can store hundreds or even thousands of files in your hard disk. Even the capacity of a floppy disk disk is large enough to store many files. A directory is nothing but a named section of a storage device, such as hard disk, floppy disk. In other words, to organize file on hard disk or floppy disk, these are divided into various segments (sections), called directories.You can store any number of files in each directory. The directory helps to organise your file in an efficient manner. Using directories in a storage devise is similar to keeping different types of files in an office in separate drawers of a filing cabinet.For instant, Xyz Company may keep all sales files in the first drawer, all purchase files in the re ciprocal ohm drawer and all employees files in the third drawer of a filing cabinet. In the same way, when XYZ Company computerizes its operation, it may store all sales files in the SALES directory, all purchase files in the PURCHASE directory and all employees files in the EMPOLYEES directory.Similarly, the user Raj Kumar may keep his personal files in the RAJ directory and the secretary of XYZ Company may store the letters in the LETTERS or DOC directory.Like a file name, the directory name can also have up to eight alpha-numeric characters. The directory name can also have and extension name up to 3 characters long. However, normally, the extension name is not used with the directory name.When you start your PC, it usually responds with C / and selects the main or the square up directory of drive C. Any file that you create or copy to driveC is added to this root directory. If you continue to add files in the root directory, after a few days, the root directory will have too ma ny files. This will not only confuse you, it will also make the PC slow. The PC may take too long to locate or open the files if there are too many files in a directory. There for you should try to use directories (and sub directories) in your hard diskDOS always creates a root directory in each story device. You can create new directories in the root directory of the hard disk or floppy disk. You can store files in these directories. Moreover, beside files, each directory can also have directories. Those, the file and directory organization in DOS looks like the roots of a tree, as show in figure 2.1.here, the root directory in drive C contains if you files in two directories WORD and EXCEL.The WORD directory contains a few files as well as a directory TENDER. Sometimes, the second level directory (TENDER in this case) is called sub-directory. The root directory contains another directory EXCEL. This directory contains a few files as well as two directories SALES and EMPLOYEE. B oth these directories contain files.At any level in the directory structure, can be created. For example, another directory, say FOXPRO directory may contain files as well as more directories. If you want, you can remove files from any directory or more files to another directory. You can also delete an enter directory. Comments to copy, move, rename and delete files and to create and change directories are discussed letter in this chapter. redundant file and directory comments are discussed in the next chapter.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.