Schedule with us
Complete Course Python, HTML, CSS, JavaScript (Class 5: What is Programming)

Automate Your World with AI

Class 5: What is Programming

Programming is giving instructions to a computer. These instructions are what we provide to the computer. That is what enables the computer to fulfill our desires. On the basis of these instructions, the computer will bring the results. This is similar to how we, as human computers, tell our computer what to do.

Basic Concepts in Every Programming

Before you start writing basic programming, it’s important to have an understanding of what programming is. Programming can be done in various languages like C++, C Sharp, Python and Visual Basic. The core concept is any programming language is what we are working with. The basic Concept is that there should be a clear understanding, and all the functions, values and methods are being utilized and working for the same purpose.

Basics of Programming

Programming basics can be broken down into:

  • Instructions: A set of instructions which is what we give the computer.
  • Fulfillment: The basis of these instructions and how we can fulfill any of our desires from the computer.
  • Result: On the basis of the instructions we give, we want to bring the result to us in our display screen.

How Programming Works-Step-by-Step

Programming consists of:

  1. Giving instructions to the computer
  2. Input: The data we give to the computer to take, which is taken by the use of the keyboard
  3. Processing: The data undergoes processing in the processor
  4. Memory: The data is temporarily saved in the memory area
  5. Storage: The data is then stored in the hard disk
  6. Output: Then it is presented on the display screen
  7. We define the input of the language, the process of how to take the data and store it
  8. We define what to do and how to display
  9. To get things done we give instructions in the form of code and the computer peform tasks for us

Programming Example – Microsoft Word

Microsoft Word is an example of programming software. Software is a program and a program is designed with a purpose. Microsoft Word is written using C and other languages.

The concept of Programming – Structure and rules

The programming concept dictates that when you write a program, there will be rules for writing it. It is similar to the English language, which has its own grammar. Like, there will be specific ways to write the present and future tense. We have a syntax and steps. The format of the instructions should be followed, and the basic structure of the code should be known.

Programming Concept

1.Variables and Data Types

Variables and data types are fundamental concepts in programming, working together to store and manage information within a program.

Control Structures

Control Structures are the building blocks in programming that decide how and when certain parts of your code will run.

Control structures tell the program what to do, when to do and how many times to do.

  1. Sequential Control Structure
  • Selection (Decision-Making) Structure
  • Repetition (Looping) Structure
  • Control flow Keyboards
  • Functions
  • Operators