July 22, 2010

Script Vs Program








First of all I would like to make crystal clear that Script is a program. On other words script is a set of instructions.

Program:

A set of instructions which is going to be compiled is known as a Program.

Script:

A set of instructions which is going to be interpreted is known as a Script.

Why we need Scripting Language?


Old Scripting Languages are designed for…To execute terminal command

Latest Scripting Language is designed for…To create a dynamic web page

Scripting Language Vs Programming Language


Programming Language generate bytecode whereas Scripting Language does not generate any bytecode. On other words Scripting Language is known as Interpreted Language.

Variables in Programming Language must have data type whereas Scripting Language’s variable does not require any data type. On other words Scripting Language is known as type less language.