Execute a command in operating system, Basic Computer Science

Execute a command in operating system:

In order to execute a command OS does the

following steps:

 

  • It accepts a command from a user through mouse clicks or from the keyboard. Through a port number it is able to recognize what is the source of input. 
  • It must interpret these commands and take actions accordingly.
  • It must provide a file system that can interpret the name of the program being requested and determine the location of  the file on secondary storage device for example. 
  • It must read the appropriate blocks from the device into memory. Only then can the operating system transfer control to the program being executed. 

In case of multiple programs executing simultaneously, CPU does some extra jobs to allot  the CPU time in an equitable way to each program, and also maintain the integrity of each program, etc.

 

Posted Date: 10/23/2012 4:13:01 AM | Location : United States







Related Discussions:- Execute a command in operating system, Assignment Help, Ask Question on Execute a command in operating system, Get Answer, Expert's Help, Execute a command in operating system Discussions

Write discussion on Execute a command in operating system
Your posts are moderated
Related Questions
Question 1 Convert the following binary numbers to decimal 101110 1110101 110110 101010 110010 Question 2 Explain CPU module and types of transfers betwe

Server Programs:   Server programs are dedicated computer programs that run as services and serve the needs or requests of other programs. These services may run on a dedicated

Python Strings: Strings in Python are recognized as an adjacent set of characters in among quotation marks. Python permits for either pairs of single or double quotes. Subsets of s


Bootstrap loader: The critical programs are loaded into memory by the bootstrap loader at start-up time and will remain resident as long as the computer is running. The bootst

Output devices: One of the most important output devices in computer system is its screen commonly called monitor. It is an output device and displays all the programs and app



It would not emerge practical to type an entire program each time it is required, and to avoid this it is possible to store a program on the disk, with the vast advantage that by b

Memory Management: The purpose of the memory management system is to load programs into memory in such a way as to give each program loaded  the memory that it requires for