What is programming?

Wonder what programming is? Yeah. Everyone is wondering what programming is and how we are going to do it. Programming is instructing the computer to do a particular task, but instruction must be specific and correct. Still don’t get it.Ok. Let’s understand this with an example. Imagine your little brother ask you how to make tea?. You need to provide specific instructions one by one.
  1. Boil the water
  2. Add the boiled water to a cup
  3. Add some tea
  4. Add some sugar
  5. Mix them together
Likewise, we need to provide step by step correct instructions. In that way, we can make a cup of tea, like that we need to give instructions to the computer. Let’s consider another example this time we going to add to numbers using a computer. So the steps are,
  1. Get number 1 from user
  2. Get number 2 from the user
  3. Get the sum of number 1 & number 2
  4. Display the sum
  5. So this is the programming in simple words. But how we going to talk with a computer. That is a huge problem. People speak and understand English, but the computer only understands binary language(0,1).
Now we have two solutions to this problem.
  1. We can give instructions to the computer using binary language.
  2. We can teach English to the computer.
The first way is somewhat possible. But for beginners, it is too hard. So let’s consider the second way. Actually, it is also hard. So people discovered the third method. It uses programming languages for programming. Programming languages are very similar to English, so it is easy to learn. Also, every programming languages have a unique program that converts instruction(written in a programming language) to machine language. We will discuss programming languages in the next post.

 
3
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x