answersLogoWhite

0

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

15y ago

What else can I help you with?

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)


How can calculus be applied in computer programming to optimize algorithms and improve performance?

Calculus can be used in computer programming to optimize algorithms and improve performance by helping to analyze and optimize functions that represent the efficiency and behavior of the algorithms. By using calculus techniques such as differentiation and integration, programmers can find the optimal solutions for problems, minimize errors, and improve the overall performance of the algorithms.


What has the author Ian Oliver written?

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


How are algorithms expressed in computer programming?

Algorithms in computer programming are expressed as a set of step-by-step instructions that outline the process for solving a specific problem or performing a task. These instructions are written using a programming language, which provides the syntax and structure needed for the computer to understand and execute the algorithm.


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)


What is an algorithm and how is it used in computer programming?

An algorithm is a step-by-step procedure or formula for solving a problem. In computer programming, algorithms are used to instruct the computer on how to perform specific tasks or calculations. They are essential for writing code that can efficiently and accurately process data and produce desired outcomes.


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