Principles of Programming
UNIT 1: Principles of Programming
Learning Outcomes:
On the completion of this unit, the students will be able to:-
Introduce the concept of programming
- Classify programming languages
- Understand different program designing tools
1.1 Introduction to Programming
A computer program refers to the sequence of instructions that a computer executes.
Programming is the process of designing and writing instructions for a computer to carry out
some specific task. It is also referred to as coding. Programming is an important stage in the
software development process.
Program
A computer program refers to the sequence of instructions written using a programming
language. The process of writing a program is called programming or coding. A computer
program consists of many instructions that tell a computer what to do.
Everything done on a computer is done by using a computer program. It performs a specific
task when executed by a computer.
The programs written by a programmer are in a human-readable form which is termed source
code. These source codes are converted into machine-executable form which is termed machine
code. The translation process is carried out by a language translator.
Characteristics of a Good Program:
- The program should be easy to read and understand.
- It should be easily maintainable.
- It should be well documented and should be commented on appropriately.- It
should be memory efficient.
- It should be platform-independent, it should not be limited to certain computer
architecture only.
Programmer:
Programmers are the skilled professionals responsible for writing, testing, and
debugging codes. They are also referred to as coders, developers, or software engineers.
Approved by CDC - Principles of Programming