The simplest relation between a program and an algorithm is the same as the relation between a movie script and a finished film. The script is the general idea for the movie and the movie is the realization of that script. Once the script has been turned into a movie, it can be played as many times as needed with perfect fidelity.
The algorithm describes how to accomplish something in general terms. The program is a constructed way using a programming language and compilers and linkers that enables a machine like a computer to do what the algorithm describes. Once the program has been created it can be executed or "played" as many times as needed with perfect fidelity.
Processes are the files that run Behind the Scenes that make the programs run. Typically there is one main process for every program (can vary depending on the program). Example: Word.exe is the process that controls a lot of the Microsoft Word Program. You can view the processes running by right clicking on the bottom task bar in windows and selecting "task manager" the program is the collection of files and data on your computer that come together to work to any given end. the process is the computer's act of using those files in conjunction with the data to an end. the program is the object, the process is what the object does...i think... [[User:Guna.sekar|Guna.sekar]] 02:36, 22 Sep 2006 (CDT)[[User:Guna.sekar|Guna.sekar]] 02:36, 22 Sep 2006 (CDT)[[User:Guna.sekar|Guna.sekar]] 02:36, 22 Sep 2006 (CDT)[[User:Guna.sekar|Guna.sekar]] 02:36, 22 Sep 2006 (CDT)[[User:Guna.sekar|Guna.sekar]] 02:36, 22 Sep 2006 (CDT)Answer[[User:Guna.sekar|Guna.sekar]] 02:36, 22 Sep 2006 (CDT)[[User:Guna.sekar|Guna.sekar]] 02:36, 22 Sep 2006 (CDT)[[User:Guna.sekar|Guna.sekar]] 02:36, 22 Sep 2006 (CDT)[[User:Guna.sekar|Guna.sekar]] 02:36, 22 Sep 2006 (CDT)[[User:Guna.sekar|Guna.sekar]] 02:36, 22 Sep 2006 (CDT)~ To add more clarity to the last answer , programs are just a templates which knows where to collect there resources [ like header files , shared library objects etc..,] , when a program is handled by the kernel it acts as a process , process are dynamic part of a staic program , process when invoked they take their address spaces and serves the request for the program [ a.k.a Application ] , good example can be used by using PROC tools in solaris [ ptree , pmap , pfiles etc; ] Guna
The word system when referring to computers is usually used to mean the collection of hardware (processor, memory, hard disk, CD-ROM etc.) as well as the operating system e.g. Windows XP or OSx.
Programs are the applications that you run on the computer like word or excel or computer games etc.
Hope that helps,
SysEx.
Programs are created in a programming language. For example, here are some simple programs in various languages
C++:
#include <stdio>
using namespace std;
int main() {
cout << "Hello World!" << endl;
}
Java:
class main {
public static void Main() {
System.out.println("Hello World!");
}
}
C#:
class main {
public static Main() {
Console.WriteLine("Hello World!");
}
}
JavaScript:
alert("Hello World");
PHP:
echo "Hello World";
what is the pure algorithm instead of cpp program?
Here is the algorithm of the algorithm to write an algorithm to access a pointer in a variable. Algorithmically.name_of_the_structure dot name_of_the _field,eg:mystruct.pointerfield
no.
A program is a detailed set of instructions for a computer to carry out, whle an algorithm is a detailed sequence of steps for carrying out a process.
dfgbrgffee
Check your text book. The answer is there
A computer program can use a pre-programmed Algorith to calculate what you want it to calculate.
what is the pure algorithm instead of cpp program?
The PSO or Particle Swarm Optimization Program algorithm in MatLab is created by first creating a binary genetic algorithm.
Some of them are.
You don't write an algorithm for a C++ program, unless you are documenting the C++ program after-the-fact. The normal procedure is to write the algorithm first, in a language independent fashion, and then translate that stated algorithm into C++ code, or into whatever language you wish.
Here is the algorithm of the algorithm to write an algorithm to access a pointer in a variable. Algorithmically.name_of_the_structure dot name_of_the _field,eg:mystruct.pointerfield
no.
A program is a detailed set of instructions for a computer to carry out, whle an algorithm is a detailed sequence of steps for carrying out a process.
An ALGORITHM is a sequence of steps that depicts the program logic independent of the language in which it is to be implemented. An algorithm should be designed with space and time complexities in mind.
Algorithms are the foundation of computer Science, it is telling the computer to do the task in the most efficient matter. An algorithm is particularly important in optimizing a computer program, the efficiency of the algorithm usually determines the efficiency of the program as a whole.