DSA Part 1: Introduction to Programming language

in #blog5 days ago (edited)

What is a Programming language

Programing language is just a simple language used to communicate with computers since computers don't understand our language and we are unable to understand machine language. So we develop language to communicate with machines.

By the way, the machine only understands only 0 and 1.

So we need an interpreter and compiler to change the programming language to machine language. That we will understand at later stages.

But for now, if you are willing to learn programming, we have many languages. Such as Java, c++, c sharp, javascript, python, Ruby, and many more...

The next question is why so many languages?

Well, the answer is quite simple, In our existing world we have so many different communities and thus they have their own languages, but the purpose of all languages is just to establish a mode of communication. right?

We have different languages, and because of built by various communities, the ultimate purpose is to communicate with machines.

That means you, don't need to master every language, you just need to learn one language, and that would be enough.

The next question that you should ask is, what do we do after learning a programming language?

Actually, we solve problems, the real-world problems of either a community or some business.

We use the programming language to give step-by-step instructions to machines so that by following the steps, they can perform some tasks.

And do you know the step-by-step instructions that we give to computers are known as Algorithms?

Well in our next chapter, we will start with the fundamentals of DSA (data structure and Algorithm)

So, stay tuned with me, if you are willing to learn DSA in the simplest way possible.