answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: Why are algorithms not written in a particular programming language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What are programming languages written in?

which programs?the easiest way to find out is to go to wikipedia and search for particular program and on right hand side you will see information in which programming language is written


Oracle was written in what programming language?

in C


A program written in a high-level programming language is called?

the program written in high level language is called "source program"


Is an algorithm close to a programming language?

Fairly close. A programming language is a means of communicating with the machine, instructing it to perform a specific sequence of statements. Depending on the language, those statements may be low-level (like assembly) or high-level (like Java). The level determines the amount of abstraction between the language and the machine. Higher-level languages are easier to program than low-level languages, but low-level languages are generally more efficient. An algorithm is a procedure or formula for solving a problem; a finite series of computation steps to produce a result. A programming language is not an algorithm. It simply provides the means of translating an algorithm into machine-dependant instructions. Algorithms are typically written using pseudo-code, a non-existent, generalised programming language that can be easily translated into a more specific programming language. Many programming languages incorporate algorithms as part of the language. For instance, the C++ standard template library provides many algorithms in the form of function templates that can accommodate a wide variety of sequence containers (class templates), such as arrays, lists, sets and maps, or any user-defined container that follows the standard. For example, the std::sort algorithm is a function template that can be used to sort a sequence container, regardless of it type and regardless of the type of data it contains. Although these algorithms are generic in nature, they are highly optimised such that they do not sacrifice performance for generality. You don't have to use them -- you can easily write your own algorithms to perform the same tasks -- but it makes no sense to re-invent wheels unnecessarily, especially for an "everyday" algorithm like sorting or accumulation. Programs are themselves an algorithm, albeit a highly-complex one composed of many individual algorithms. Thus we can think of a programming language as being the means of implementing simple algorithms in order to solve complex problems.


Is the instructions programmers have written in a higher level language?

"BASIC" is not a program, it is a programming language. A particular BASIC-interpreter or IDE may have been written in a high level language, maybe even in BASIC (C is more plausible though).

Related questions

What has the author A Shen written?

A. Shen has written: 'Algorithms and programming' -- subject(s): Computer algorithms, Computer programming


What has the author Andrew Binstock written?

Andrew Binstock has written: 'Programming with Intel Extended Memory 64 Technology' 'Practical algorithms for programmers' -- subject(s): C (Computer program language), Computer algorithms


Algorithm is written in which language?

what language is algorithms written in?


What has the author S Lakshmivarahan written?

S. Lakshmivarahan has written: 'Analysis and Design of Parallel Algorithms' -- subject(s): Parallel algorithms, Parallel programming (Computer science), Programming, Supercomputers 'Parallel computing using the prefix problem' -- subject(s): Computer algorithms, Parallel programming (Computer science)


What has the author Ian Oliver written?

Ian Oliver has written: 'Programming classics' -- subject(s): Computer algorithms, Computer programming


What has the author Daniel H Greene written?

Daniel H. Greene has written: 'Mathematics for the analysis of algorithms' -- subject(s): Computer algorithms, Computer programming


What language is pseudocode written?

Pseudo code is in itself a language on its own. Pseudo codes are used to describe algorithms in computer science. This language, unlike a programming language is used for human specific understanding and abstract representation of a certain procedural flow of a program. Pseudo code cannot be executed in a computer based environment. Pseudo code eliminated unnecessary programming structures and only focuses on the flow process of the algorithm. It includes programming language specific constructs and natural human language constructs to explain the functioning. This is unlike a computer programming language where strict rules and procedures are laid down, which have to be followed to execute the particular code.


What are programming languages written in?

which programs?the easiest way to find out is to go to wikipedia and search for particular program and on right hand side you will see information in which programming language is written


What programming language is PHP made with?

PHP is written in the C programming language.


What has the author Anthony V Fiacco written?

Anthony V. Fiacco has written: 'Mathematical Programming with Data Perturbations' 'Nonlinear programming' -- subject(s): Algorithms, Mathematical optimization, Nonlinear programming


What has the author Richard Johnsonbaugh written?

Richard Johnsonbaugh has written: 'Discrete mathematics' -- subject(s): Mathematics, Computer science 'Algorithms' -- subject(s): Computer algorithms 'Programming in ANSI C' -- subject(s): C (Computer program language) 'Object-oriented programming in C++' -- subject(s): C++ (Computer program language), Object-oriented programming (Computer science) 'C for scientists and engineers' -- subject(s): C (Computer program language) 'Discrete mathematics' -- subject(s): Computer science, Mathematics 'Solutions manual'


What has the author Gregory L Heileman written?

Gregory L. Heileman has written: 'Data structures, algorithms, and object-oriented programming' -- subject(s): Computer algorithms, Data structures (Computer science), Object-oriented programming (Computer science)