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
What is CAI? Explain its pitfalls

Assume that s is a string variable  that is supposed to contain a value to be converted to integer. Write a fragment of code that converts the value to integer variable  and displ



In assembly language code lines have two fractions, the earliest one is the name of the instruction which is to be executed, and the next one are the parameters of the command. For

Electronic mail is another PC to PC and PC to mainframe data exchange. If you subscribe to an electronic mail service, it will enable your PC to gain access to a 'mailbox' on a ma

An array A is said to be special if all its elements are same. Given an array, your task is to convert the array to special array by performing some operations. The allowed operati

#write a c program to print ant and rod #

Question : (a) You want to perform the task of sending an e-mail message to three of your friends. You can assume that the email addresses, of the people you want to send the e

ARINC 429 DATA Bus SPECIFICATIONS: ARINC 429 sets specifications for the transfer of digital data between aircraft electronic system components and is a "One-way" communication