FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
interpreter a ____ (more then one option)
A
the object code runs fast
B
each line is decoded one by one
C
no stand alone code produced
D
Easy to locate errors
Explanation: 

Detailed explanation-1: -An interpreter works more or less similar to a compiler. The only difference between their working is that the interpreter does not generate any intermediate code forms, reads the program line to line checking for errors, and runs the program simultaneously.

Detailed explanation-2: -For interpreted languages, however, a syntax error may be detected during program execution, and an interpreter’s error messages might not differentiate syntax errors from errors of other kinds. There is some disagreement as to just what errors are “syntax errors".

Detailed explanation-3: -An interpreter is a program that directly executes the instructions in a high-level language, without converting it into machine code. In programming, we can execute a program in two ways. Firstly, through compilation and secondly, through an interpreter. The common way is to use a compiler.

Detailed explanation-4: -An interpreter is a general purpose language providing very efficient execution.

There is 1 question to complete.