Introduction to Programming Languages

Are you aiming to become a software engineer one day? Do you also want to develop a mobile application that people all over the world would love to use? Are you passionate enough to take the big step to enter the world of programming? Then you are in the right place because through this article you will get a brief introduction to programming. Now before we understand what programming is, you must know what is a computer. A computer is a device that can accept human instruction, processes it and responds to it or a computer is a computational device which is used to process the data under the control of a computer program. Program is a sequence of instruction along with data.
The basic components of a computer are:

  1. Input unit
  2. Central Processing Unit(CPU)
  3. Output unit

The CPU is further divided into three parts-

  • Memory unit
  • Control unit
  • Arithmetic Logic unit
  • Most of us have heard that CPU is called the brain of our computer because it accepts data, provides temporary memory space to it until it is stored(saved) on the hard disk, performs logical operations on it and hence processes(here also means converts) data into information. We all know that a computer consists of hardware and software. Software is a set of programs that performs multiple tasks together. An operating system is also a software (system software) that helps humans to interact with the computer system.

    A program is a set of instructions given to a computer to perform a specific operation. or computer is a computational device which is used to process the data under the control of a computer program.While executing the program, raw data is processed into a desired output format. These computer programs are written in a programming language which are high level languages. High level languages are nearly human languages which are more complex then the computer understandable language which are called machine language, or low level language.So after knowing the basics, we are ready to create a very simple and basic program. Like we have different languages to communicate with each other, likewise, we have different languages like C, C++, C#, Java, python, etc to communicate with the computers. The computer only understands binary language (the language of 0’s and 1’s) also called machine-understandable language or low-level language but the programs we are going to write are in a high-level language which is almost similar to human language.

    The piece of code given below performs a basic task of printing “hello world! I am learning programming” on the console screen. We must know that keyboard, scanner, mouse, microphone, etc are various examples of input devices and monitor(console screen), printer, speaker, etc are the examples of output devices.

     printf(“hello world! I am learning to program);

    At this stage, you might not be able to understand in-depth how this code prints something on the screen. The main() is a standard function that you will always include in any program that you are going to create from now onwards. Note that the execution of the program starts from the main() function. The clrscr() function is used to see only the current output on the screen while the printf () function helps us to print the desired output on the screen. Also, getch() is a function that accepts any character input from the keyboard. In simple words, we need to press any key to continue(some people may say that getch() helps in holding the screen to see the output).

    Between high-level language and machine language there are assembly language also called symbolic machine code. Assembly language are particularly computer architecture specific. Utility program (Assembler) is used to convert assembly code into executable machine code. High Level Programming Language are portable but require Interpretation or compiling toconvert it into a machine language which is computer understood.

    Hierarchy of Computer language –

    There have been many programming language some of them are listed below:

    C Python C++
    C# R Ruby
    COBOL ADA Java
    Fortran BASIC Altair BASIC
    Turbo Pascal GO ALGOL
    LISP SCALA Swift
    Rust Prolog Reia
    Racket Scheme Shimula
    Perl PHP Java Script
    CoffeeScript VisualFoxPro Babel
    Logo Lua Smalltalk
    Matlab F F#
    Dart Datalog dbase
    Haskell dylan Julia
    ksh metro Mumps
    Nim OCaml pick
    Curry ActionScript Erlang
    Clojure DarkBASCIC Assembly

    Most Popular Programming Languages –

    Characteristics of a programming Language –

    Article Tags :
    Practice Tags :