Difference between complied and interpreted languages:-

  1. A compiled language is a programming language whose implementations are typically compiled and not interpreted While, interpreted language is a programming language whose implementation execute instructions directly without compiling the program into machine language instructions.
  2. In compiled language once the program is compiled then it is expressed in the instruction of target machine . On the other hand, in the interpreted language instruction are not directly compiled by target machine.
  3. In the compiled language firstly the source code get transformed to object code then it gets executed. In the interpreted language source code gets executed in one step only.
  4. In compiled language compilation errors are prevented by compiler while in the interpreted language debugging occur at the run time.
  5. Compiler language gives better performance .In contrast Integrated language gives slower performance.
  6. Example of compiled languages are C, C++, Java, Erlang, Kotlin and the example of interpreted languages are JavaScript, PHP, Python, Ruby.

What is programming paradigm?

Programming paradigm is all about a writing style or programming the code in a special organized way.

Programming paradigm can be classified into two type:

  1. Imperative paradigm
  2. Declarative paradigm

Imperative paradigm

It is a sequence of statement that instruct the computer how to achieve a specific goal. It is of four types:

  1. structured programming
  2. Procedural programming
  3. object oriented programming
  4. Database query programming

Declarative paradigm

It is a programming paradigm that focus on the logic of the program code and the end result but not how to compute it. There are two types of declarative paradigm:-

  1. Functional paradigm
  2. logic paradigm

The 5 High level languages are given below:-

  1. Java:- Java is a compiled language .It was first appeared on 23rd may 1995. It was created at sun Microsystem. James Gosling developed this language who led a team of researchers to create a new language that would allow consumer electronic devices to communicate with each other. It is a multi paradigm(generic, imperative, object oriented  ) . Netflix a famous company use this language as a back end and all the android TV applications are generally built in Java.
  2. C++:- It is a compiled language. It was developed by Bjarne Stroustrup in 1985 at bell laboratory . It is an attempt to add an object oriented feature to C earlier it was called as “C with objects”. It is a multi paradigm (procedural, functional, object oriented). It is used for game programming, software engineering. YouTube, Amazon.com is created with C++.
  3. Python:- It is an interpreted language. It first appeared on 20 feb,1991. It was designed by Guido van Rossum. It is a multi paradigm l(reflective, structured, functional). Instagram, Pinterest, Uber, Dropbox are created with python.
  4. JavaScript :- It is an interpreted language. It was designed by Brendan Eich. It was developed for Netscape 2, and became the ECMA-262 standard in 1997. After Netscape handed JavaScript over to ECMA, the Mozilla foundation continued to develop JavaScript for the Firefox browser. it is a multi paradigm(object oriented, imperative, functional). BMW, Xiaomi, Foursquare are created with JavaScript .
  5. Ruby:- It is an interpreted language. It was designed by Yukihiro Matsumoto in 1995.  It emphasizes the necessity for software to be understood by humans first and computers second. It is a multi paradigm (Object oriented, functional, reflective). GitHub, Soundcloud, Shopify is created with ruby .