answersLogoWhite

0


Best Answer

Stacks, pointers and registers

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the three general methods for passing parameters to the operating system?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Performing Arts

Describe three general methods for passing parameters to the operating system?

1) Pass parameters using registers(directly). 2) Store the parameters in a table in memory and the table address is passed in a register to the OS. 3) Push(store) the parameters onto a stack(by the program) and "pop" off by the Operating System.


What is the poetic devices of the poem passing time?

Similes


Concurrent process uses of operating system?

processes are concurrent if they exist at the same time.concurrent process can function completely indepently to one another. two process are concurrent if their execution can overlap in time; that is, the execution of the secon process starts before the first process completes. concurrent processes generally interact through the following mechanisms: Shared variables Message passing


How do user programs and system services interact in a microkernel?

by message passing


Why the operating system important to the computer?

The operating system provides several important services:It creates and maintains file systems on disks and other media, and provides a device-independent interface for programs to create, read and modify files and directories.It creates and manages processes and threads, including time-sharing among them.It manages virtual memory and allocates separate address spaces for each process.It loads programs into process address spaces and starts their execution, and cleans up after them when they are finished.It catches attempts by programs to access memory outside the address space that has been allocated to them.It provides message-passing services for interprocess communication.It provides network I/O services to programs.

Related questions

Describe three general methods for passing parameters to the operating system?

1) Pass parameters using registers(directly). 2) Store the parameters in a table in memory and the table address is passed in a register to the OS. 3) Push(store) the parameters onto a stack(by the program) and "pop" off by the Operating System.


Is it possible to use two parameter passing methods?

The number of parameters is zero or more, so two is perfectly okay.


Different parameter passing methods with examples?

explain parameter passing methods c program


Why the functions of java is called methods?

because it is capable of taking parameters, passing or returning values as in c++. it has it's own identity as return type, and signature of the method body. It can also be overloaded as well.


Why is string type array used in the parameter of the main method?

A user can run a program from the operating system command line, passing parameters. For example, in the case of a Java program: Java MyClass John Doe 1 2 3 In this example, the program "Java.exe" receives all the parameters starting with "MyClass" - a total of 6 parameters in this example. Then, the JVM runs the class "MyClass", and this class receives the remaining five parameters - as an array of strings. You can pass any information to a program this way; for example, a program that processes files might receive the file name, or a directory (folder) name as a parameter.


Does passing static strings as parameters to a method create a copy of the String or passes its reference?

Java always follows a pass by value approach.


What are all the methods to trapping co2?

Some methods of trapping carbon dioxide are: electrochemical reduction, cooling it into a liquid, and passing the gas through an alkali.


What is passing score for Saudi commission examination in general practitioner?

nothing


What are some methods for passing drug tests?

Passing a Drug TestBecause you are asking for information to help get around detection of illegal activity, we can not answer this question, except to say:The best and surest method for passing a drug test is not to take illegal drugs.


Passing the general bar exam by foreign attorney is licence for them to practice in California?

no they can not


How you can get the general insurance agency?

You are to undergo IRDA training, appear in their exam. After passing the said exam you are elible to get the general insurance agency.


What is the purpose of passing parameters by pointers?

There are two ways to pass parameters to a method. 1) Pass by value 2) Pass by reference.(i.e. pass by pointers). For here, I would say, whenever you required to change the properties/value of the parameter by the method you called you should the approach (2). ie. pass by pointers.