BASICS OF PROGRAMMING Edition 1

                           BASICS OF PROGRAMMING #1


  • What is programming?


The process of instructing a Computer by means of an instructional program is termed as Programming. But the problem you can’t just write English or write “Make a calculator” and the computer will understand.


You have to write a particular code, wait…


  • What is a Code?


A set of statements that describe how a Program should run.

Writing a code can also be defined as Programming.

Well, now let me complete what I was saying. You have to write a particular and meaningful code so that your computer can understand you. But one thing you should you, A computer also do not understand directly your code!


  • How does Computer Understand Your code?


Computers don't understand words or numbers the way humans do. ... To make sense of complicated data, your computer has to encode it in binary language.


  • Binary Language


Binary Language is the only language that a machine understands. It is in the format of only 0 & 1.


For example,


“A” (upper case) in Binary Language is à 01000001


“HI” (upper case) in Binary Language is à 01001000 01001001


“HELLO” (upper case) in Binary Language is à01001000 01000101 01001100 01001100 01001111


“PYTHON” (upper case) in Binary Language is à01010000 01011001 01010100 01001000 01001111 01001110


The thing is Binary Language for a and A is different.


The Binary Language for 1 is also there.  00110001


The Whole List ->









  • Types of Programming Languages


High-Level Language and Low-Level Language are the two types of Programming Languages.


  1. LOW-LEVEL LANGUAGE

  • It is a Machine friendly language.
  • It is Memory efficient.
  • It is very tough to understand.
  • It is not commonly used nowadays in programming.

     2.HIGH-LEVEL LANGUAGE

  • It is a Programmer friendly language.
  • It is less memory efficient.
  • It is easy to understand.
  • It can run on any platform.
  • It is widely used nowadays in programming.


  • Programming Paradigms


Programming Paradigm is a style, technique, or way of writing a program. Programming paradigms can also be defined as the classification of programming languages based on their features.


Types: -



Well, I will only be covering the Imperative Programming Paradigm.


  1. Imperative Programming Paradigm

  • Oldest Programming Paradigm
  • It works step-by-step by changing states.
  • It is highly relative to Machine architect.
  • It has loops and variables.
  • Its main focus is to achieve the goal.

         Disadvantages:

  • It cannot prove itself in solving complex programs.
  • It is less effective and sometimes less productive.

  • Types of Imperative Programming Paradigm


  1. Procedural Programming Paradigm 

  • It exactly works on the approach of the Imperative Paradigm.
  • It has the ability to re-use the code.
  • Ex. C++, Java

      2. Object-Oriented Programming (OOP)

  • It has a collection of classes and objects.
  • Every computation is done in the objects.
  • Its main motive is Data rather than the procedure.
  • It can handle real-life situations
  • It is effective in Data Security
  • Ex. Python, Simula


-----------------------------------------------------------------------------------------------------------------------------

End Of Tutorial.....

Hope you liked this tutorial.

Don't forget to Follow, Like, and Comment on my Social Pages ➤ Twitter Instagram Facebook

Thanks,

Dheeraj





Comments