answersLogoWhite

0


Best Answer
Your question was "How are computers used in computer programming?"

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

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

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.

This answer is:
User Avatar

User Avatar

Wiki User

7y ago

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.

This answer is:
User Avatar

User Avatar

Wiki User

6y ago

We use flowcharts to help visualise the flow control of an algorithm, making it much easier to convert the algorithm into working code.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How are algorithms used in computer programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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 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 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)


6th sem syllabus of bca in Bangalore university?

System programming. Computer graphics. Web programming. Analysis design and Algorithms. Project.


What has the author Rolf Drechsler written?

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'


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


What has the author Richard Bird written?

Richard Bird has written: 'Programs and machines' -- subject(s): Computer programming 'Pearls of functional algorithm design' -- subject(s): Computer algorithms, Functional programming (Computer science)


What has the author Zbigniew Michalewicz written?

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


What is computer is computer language?

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.


How is computer programming used in computer programming?

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.