Before getting into computer programming, let us first understand computer programs and what they do.
A computer program is a sequence of instructions written using a computer Programming Language to perform a specific venture by way of the computer.
The two important terms that we have used in the above definition are −
To understand those terms, consider a situation when someone asks you about how to go to a nearby KFC. What exactly do you do to tell him the way to go to KFC?
You will use Human Language to tell the way to go to KFC, something as follows −
First go straight, after half kilometer, take left from the red light and then drive round one kilometer and you will find KFC at the right.
Here, you have used English Language to give several steps to be taken to reach KFC. If they are followed in the following sequence, then you will reach KFC –
Now, try to map the situation with a computer program. The above sequence of instructions is actually a Human program written in English Language, which instructs on how to reach KFC from a given starting point. This same sequence could have been given in Spanish, Hindi, Arabic, or any other human language, provided the person in search of direction knows any of these languages.
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 specific task by the computer. Following is a simple program written in Python programming Language –
The above computer program instructs the computer to print "Hello, World!" on the computer screen.
As we have developed so many languages to communicate amongst 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.
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 –
Today computer programs are being used in almost every field, household, agriculture, medical, entertainment, defense, communique, etc. listed below are a few applications of computer programs −
Someone who can write computer programs or in other words, someone who can do computer programming is called a Computer Programmer.
Based on computer programming language expertise, we can name a computer programmers as follows −
From programming point of view, an algorithm is a step-through-step procedure to resolve any problem. An algorithm is an effective method expressed as a finite set of well-defined instructions.
Hence, a computer programmer lists down all the steps required to resolve a problem before writing the actual code. Following is a simple example of an algorithm to find out the largest number from a given list of numbers –
The above algorithm has been written in a crude way to help beginners understand the concept. you will come across more standardized ways of writing computer algorithms as you move on to advanced levels of computer programming.
Computer Programming Related Interview Questions
|Computer Science Engineering Interview Questions||Computer Hardware Interview Questions|
|Computer Fundamentals Interview Questions||Computer architecture Interview Questions|
|Computer technician Interview Questions||Computer Basics Interview Questions|
|Computer Systems Analyst Interview Questions||Computer Operator Interview Questions|
Computer Programming Tutorial
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.