53.5k views
5 votes
A _______________ is a list of instructions for the computer to follow to accomplish the task of processing data into information. The instructions are made up of ________________used in a programming language, such as

C++, Java, or Visual Basic.

1 Answer

6 votes

Final answer:

A computer program is a list of instructions written in code that tells the computer what to do. Programming languages like Java are used to write these instructions.

Step-by-step explanation:

A computer program is a list of instructions for the computer to follow to accomplish the task of processing data into information. The instructions are made up of code used in a programming language, such as Java.

For example, in Java, a simple program to calculate the sum of two numbers could look like this:

  1. Declare two variables to hold the numbers.
  2. Take input from the user and store it in the variables.
  3. Add the values of the variables and store the result in another variable.
  4. Display the result to the user.
User Digvijay Upadhyay
by
7.2k points