answersLogoWhite

0


Best Answer

program is set of instructions or codes that system can only understand and compile where as algorithm is step by step process that system understands easily and user can also understand easily.

User Avatar

Wiki User

βˆ™ 15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

βˆ™ 15y ago

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.

This answer is:
User Avatar
User Avatar

Hawi T

Lvl 1
βˆ™ 1y ago
wow i got the perfect answer fr thank you

User Avatar

Wiki User

βˆ™ 15y ago

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

This answer is:
User Avatar

User Avatar

Wiki User

βˆ™ 9y ago

A task is a like a unix process that has its share on CPU but the progarm is just a dump process on your back up devices it is not having share of your CPU. Just Dumped not running, but as soon as it will be executed it may become a task.

This answer is:
User Avatar

User Avatar

Wiki User

βˆ™ 17y ago

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.

This answer is:
User Avatar

User Avatar

Wiki User

βˆ™ 14y ago

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";

This answer is:
User Avatar

User Avatar

Wiki User

βˆ™ 15y ago

An algorithm is a system independent idea; a program is a concrete implementation of that idea for a given computer system.

This answer is:
User Avatar

User Avatar

Wiki User

βˆ™ 15y ago

hello, The algorithm is the step by step process of explaining the program. The program is used for executing the logic. While the algorithm is used for the understanding of the logic

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the relationship between a program and an algorithm?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between an algorithm and a computer program?


What is the difference between a program and algorithm give examples in each?

Check your text book. The answer is there


What is the relationshjip between a computer program and an algorithm?

A computer program can use a pre-programmed Algorith to calculate what you want it to calculate.


CPP Program for Implementing Knuth-morris-pratt pattern matching algorithm?

what is the pure algorithm instead of cpp program?


How is a pso program in matlab..how is it created from algorithm..please help?

The PSO or Particle Swarm Optimization Program algorithm in MatLab is created by first creating a binary genetic algorithm.


Is an algorithm easy to program?

Some of them are.


How do you write an Algorithm for a C plus plus Program?

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.


What is algorithm to write algorithm to the program to access a pointer variable in structure?

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


Can you give a C program about SJF algorithm?

no.


What is algorithm write properties of algorithm?

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.


What is the difference between programming and algorithm?

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.


What are importance of algorithm?

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.