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.

    Most Popular Programming Languages –

    • C
    • Python
    • C++
    • Java
    • SCALA
    • C#
    • R
    • Ruby
    • Go
    • Swift
    • JavaScript

    Characteristics of a programming Language –

    • A programming language must be simple, easy to learn and use, have good readability and human recognizable.
    • Abstraction is a must-have Characteristics for a programming language in which ability to define the complex structure and then its degree of usability comes.
    • A portable programming language is always preferred.
    • Programming language’s efficiency must be high so that it can be easily converted into a machine code and executed consumes little space in memory.
    • A programming language should be well structured and documented so that it is suitable for application development.
    • Necessary tools for development, debugging, testing, maintenance of a program must be provided by a programming language.
    • A programming language should provide single environment known as Integrated Development Environment(IDE).
    • A programming language must be consistent in terms of syntax and semantics.
      C and C++ are also programming language