![]() CATEGORIES: BiologyChemistryConstructionCultureEcologyEconomyElectronicsFinanceGeographyHistoryInformaticsLawMathematicsMechanicsMedicineOtherPedagogyPhilosophyPhysicsPolicyPsychologySociologySportTourism |
Need for an Operating SystemOperating system provides a software platform, on top of which, other programs, called application programs are run. The application programs must be written to run on the environment of a particular operating system. Our choice of operating system, therefore, depends to a great extent on the CPU and the other attached devices and the applications we want to run. For PCs, some of the most popular operating systems are Microsoft Windows, Linux, Mac OS, Solaris, BOSS, etc. Figure 3.3 Components controlled by an Operating System
Major Functions of an Operating System The functions of an operating system can be broadly outlined as follows: v Communicate with hardware and the attached devices [Device Manager] v Manage different types of memories [Memory Manager] v Provide a user interface [Interface Manager] v Provide a structure for accessing an application [Program Manager] v Enable users to manipulate programs and data [Task Manager] v Manage the files, folders and directory systems on a computer [File Manager] v Provide basic networking structure for LAN and Internet [Network Manager] v A smart OS also provides a minimal security to the computer system through authorization (user name) and authentications (password) [Security manager]
Types of Operating system Following types of operating system are generally available and used depending upon the primary purpose and application and the type of hardware attached to the computer: v Single User: Allows one user to operate the computer and run different programs on the computer. MS DOS is a common example of single user operating system. v Multi-user: Allows two or more users to run programs at the same time on a single computer system. Unix, Linux, Windows are common examples of multi user operating system. v Real time: Responds to input instantly. Real-time operating systems are commonly found and used in robotics, complex multimedia and animation, communications and has various military and government uses. LYNX and Windows CE are examples of real time operating systems. Operating System (OS) is an interface between hardware and user which is responsible for the management and coordination of activities and the sharing of the resources of the computer that acts as a host for computing applications run on the machine.
Graphical User Interface (GUI) is more preferred !!!
Device Driver
Assembler - Some advance programmers prefer to learn a language which is very close to the low level language, called the Assembly language. This language consists of mnemonic codes, is difficult to learn and is machine dependent. Assembler is a language processor, which translates a program written in assembly language into machine language. Compiler - A compiler is a language processor which converts (or translates) the entire program written in high level language into machine language in one go. If it fails to convert the program because of error(s) present in the program, all errors are reported together along with the line numbers for debugging. After all the errors are removed, the program can be recompiled to obtain the object program. After the compilation process is completed, the object program can directly be executed, without the intervention of the compiler thus saving memory. Figure 3.6 Conversion of a Source Code to Object Code
InterpreterThis language processor converts a high level language program into machine language line by line as well as executes it. If there is any error in the program, translation and execution stops and the error is reported for debugging. The conversion and execution resumes only after that error is rectified. This is a slow process and consumes high memory as the interpreter is also required to execute the correct code along with reporting the errors, but is very useful for debugging and thus suitable for novice programmer. Debugging is the process of removing all errors from a computer program.
Date: 2015-12-17; view: 911
|