Computer programming is an art and science of writing programs. A program is nothing but a set of instructions for a computer to perform some tasks. The computer programming instruction is written using a programming language.The programming is an art because you must beautiful, neat and clear programs. Your computer codes should be easy to understand and full of comments so that others can understand a piece of code in your program.
The science part of a computer program has to do with the choice of a suitable language, algorithms applied, efficient implementation of code and less number of codes. A short and concise program can solve a computer-based problem in less time than a large and complex program that solve the same problem.