21/01/2024
Now, let's go back and try to understand a computer program, which is a sequence
of instructions written in a Computer Language to perform a specified task by the
computer. Following is a simple program written in Python programming Language:
print "Hello, World!"
The above computer program instructs the computer to print "Hello, World!" on the
computer screen.
A computer program is also called a computer software, which can range
from two lines to millions of lines of instructions.
Computer program instructions are also called program source code and
computer programming is also called program coding.
A computer without a computer program is just a dump box; it is programs
that make computers active.
As we have developed so many languages to communicate among ourselves,
computer scientists have developed several computer-programming languages to
provide instructions to the computer (i.e., to write computer programs). We will see
several computer programming languages in the subsequent chapters.
Introduction toComputer Programming
If you understood what a computer program is, then we will say: the act of writing
computer programs is called computer programming.
As we mentioned earlier, there are hundreds of programming languages, which can
be used to write computer programs and following are a few of them:
Java
C
C++
Python
PHP
Perl
Ruby
UsesofComputer Programs
Today computer programs are being used in almost every field, household,
agriculture, medical, entertainment, defense, communication, etc. Listed below are
a few applications of computer programs:
MS Word, MS Excel, Adobe Photoshop, Internet Explorer, Chrome, etc., are
examples of computer programs.
Computer programs are being used to develop graphics and special effects in
movie making.
Computer programs are being used to perform Ultrasounds, X-Rays, and other
medical examinations.
Computer programs are being used in our mobile p