2. With the help of a block diagram explain the following
a) Source Code
b) Byte Code
c) Executable Code
d) Compiler
e) Interpreter
plz draw block diagram
Answers
Answer:
a text listing of commands to be compiled or assembled into an executable computer program.
b) Bytecode is program code that has been compiled from source code into low-level code designed for a software interpreter. It may be executed by a virtual machine (such as a JVM) or further compiled into machine code, which is recognized by the processor.
c) In computing, executable code, executable file, or executable program, sometimes simply referred to as an executable or binary, causes a computer "to perform indicated tasks according to encoded instructions", as opposed to a data file that must be parsed by a program to be meaningful.
d) A compiler is a special program that processes statements written in a particular programming language and turns them into machine language or "code" that a computer's processor uses. Typically, a programmer writes language statements in a language such as Pascal or C one line at a time using an editor.
e) interpreter is a computer program that directly executes instructions written in a programming or scripting language, without requiring them previously to have been compiled into a machine language program.