differentiate between
a)source code and object code b)compiler and interpreter
c)JDK 1.3 and bluej
Answers
i only know the answer for the (b) part.
compiler and interpreter are both translator for high-level languages (HLL). this translator is used to translate high-level languages into machine code to be read by the computer.
Compiler:
- A type of translator that translate a high-level language program into machine code.
- An executable file of machine code is produced
- One HLL statement can be translated into several machine code instructions
- Compiled programs are used without the compiler.
- A compiler program is usually distributed for general use.
Interpreter:
- A type of translator that executes a high-level language program one statement at a time.
- No executable file of machine code is produced
- One HLL program statement may require several machine code instructions to be executed.
- Interpreted programs cannot be used without the interpreter.
- An interpreter is often used when a program is being developed.
{ Hope this helps!}