What is Computer Programming?
The term language is a way of communication. Two or more people can communicate only with the help of language either verbal or non-verbal. Some of the basic natural languages that are familiar to us are our mother tongues or regional languages such as English, French, Urdu, Hindi, Punjabi, etc. These languages are used to communicate among various categories of people. in Computer programming, the major question arises of how communication is done with the computer. The computer will not understand any of these natural languages for the transfer of data and instruction.
So programming language is a way to write users’ viewing particular format and syntax. The programming languages are specially developed so that data and instruction can be passed to the computer to do specific jobs.
The names like FORTRAN (Formula Translation), BASIC (Beginners All Symbolic Instruction Code), COBOL (Common Business Oriented Language), PROLOG (Programming Logic – An Artificial Intelligence language), LISP (List Processing), Pascal, Ada, etc. are established programming languages and widely used in both commercial and scientific fields. With the help of these languages, any real-life problem can be solved by coding. So instructions or programs of codes are written in a particular language based on the type of job and also according to the user requirement. As an example, for scientific application, FORTRAN and C languages are used. COBOL is used for business applications. Some translators like assemblers, compilers, or interpreters are used to convert the prop written in assembly and high-level language into machine-level language, the language understandable by computers.
So to understand the concept of language, the first thing is to understand the word programming Computer-based languages have their own grammar and rules for writing programs and expressions. These languages are used for programming.
Programming is the process of writing, testing, debugging/troubleshooting, and maintaining the source code of computer programs or source code.
The source code is written in a programming language and the code may be a modification of an existing source or something completely new. With the help of the source code, the user can understand its concept and after compilation (to translate the code into the computer) of the source, the code computer is able to understand and execute it. A complete programming paradigm showing the position of C++ programming language in all the computer programming languages is shown below in the figure.
Definition (Computer Programming):
Computer Programming or Coding or Programming is defined as a problem solving and writing instructions for a computer in easy way”.
“Programming is a technique of writing instructions for a computer”.
“Computer Programming is a way to understand and solve a problem by the user and computer”.
“It is the mechanism to solve any real life problem with the help of computer.