answersLogoWhite

0


Best Answer

In computing, a process is an instance of a computer program, consisting of one or more threads, that is being sequentially executed[1] by a computer system that has the ability to run several computer programs concurrently. A computer program itself is just a passive collection of instructions, while a process is the actual execution of those instructions. Several processes may be associated with the same program; for example, opening up several instances of the same program often means more than one process is being executed. In the computing world, processes are formally defined by the operating system (OS) running them and so may differ in detail from one OS to another. A single computer processor executes one or more (multiple) instructions at a time (per clock cycle), one after the other (this is a simplification; for the full story, see superscalar CPU architecture). To allow users to run several programs at once (e.g., so that processor time is not wasted waiting for input from a resource), single-processor computer systems can perform time-sharing. Time-sharing allows processes to switch between being executed and waiting (to continue) to be executed. In most cases this is done very rapidly, providing the illusion that several processes are executing 'at once'. (This is known as concurrency or multiprogramming.) Using more than one physical processor on a computer, permits true simultaneous execution of more than one stream of instructions from different processes, but time-sharing is still typically used to allow more than one process to run at a time. (Concurrency is the term generally used to refer to several independent processes sharing a single processor; simultaneously is used to refer to several processes, each with their own processor.) Different processes may share the same set of instructions in memory (to save storage), but this is not known to any one process. Each execution of the same set of instructions is known as an instance- a completely separate instantiation of the program.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Define Process With a Block diagram explain various states a process resides in?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is von-neumann archtecture and explain it with the help of diagram?

von neumann is the of person who first time notice data and instruction can resides in a single memory. he proposed that there should be a unit performing arithmetic and logical operation on data. these unit termed as arithmetic- logic unit He also gave another concept regarding logic components and their connection in specific fashion. All the components should be control by control unit. The memory unit stores all the information in a group of memory cell,also called memory location where data and instruction can resides in binary form


What is difference in operating threads or process threads?

A process is an instance of a computer program. Each process has its own address space and executes concurrently with other processes. If the system has multiple CPU cores, two or more processes may execute simultaneously. Every process has at least one thread of execution, the main thread. Any thread within a process can instantiate a new thread of execution within that same process. Every thread shares the same address space as the process itself, however each thread has its own local stack. This makes it possible for two threads to call the same function concurrently. If the system has multiple CPU cores, two or more threads within the same processes may execute simultaneously. Programmers use multiple thread to divide complex tasks into simpler tasks that can be executed concurrently. As a simple example, suppose we must search an unsorted array of 1 million elements. We could use a single thread and search the entire array from beginning to end but there's a 50/50 chance the element we are looking for resides in the second half of the array which means that we'd need to search through 500,000 elements on average. By dividing the array between two worker threads we should get a result twice as quickly because each thread now only searches an average of 250,000 elements. It therefore follows that the more threads we utilise, the quicker we should get a result, but that's only true up to a point because the number of threads we can physically execute simultaneously depends on the number of CPU cores available. If all threads execute upon the same core then there is no point in multi-threading this particular task. Nevertheless, the task is likely to take some time to complete so it would still be beneficial to delegate the task to at least one worker thread. For example, if the main thread manages a message queue, the worker thread can post messages to the queue to keep the main thread abreast of its progress. Meanwhile, the user can continue to interact with the process, posting messages to the queue to perhaps initiate another search (in another thread). In this way the main thread's task is reduced to nothing more than processing messages and delegating tasks to worker threads. This is clearly an over-simplification, however it's this type of multi-threading that makes it possible for a graphical user interface to remain responsive to user interactions while time-consuming tasks are being carried out in the background by worker threads.


An embedded operating system resides on what chip?

A ROM chip


Which is the keyword used to limit the scope of a function to the file in which it resides?

Declare the function static.


What does the main content of a webpage belongs inside?

The main content of a web page normally resides between the <body> and </body> HTML tags.

Related questions

Does the process resides in cache memory or what?

No, but parts of its data and code are.


What is the significance of ''process''in an operating system environment?

Process is a programm under execution in main memory. Or in other world when a user wants to execute a programm which resides on secondary memory it must be placed in to the primary memory for the execution then it is called as process.


Is system operation is the process of operating system?

Process is a programm under execution in main memory. Or in other world when a user wants to execute a programm which resides on secondary memory it must be placed in to the primary memory for the execution then it is called as process.


Can a dissolution of civil union process dissolve a same-sex marriage performed in another state?

DISCLAIMER -- I am not a lawyer. As a general rule, the process for dissolving a marriage (divorce) is defined by the state where the couple legally resides. However, for same-sex couples, the process is defined by the state in which the marriage license is issued. (This is due to the lack of harmonization among states with regard to same-sex marriages.) However, a given state's process may allow for the dissolution of marriage in the state where the couple resides. Confusing enough for you?


Why nuclear bomb is chemical change?

It is a nuclear change not a chemical one. The energy for the yield originates from the nuclei of the atoms and the electrons (where chemical energy resides) are uninvolved in the process.


Where does decision making resides?

Decision making is the final steps before operation and after plan. The management ,managers, high officials usually take part in the process of decision making.


What kind of doctor resides over family therapy?

It is typically a family therapist. They are trained to speak with all types of families and allow you to feel completely at ease when you are in the process of therapy.


What is the legal process to collect a medical debt in Florida?

The person or business that is owed the debt must file suit in the appropriate state court in the county where the person who alledgedly owes the debt resides.


Where does operating system reside?

The operating system resides in secondary memory i.e., hard disk.when we boot our computer it is loaded into Primary memory i.e.,RAM and then loaded,this process is called booting


Can a person place a lien on your house with a court order?

In most cases judgments can be executed against real property that belongs to the debtor/defendant. The process usually requires a lawsuit against the debtor in the state and county where he or she resides. If the plaintiff wins the case a judgment is entered against the named debtor and the judgment can be executed as a lien. The exception to the process is federal and state tax arrearages and Mechanic's liens none of which require the due process of a lawsuit to be followed. Some creditors retain law firms who are licensed arbitrators in which the defaulted account is referred to the National Arbitration Board rather than the normal lawsuit process. An award to a plaintiff through arbitration may or may not be legally binding or be grounds for the creditor obtaining a judgment from the court in the state where the debtor resides.


Is software stored in main memory or non volatile memory?

Both. The software resides in the nonvolatile memory when it is not being run, and a copy is loaded into main memory when it is being run. Programs have to reside in RAM in order for the CPU to process their instructions.


Explain why trauma to the base of the brain is often more dangerous than trauma to the frontal lobes?

base of the brain is where the spinal cord attaches, and where the medulla resides, and injuries to the base of the brain are not easily treated. with the frontal lobe pieces of the skull can be removed to help with swelling then replaced later, however that process cannot be accomplished at the base site. and most base injuries involve the spinal cord which would paralyze the body and cannot be cured.