Computer Science SSC II Notes - AKUEB
8.1.1 Define a computer program;
Computer Program
A computer program is a set of instructions or commands written in a specific programming language that directs a computer to perform a particular task or a series of tasks. It is a sequence of logical and computational steps designed to solve a problem, automate a process, or accomplish a specific objective.
Computer
programs are created by programmers or developers who use programming languages
such as C, Java, Python, or JavaScript
to write the code. The code consists of statements, functions, variables, and
other constructs that manipulate data, control program flow, and interact with
the computer's hardware and software components.
Once a program is written, it needs to be translated into a machine-readable format, usually through a process called compilation or interpretation, so that the computer can understand and execute the instructions. The program can then be run on a computer or other compatible devices, producing the desired output or performing the intended tasks.
.png)
.png)
Comments
Post a Comment