For a typical computer of today’s time, an addition of 2 numbers which could be as big as a billion each takes hardly a nanosecond.
If you know how to properly utilize the power of Computer programming, you can do wonders with it. Computers are fast : computers are amazingly fast.What is programming used for? What benefits do computers offer? You must be wondering - why does one need a computer for adding or rounding off numbers? Or even for simple interest calculation? After all, even an 8th standard kid can easily do such things even over large numbers. Hence, in summary, Programming is a way to tell computers to do a specific task. They cannot usually be expressed in simple instructions like adding 2 numbers, etc. The above 2 tasks require complex calculations. Calculating the average return on a stock over the last 5 years.
Calculating simple interest, given principal, rate and time.“Perform various tasks” : the tasks could be simple ones like we discussed above (adding 2 numbers, rounding off a number) or complex ones which may involve a sequence of multiple instructions. Computers understand instructions that are written in a specific syntactical form called a programming language. Just like we humans can understand a few languages (English, Spanish, Mandarin, French, etc.), so is the case with computers. The instructions could be of various types. “Instruct the computer” : this basically means that you provide the computer a set of instructions that are written in a language that the computer can understand.