Showing posts with label Programming Overview. Show all posts
Showing posts with label Programming Overview. Show all posts

Tuesday 11 October 2016

What is interpreter ?

Interpreter:

Interpreter is a program that also does work of compiling like compiler but the difference is that it converts only one line at one time.

The disadvantage of the interpreter is that it is slow than compiler but provide the facility to check code line by line where an error comes it stops compiling until the line is free from error.

What is compiler ?

Compiler: 

A Compiler is a program that converts the instructions written in High-Level Programming Language to Machine Language.

A compiler converts a program into object code as a whole.
Source Code: The instructions written in High-Level Programming Language is known as source code.

Object Code: The instructions written in Low-Level Programming Language is known as object code.

What is programming language ?

Programming Language:

Programming Language is a language which is used to write programs. There are many programming languages available to write programs depending on nature.

Example: C++,C#.net,VB.net etc

Types of Programming Languages:

There are main two types of programming languages which are as follow:
  1. High-Level Programming Language
  2. Low-Level Programming Language

1. High-Level Programming Language:

High-Level Programming Language is a type of programming language which is closer to human and far from the computer.Closer to human means human can easily understand it and far from computer means computer can't understand it directly.

A compiler is required to convert high-level instruction to that which is easily understandable by the computer means machine language.

Example: C++, C# and many others.

2. Low-Level Programming Language:

Low-Level Programming Language is a type of programming language which is close to the computer and far from the human which is easily understandable by the computer and not for human.

It is further divided into two categories:
  1. Assembly Language
  2. Machine Language

Assembly Language:

A type of Low-Level Programming Language which is closer to the computer but in it, there are English-like words are used that are called as mnemonics.

An assembler is required to convert assembly language instructions to machine language.

Example: FORTRAN

Machine Language:

Machine Language is a type of Low-Level Programming Language which is the native language of the computer. It is the language that is directly understandable by the computer. No compiler is required. All work is done in computer in machine language means binary form.

What is difference between Instruction and Information ?

Instruction:

                       Instruction is a command in a program that tell the computer to do something.

Information:

                     In data processing cycle data is given as input to computer and processed in into output.
The output of the data or the processed form of data is called as "Information",

What is a program ?

A program is a set of instructions which is given to a computer to solve a task or problem.

Example to understand a program is let suppose a task is to "play a song" and the program is the "vlc player"
The song will be given to vlc player to play it.
Thanks!

Overview about Program and Programming Language

Programming Overview - about program and programming overview.
To understand what is program and programming language?