In: Computer Science
“Computer programming is creating a sequence of very precise instructions written in a language a computer understands, to perform a specified task with a computer.” Discuss in detail the concept of extreme precision in computer programming.
Computers are machines which understand instructions given in binary system of 0 and 1. This set of binay instructions are not easy for humans to work with. So higher level languages such as assembly language, C, C++, Java, etc. have been developed. Special software such as compilers and assemblers convert the high level language programs into low level, computer-machine understandable programs in binary system.
With help of the high level programming languages, the human programmer is free to think about how to solve a problem. The method of solving a problem is known as algorithm. Algorithm consists of precise sequence of steps which need to be followed to process the input and produce required output. An algorithm is similar to description of a recipe used to prepare a cooking dish. The difference is that unlike a recipe, the instructions in a computer programming algorithm are very precise. They exactly specify the set of steps and do not have any ambiguity. This helps the computer to execute the instructions exactly as given.