Explore 100's Of Free Video Tutorials

Keep Learning, Keep Coding & Keep Sharing

Introduction to Interpreted Languages


Introduction to Interpreted programming languages:

Interpreter is a type of translator, which scans, translates and executes the code line by line. While scanning if any error found then interpreter shows that error and won’t proceed further. We need to remove the error then reinterpret again.

BASIC Programming Language:
(JavaScript,VBScript PHP, Python, Smalltalk etc.)
BASIC stands for Beginners ALL Purpose Symbolic Instructions Code.
Developed by: Mr. Kemeny & Mr. Kurtz
Development year: 1964
Developed at: Dartmouth College
Development purpose: enable non computer science students to use/program computers
Features: Unstructured, General Purpose Programming Language.
Influenced to many other languages: QBasic, Visual Basic, Visual Basic .NET etc
Translator: Interpreter

Ex. code: BASIC programming language
LET X = 2
LET Y = 2
LET X = X + Y

Pros of Interpreted Languages:
1. Quite easy to learn, code, remember and understand
2. Less error prone
3. Platform Independent ( Source )

Cons of Interpreted Languages:
1. Code should not have errors, more errors more interpretations
2. Don’t provide list of errors with line numbers
3. Slower execution, needs more memory, no code optimization
4. Interpreter should be loaded in memory side by side of source code
5. Source code should be shifted for execution