Programming Languages
Programming Languages
Programming language is a special notation or code in which the instructions for controlling a
computer are written. A programming language is similar to a natural language – it has its own
syntax, keywords, codes, and structure, and can be understood by other programmers who know
the language.
Programming languages can either be low-level languages or high-level languages.
• Low-level languages: Designed for specific computers and are machineoriented – it reflects its
internal machine code. Thus, it is quite hard to understand.
• High-level languages: Designed to answer the needs of the programmer. They are easy to
understand and are quite similar to languages such as English.
A program is a set of instructions given to a computer which the computer will do or follow.
• Programming is the act of preparing or writing a program (or set of instructions) using a
particular language, called a programming language, and having it run on a computer.
• A programmer is someone who does the programming, or the act of creating a program. It could
be you or someone who already knows how to program a computer.
Designing a Program
In designing a program there must always be a plan. Keep in mind the following points.
1. Determine your objective: Make sure that you know why you are writing the program. If your
objective is to solve a particular problem, then you should be able to define what the problem is.
2. Device a method to achieve your objective: Analyze the problem very carefully and come up
with a way to meet your objective or solve your problem using a logical solution. You can use
flowcharts for this purpose.
3. Write your solution or method as a computer program: Using a particular language, you can
now code the algorithm or logic flow that will enable you to achieve your objective.
4. Run and test the progress: You may now run and test the program to see if there are possible
errors. But the most important part of running the program is seeing if it achieves what you have
intended it to do and delivers what you expect it to accomplish.