Well as we know that a computer is made up of very complex and complicated structures (hardwares) each of which is programmed ( basically in binary) to serve specific functions and help us simplify our work in our day to day life.
However the programming language used to design a basic computer was not proved to be "user friendly" and majority of the population had a difficulty in understanding this language and therefore working on it is quiet impossible.
So lately engineers have developed a "user friendly" computer coding environments that convert the "known" programming into "binary" for the computer to understand and hence giving us a desired output.
For example the very famous language used everyday is Java.
I will explain this with a simple program to add two numbers, say a calculator.
import java.io;
class addition_calculator
{
InputStreamReader input=new InputStreamReader(System.in)
BufferedReader br=new BufferedReader(input)
public void main()
{
int a,b;
int sum;
System.out.println(" Enter the first number : ");
a=Integer.parseInt(br.readLine());
System.out.println(" Enter the second number : ");
b=Integer.parseInt(br.readLine());
sum=a+b;
System.out.println(" The sum of the two numbers entered is : "+sum);
}
}
These Java friendly codes will convert into computer friendly code by the environment we type these code on, and once the computer reads it and understands it it will throw an output which will be re converted into java friendly code and be displayed by the environment.
Hope your question is resolved. :)
Cheers,
Aaditya A. Damani
Algorithms are used in computer programming as a way to tell computers how to specifically complete a task. When one sets about the task of computer programming, a variety of approaches are available. Algorithms are the title given to these varying approaches.
Flowcharts are used to help in the program planning stage. They document the code paths and the decisions made in the programs. They are not absolutely necessary, but they help make things easier by having a visual representation of how the program works.
We use flowcharts to help visualise the flow control of an algorithm, making it much easier to convert the algorithm into working code.
A. Shen has written: 'Algorithms and programming' -- subject(s): Computer algorithms, Computer programming
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)
Ian Oliver has written: 'Programming classics' -- subject(s): Computer algorithms, Computer programming
Daniel H. Greene has written: 'Mathematics for the analysis of algorithms' -- subject(s): Computer algorithms, Computer programming
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)
System programming. Computer graphics. Web programming. Analysis design and Algorithms. Project.
Rolf Drechsler has written: 'Evolutionary algorithms for VLSI CAD' -- subject(s): Evolutionary programming (Computer science), Algorithms, Integrated circuits, Very large scale integration, Genetic programming (Computer science), Computer-aided design 'Formal Verification of Circuits'
Andrew Binstock has written: 'Programming with Intel Extended Memory 64 Technology' 'Practical algorithms for programmers' -- subject(s): C (Computer program language), Computer algorithms
Richard Bird has written: 'Programs and machines' -- subject(s): Computer programming 'Pearls of functional algorithm design' -- subject(s): Computer algorithms, Functional programming (Computer science)
Zbigniew Michalewicz has written: 'How to solve it' -- subject(s): Heuristic, Mathematical recreations, Problem solving 'Genetic algorithms + data structures = evolution programs' -- subject(s): Computer algorithms, Computer programs, Data structures (Computer science), Evolutionary programming (Computer science), Genetic algorithms
A programming language is a formal constructed language designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs to control the behavior of a machine or to express algorithms.
Parallax is used in computer programming by using a computer and a USB connection. They have been popular in robotics because of their easiness to program.