00 ~ Introduction to Programming

00 ~ Introduction to Programming

Before learning about Programs and programming you must know how computer works what computers understands, how computer reacts etc. and then gradually You will understand what is programming and why do we even have languages like Python, Java, C, C++, Golang etc. By the way in this series of Computer Science we will learn about Two different Languages one is JAVA and one is Golang, We will also do bunch of question from every topic, Deep analysis of questions, We will going to solve most of LeetCode questions in both the languages.

So Let’s Start.

Computer knows which language ?

What is a computer? If I had to answer this question, I would simply say it's a machine that performs various tasks for us, such as calculations, presentations, processing, and more. Now, since it's a machine, that means it doesn't have its own brain; it can't think for itself. Even in the age of AI, a computer can't think independently—it can only be trained to answer questions based on information already available on the internet. Essentially, it can't come up with anything new on its own. Sorry, I digressed a bit.

Since a computer is a machine, it operates by electric current flowing through its circuits. This current flows in patterns—sometimes it's on, sometimes it's off, and it happens very quickly. Based on these current patterns, the computer knows how to react, what to display, and what to process.

In computer science terms, when current flows through a circuit, it's known as "on" or 1. When current doesn't flow, it's called "off" or 0.

So we can say that computer only know 0’s and 1’s and they are known as Binary Language.

Computer knows only binary Language.

Why Do we need Programming Language ?

Since a computer only understands binary language, how can we, as humans, interact with it and instruct it to perform tasks? Humans don’t understand binary, and computers don’t understand English, Spanish, Hindi, or any other human language. To address this, we need something that can translate human languages into the computer's language (binary) and vice versa—a sort of language converter.

This is where programming languages come into play.

As you may know, there are many programming languages, like Java, Golang, C, etc. Each of these languages comes with a compiler or interpreter that converts human-readable instructions into binary language and vice versa.

Different programming languages have different types of syntax, just as human languages vary in the way they are spoken, written, and understood. However, they all serve the same purpose—conveying a message.

Similarly, although there are multiple programming languages with different syntax for performing the same tasks, the purpose of every programming language is the same: to communicate with computers and instruct them to perform specific tasks.

What is Programming ?

Programming is the method by which humans communicate with computers to perform tasks.

The language we use to communicate with computers through programming is called a programming language.

And the person who writes these programs is called a programmer.


That's it for this blog! I hope you've learned something new. In the next blog, we'll begin with Java and simultaneously explore Golang.

Until then, keep learning, keep sharing, and keep supporting!