answersLogoWhite

0


Best Answer

Check your text book. The answer is there

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between a program and algorithm give examples in each?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Algebra

Difference between top down program design and bottom up program design?

Top down Program Design : Begins the design with main or top-level module, and progresses downwards to the lowest level modules or subsystem Bottom down Program Design : Begins the design with the lowest level modules or subsystems, and progresses upward to the main program, module or subsystem.


What is the difference between command and statement?

The difference between command and statement is that command are generally executable in direct mode. Commands usually perform some type of program maintenance such as editing, clearing, running, or saving programs. On the other side statements are the part of a computer program and run in compilers or indirect mode.


Difference between syntax error and execution error?

Syntax error is when something is wrong with how a code is written. An execution error occurs when the program comes up to something that it cannot handle because it does not have the code for it.


What is difference between interpreters and compiler?

Interpreter An interpreter is given a computer program to run and it is executed (or performed) line by line. It simply reads a line of code (in the programs native language (ie English Basic) and performs the instructions one by one. After each line has been completed, the next on is accessed and duly performed until the program is finished. The syntax of the program may have errors in it and these are not found out until the program is run. The user must have the source code to be able to run the program (some interpreters produces a tokenised version of the source code to speed up execution of the program and reduce disk storage.) Compiler. With a compiler, the entire code is translated into machine code before it is run and then saved to disk for future use. The entire program must be 100% syntax correct before the program is translated and saved to disk. Several other parts of the program (called libraries) can be linked with the program to produce the final product. Test compilations usually are performed to avoid a large number of compile errors at once. The compiled program is accessed by the user but they do not need the source code to use the program. The same program run as a compiled program will usually outperform an interpreted on.


What is the difference between fpga implementation and verilog implementation?

Verilog HDL / VHDL is a hardware description language used to implement a hardware on a computer virtually. It means that we can append all the attributes of a hardware to a computer program and verify as to how it works. But there may be differences in its behavior when it is actually implemented physically. For example, there may be an unexpected time delay. So, it is required to verify the design physically. Hence, we dump this Verilog / VHDL code into an FPGA / CPLD and verify the design physically. In other words, Verilog HDL / VHDL program is used to verify the design on a computer where as FPGA / CPLD implementation is used to verify the design on an IC.

Related questions

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


Difference between algorithm and computer program?


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.


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.


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 the difference between service and program?


What is the What is the difference between program and program?

Program is the US spelling.Programme is the UK spelling.


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.