.

Sunday, March 3, 2019

Disk operating system Essay

MS- make (Microsoft harrow operational System) is a single- exploiter, single-tasking ready reckoner operate dust that utilizes a postulate line engager interface (CLI).It also kit and caboodle as an vocalism between user and information processing system.The term country chamberpot refer to any run dodge, but it is most often utilise as shorthand for MS- res publica (Microsoft platter operate dodging). Originally developed by Microsoft for IBM, MS-DOS was the standard operating system for IBM-compatible personalised computers.The initial versions of DOS were real simple and resembled a nonher operating system called CP/M. Subsequent versions start out became progressively sophisticated as they incorporated features of minicomputer operating systems. However, DOS is still a 16-bit operating system and does not support multiple users or multitasking. For easily-nigh meter, it has been widely acknowledged that DOS is insufficient for modern computer applica tion programs.Microsoft Windows helped let off some problems, but still, it sat on discharge of DOS and relied on DOS for many 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 give the axe execute DOS-based weapons platforms. It is expect that as these operating systems gain market sh atomic number 18, DOS result last disappear. In the mean clock time, Caldera, Inc. markets a version of DOS called DR-OpenDOS that ext finishs MSDOS in signifi sewert ways.Components of MS-DOSMS-DOS consists of quad essentials courses and a set of additional utilities. Four chief(prenominal) programs atomic number 18 guardianship Record IO.SYS MSDOS.SYST COMMAND.COMWhat is BOOTing ?It is a process that starts up a computer.It checks for proper work of all the peripheral cheats attached with the system. It searches for the operating system and, when located, loads it in to the primary(prenominal) retentivity. ORWhen the computer is switched on, the firmware program in Read scarce Memory(ROM) also called prefatory Input-Output System(BIOS) reads programs and data i.e. Operating System and loads it into gunstock (RAM). This process is known arousestrapping(Booting). The OS once lopsided takes control of the computer, clasps user interaction and executes application programs. BOOTing SequenceDuring Booting process, computer loads the operating system into its memory. DOS booting involves reading following sticks into memory clearly IO.SYS, MSDOS.SYS, and COMMAND COM.The Basic Input/Output Program (IO.SYS) This program provides interface between the 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 saddle and Disk Manager Program(MSDOS.SYS) It contains the consign management and the disk buffering management capabilities. It keeps trac k of all the disk access of an application program and remains permanently in memory.The curb Processor (COMMAND.COM) It is also called command interpreter. It is the program that displays the system prompt and handles user interface by carrying out the command typed in by the user using keyboard. The CONFIG.SYS bill This appoint contains reference to device drivers which are flush(p) when OS takes control of the computer. This device drivers are required for configuring operating system for running modified devices.The AUTOEXEC.BAT burden This is a special batch program that is automatically execute when the system is started. It butt end be used to define keys, define the path that MS-DOS uses to go on agitates, display messages on the screen etc. It will be executed only if it exists in the fall directory or the diskette from which the system is loaded. severally time the system is started, MS-DOS executes the commands introduced in AUTOEXEC.BAT excite. One prov oke run it without restarting the system by typing AUTOEXEC at the command prompt.Warm and COLD resuscitateSwitching on of the computer from Power off and loading the operating system is called Cold Boot. This generally starts with memory test and chips initialization. at that place whitethorn 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 pressing ctrl+alt+del keys simultaneously or fair by pressing Reset button on the system.Naming DOS directories and filesThere are ii plant in DOS and is dissever into 2 parts.1. primitive recognize2. Secondary Name or concomitant.Primary sur pick up is separated from the Secondary induce/ extension with the help of a dot (.) look at the following example. case ENVOICE. TXTPrimary name set up 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 sweet of file it is.A val id Character for label 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 shared into 2 parts.1. Internal Commands or Memory-Resident Commands2. External Command or Disk-Residence CommandsAny instruction given to the computer to perform a specific task is called command. The DOS has several commands, apiece for a special(prenominal) task and these are workshopd 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 reside in the memory as long as the machine is at the system prompt(C) level. To use these commands no extra / outer 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 include in the Com mand.com file. So these commandsare execut pass 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 directory and when executed be pass homogeneous commands. An immaterial 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 Hard Disk or Floppy Disk, hence they dont typically desolate valuable memory space. They are loaded into memory only when called.Example xcopy, run into, doskey etc.Microsoft Disk Operating SystemIntroduction to the Operating SystemsAn Operating system is software that creates a relation between the User, 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, app lication program 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 information it requests the OS which in turn queries the System measure on the m differentboard. 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 goat be of Three TypesSingle UserMS-Dos, MS-Win 95-98, Win-MEMulti UserUNIX, Linux, XENIX net income refreshing 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 to a greater extent than than one user at a time.3. NetworkIf the network os is loaded in computers memory the computer woul d be ableto handle more than one computer at time.Command trip InterfaceOperating System provides a text based interface called command prompt. From the command prompt commands understructure 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 patronise slash (), one greater than sign () and one blinking fixings 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 face 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 a s 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 windows 95/98 or Windows NT, perform the following steps to switch to MS-DOS, otherwise move to section 2.1. Click 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 gun for hiremenu.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 Close any open programso Click the Start Button in the TaskBar or labour 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.Aft er 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 drop dead a bit complicated. Well, a computer file is not frequently incompatible 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 in addition store information.File NameEach file is given a name so that it can be referred to later. This name is called Filename. The filename in DOS can be up to viii alpha-numeric characters long. Optionally it can also have a period (.) followed by an extension name. The extension name the up to trine 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) while 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 coma (,) 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 fi lename 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 PRN are reserved by DOS for its own use. Therefore, do not use these names to name your file. Also, remember that all DOS application programs including Word, Excel, WordStar, Bbase collar 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 normally quite 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 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 he lps to organise your file in an efficient manner. Using directories in a storage devise is similar to keeping different types of files in an shoes in separate draftsmans of a filing cabinet.For instant, Xyz Company may keep all sales files in the first drawer, all bribe files in the second 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 gross 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 root 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 alike many 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 fundamental law in DOS looks like the roots of a tree, as guide in figure 2.1.here, the root directory in drive C contains if you files in two directories WORD and EXCEL.The W ORD directory contains a few files as advantageously as a directory TENDER. Sometimes, the second level directory (TENDER in this case) is called sub-directory. The root directory contains another(prenominal) directory EXCEL. This directory contains a few files as well as two directories SALES and EMPLOYEE. Both 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 redact an enter directory. Comments to copy, move, rename and delete files and to create and change directories are discussed letter in this chapter. Additional file and directory comments are discussed in the next chapter.

No comments:

Post a Comment