ALL > Computer and Education > courses > university courses > undergraduate courses > An Overview of Computer Science > zstu-(2020-2021-2) > online discussion >
online discussion 5 Version 0
šŸ‘¤ Author: by writer 2021-03-30 01:13:03
discuss the distinction between a process, an algorithm , and a program

Please login to reply. Login

3108655967qqcom • 2021-03-30 10:15:55
<em>Algorithms are usually described in semi-formal language, while programs are described in formal computer language. </em>

<em>Algorithms are problem-solving steps; The program is the code implementation of the algorithm. </em>

<em>Algorithms rely on programs to perform their functions; Programs need algorithms as their soul.The program is eternal; Process is temporary, is a program on the data set execution, there are creation and undo, existence is temporary; </em>

<em>Process and program are not one-to-one correspondence: a program can correspond to more than one process, that is, more than one process can execute the same program;</em> PostVer 0

Please login to reply. Login

3301794392qqcom • 2021-03-30 11:40:54
Algorithms are usually described in semi formal language, while programs are described in formal computer language.

Process is a dynamic concept, while program is a static concept, program is an orderly set of instructions, no execution meaning, process emphasizes the process of execution;

&nbsp;

The process has parallel characteristics (Independence, asynchrony), and the program does not;

&nbsp;

Different processes can contain the same program, and the same program can also produce multiple processes during execution.

&nbsp;

The essential difference between them is that the process is dynamic, while the program is static.

A program is an ordered set of computer instructions.

For example, the operating system is a program executed in an infinite loop, so it is not an algorithm.

An algorithm can write different programs in different programming languages.

Algorithm is the step to solve the problem; program is the code implementation of the algorithm.

The algorithm depends on the program to complete the function; the program needs the algorithm as the soul.

Program = algorithm + data structure PostVer 0

Please login to reply. Login

1917871807qqcom • 2021-03-30 15:02:08
A program is a representation of an algorithm.We defined a process to be the activity of executing a program.However,to execute a program is to execute the algorithm represented by the program, so a process could equivalently be defined as the activity of executing an algorithm. We can conclude that a program is the representation of an algorithm, whereas a process is the activity of executing an alorithm. PostVer 0

Please login to reply. Login

1281489327qqcom • 2021-03-30 15:24:23
The activity of executing a program under the control of the operating system is konwn as a process.
An algorithm is a set of steps that define how a task is performed.
Program is a set of computer can identify and execute the instructions, run on the computer, to meet some needs of information tools怂 PostVer 0

Please login to reply. Login

1634605411qqcom • 2021-03-30 16:52:04
Program = algorithm + data structure

The two definitions are different. Algorithm is the descr iption of solving steps of specific problems, it is a finite sequence of instructions. The program is a series of statements and instructions to achieve the desired purpose.

Their writing rules are different. The program must be written in the specified programming language, and the algorithm is very arbitrary. Algorithm is a series of clear instructions to solve the problem, that is to say, it can obtain the required output in a limited time for a certain standard input. Algorithms often contain repeated steps and some logical judgments. PostVer 0

Please login to reply. Login

wx287_oz26ftyeszxunhjb6ehly8qq5vdi • 2021-03-30 18:16:28
algorithm is descr iption to particular problem solving, while program is a series of sentences for expected result PostVer 0

Please login to reply. Login

3058218005qqcom • 2021-03-30 23:32:08
program=algorithm+data structure

process=program+hardware PostVer 0

Please login to reply. Login

3218825920qqcom • 2021-03-31 20:07:25
The algorithm is a solution and specific step for a problem or a class of problems, and it is an accurate and complete logical descr iption of the problem solving process. Program is a set of instructions arranged to solve problems or control a process by computer. The program is not equal to the algorithm. However, the algorithm can be realized on the computer by programming. The biggest difference between process concept and program concept is: 1. Process is dynamic, and program is static. 2. Process has a certain life, and program is a set of instructions, and it has no meaning of "movement". Procedures without process establishment cannot be recognized by the operating system as an independent unit. PostVer 0

Please login to reply. Login

nintendolinkfoxmailcom • 2021-03-31 23:58:12
An algorithm is an ordered set of unambiguous, executable steps that defines a terminating process, and aĀ representation of an algorithm is called a program.An instance of a <em>computer program</em> that has been <em>"loaded" to virtual memory.</em> PostVer 0

Please login to reply. Login

2287245796qqcom • 2021-04-01 15:53:57
A program contains some algorithm and an algorithm contains many processes. A program is a representation of an algorithm. We defined a process to be the activity of executing a program. However, to execute a program is to execute the algorithm represented by the program, so a process could equivalently be defined as the activity of executing an algorithm. We can conclude that a program is the representation of an algorithm, whereas a process is the activity of executing an algorithm. PostVer 0

Please login to reply. Login

1017364560qqcom • 2021-04-02 09:09:51
A program is a representation of an algorithm. In fact, within the computing community the term program usually refers to a formal representation of an algorithm designed for computer application. We defined a process in Chapter 3 to be the activity of executing a program. Note, however, that to execute a program is to execute the algorithm represented by the program, so a process could equivalently be defined as the activity of executing an algorithm. We conclude that programs, algorithms, and processes are distinct, yet related, entities. A program is the representation of an algorithm, whereas a process is the activity of executing an algorithm. PostVer 0

Please login to reply. Login

387940240qqcom • 2021-04-03 08:54:55
A process is the activity of executing an algorithm. A program is a representation of an algorithm. PostVer 0

Please login to reply. Login

1498139310qqcom • 2021-04-03 16:18:10
The algorithm is a limited operation sequence to solve a certain kind of problem and a process is the execution of a program under the control of the operating system.

Although algorithm is a method or a process to solve a problem.But algorithm is not equal to process.Algorithm pays more attention to method.Ā Algorithm is not equal to program either.Ā A program is the realization of an algorithm in a programming language. PostVer 0

Please login to reply. Login

wx287_oz26ftxkg9s80omiw6ifl9sdtr-s • 2021-04-03 17:11:10
Process is dynamic, program is static: program is a collection of ordered code, process is the execution of program怂

The composition of process and program is different. The composition of process includes program, data and process control block

Program refers to the specific implementation of an algorithm in a certain computer language, that is, how to do it,

The algorithm focuses on the descr iption of the method to solve the problem, that is, what to do.

The algorithm must be finite, but the program is not PostVer 0

Please login to reply. Login

1772435220qqcom • 2021-04-04 13:58:37
An algorithm is a descr iption of the solving steps of a specific problem, and it is a finite sequence of instructions.A program is a series of statements and instructions that perform operations for a desired purpose.A Process is an activity that a program in a computer runs on a data set. PostVer 0

Please login to reply. Login

542236691qqcom • 2021-04-04 23:17:05
the program is an ordered set of instructions, is a static concept, its ablitity to run without any meaning.The process of program execution on the processor, which is a dynamic concept.Program refers to the specific implementation of an algorithm with some computer language, that is, how to do it, algorithm focuses on the descr iption of the method to solve the problem, that is what to do. PostVer 0

Please login to reply. Login

wx287_oz26ftx_gczjz0jpscvm1-d3flry • 2021-04-05 20:40:26
<em>A program contains some algorithm and an algorithm contains many processes. A program is a representation of an algorithm. We defined a process to be the activity of executing a program. However, to execute a program is to execute the algorithm represented by the program, so a process could equivalently be defined as the activity of executing an algorithm. We can conclude that a program is the representation of an algorithm, whereas a process is the activity of executing an algorithm.</em> PostVer 0

Please login to reply. Login

981193371qqcom • 2021-04-05 21:58:36
A process is the activity of executing an algorithm.

An algorithm is an ordered set of unambiguous, executable steps.

A program is a formal representation of an algorithm designed for computer application. PostVer 0

Please login to reply. Login

zboa6023gmailcom • 2021-04-06 02:40:00
<strong>Program</strong>: A collection of<span class="Apple-converted-space">Ā </span><em>instructions</em><span class="Apple-converted-space">Ā </span>that performs a specific task when<span class="Apple-converted-space">Ā </span><em>run<span style="font-size: 15px; white-space: nowrap;">Ā </span></em><span class="math-container">by a computer , when it’s comes to AĀ <strong>Process isĀ </strong>An instance of a <em>computer program</em> that has been <em>"loaded" to virtual memory. But what we need to understand aboutĀ <strong>Algorithm it’s justĀ </strong>Ā An unambiguous specification, that can be expressed within a finiteamount of space and time, and in a well-defined formal language, for calculating a function.</em></span> PostVer 0

Please login to reply. Login

rababboug69gmailcom • 2021-04-06 06:56:29
<p class="q-text qu-display--block">An algorithm describes the general steps to solve a problem. To be valid, the algorithm must be correct in the results it provides and it must also terminate. Meaning that an analyst has to prove these two characteristics to establish the validity of the algorithm.To be valid, a program simply has to compile (or be interpreted) and herein lies the key difference. A program is a sequence of steps written to run on a machine. And processĀ is the instanceĀ of a computer programĀ that is being executed by one or many threads, it contains the program code and its activity.</p> PostVer 0

Please login to reply. Login

2955836006qqcom • 2021-04-06 07:59:49
<em>Algorithms are problem-solving steps; The program is the code implementation of the algorithm.Ā </em><em>Algorithms rely on programs to perform their functions.Ā Their writing rules are different. The program must be written in the specified programming language, and the algorithm is very arbitrary.Ā </em> PostVer 0

Please login to reply. Login

2394773179qqcom • 2021-04-06 08:02:29
Algorithms are abstract ways of solving real problems. The program is the actual embodiment of the algorithm, is a kind of implementation of the algorithm. A process represents the program being executed. PostVer 0

Please login to reply. Login

1525693772qqcom • 2021-04-08 16:33:43
Algorithm is an unambiguous specification, that can be expressed within aĀ <em>finite</em>Ā amount ofĀ <em>space</em>Ā andĀ <em>time</em>, and in a well-definedĀ <em>formal language</em>, forĀ <em>calculating</em>Ā aĀ <em>function.Process is an instance of aĀ computer programĀ that has beenĀ "loaded" to virtual memory.P</em>rogram is collection ofĀ <em>instructions</em>Ā that performs a specific task whenĀ <em>run</em><span class="math-container"><span id="MathJax-Element-10-Frame" class="MathJax" style="margin: 0px; padding: 0px; border: 0px; font-style: normal; font-variant: inherit; font-weight: normal; font-stretch: inherit; line-height: normal; font-family: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; display: inline; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; position: relative;" tabindex="0" data-mathml="&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;&gt;&lt;msup&gt;&lt;mi&gt;&lt;/mi&gt;&lt;mrow class=&quot;MJX-TeXAtom-ORD&quot;&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/msup&gt;&lt;/math&gt;"><span id="MathJax-Span-19" class="math"><span id="MathJax-Span-20" class="mrow"><span id="MathJax-Span-21" class="msubsup"><span id="MathJax-Span-22" class="mi"></span><span id="MathJax-Span-23" class="texatom"><span id="MathJax-Span-24" class="mrow"><span id="MathJax-Span-25" class="mn">1</span></span></span></span></span></span><span class="MJX_Assistive_MathML">1</span></span></span>Ā by a computer. PostVer 0

Please login to reply. Login

wx287_oz26ft_ppvmz0yhrwncdglpjyuum • 2021-04-10 14:55:12
Algorithm is the descr iption of solving steps of specific problems, it is a finite sequence of instructions. The program is a series of statements and instructions to achieve the desired purpose. Process is a running activity of a computer program on a certain data set. It is the basic unit of system resource allocation and scheduling, and the basis of operating system structure. PostVer 0

Please login to reply. Login

2653815589qqcom • 2021-04-12 20:31:13
Algorithm is a problem to solve the idea, the program is the concrete implementation of the algorithm. For example, for the same algorithm of a certain problem, we can use different programming languages to write. These programming languages may be very different, resulting in the implementation of the same algorithm will appear very different, but the idea of solving this problem, the scheme is the same. PostVer 0

Please login to reply. Login

1115727260qqcom • 2021-04-18 11:30:10
Algorithm can be understood as a complete problem-solving step composed of basic operations and prescribed order of operations. Or as a limited and exact calculation sequence designed according to requirements, and such steps and sequences can solve a class of problems.A program is an ordered collection of computer instructions. PostVer 0

Please login to reply. Login

2848519344qqcom • 2021-04-19 23:51:47
An algorithm is a descr iption of the steps to solve a specific problem. It is a finite sequence of instructions. The program is a series of statements and instructions that perform operations to achieve the intended purpose. The program must be written in a prescribed programming language, and the algorithm is very arbitrary. PostVer 0

Please login to reply. Login

2542886026qqcom • 2021-05-05 21:25:41
<a href="http://www.yvsou.com/wp-content/uploads/sites/30/2021/05/å±å¹•ęˆŖå›¾-2021-05-05-213158.jpg"><img class="alignnone size-medium wp-image-9589" src="http://www.yvsou.com/wp-content/uploads/sites/30/2021/05/å±å¹•ęˆŖå›¾-2021-05-05-213158-300x112.jpg" alt="" width="300" height="112" /></a> PostVer 0

Please login to reply. Login

Reversion History

Loading...
No reversions found.