๐Ÿ”น What is Computer Programming?

Programming is the process of writing instructions (called code) to tell a computer what to do.

Just like you give step-by-step directions to a person,

In programming, you give step-by-step instructions to the computer.


๐Ÿ”น What is a Program?

A program is a set of instructions written in a programming language that a computer can understand and execute.

๐Ÿงพ Example (C++ Code):


#include <iostream>
using namespace std;

int main() {
    cout << "Hello, Nikhil!";
    return 0;
}

โœ… Output:


Hello, Nikhil!


๐Ÿ”น What is a Programming Language?

A programming language is a way to communicate with the computer.

๐Ÿ”ง Common programming languages:

Each has its own rules (called syntax) and uses.