Core Java
(Part 1)
What is Program?
Program is a set of instruction to be followed in order to perform a particular task.
Types of Programming Languages:
Low Level Language or Machine Level Language
Mid Level Language or Assembly Level Language.
High Level Language.
Low Level Language or Machine Level Language:
Sometimes referred as to Machine Code or Object Code.
Machine level language is a collection of binary digits and bits that the computer can
read and understand.
Machine level language is the only language which computer is capable of
understanding.
The machine level language contains only two symbols that is 1 & 0.
Mid Level Language or Assembly Level Language:
Sometimes also called as ASM, which uses predefined words called Mnemonics.
Binary code instructions are replaced with mnemonics here.
But our computer cannot understand mnemonics.
So we use a translator called Assembler to translate mnemonics into machine level language.
ASSEMBLER : It is a translator which takes assembly code or mnemonics as a input and produces
Machine code as output.
High Level Language:
These are more closed to human languages.
But computers cannot understand high level language.
So, we make a use of software to check the rules to be followed and convert them to machine level
language with the help of compiler and interpreter.
COMPILER:
A compiler is a special program that translates a programming language's source code into machine
code, byte code or another programming language.
INTERPRETER:
An interpreter translates source code into object code one instruction at a time. It is similar to a human
translator translating what a person says into another language, sentence by sentence.
The resulting object code is then executed immediately. The process is called interpretation.
PLATFORMS:
Platform is a combination of certain hardware and software components in which application will run.
There are two types
(Part 1)
What is Program?
Program is a set of instruction to be followed in order to perform a particular task.
Types of Programming Languages:
Low Level Language or Machine Level Language
Mid Level Language or Assembly Level Language.
High Level Language.
Low Level Language or Machine Level Language:
Sometimes referred as to Machine Code or Object Code.
Machine level language is a collection of binary digits and bits that the computer can
read and understand.
Machine level language is the only language which computer is capable of
understanding.
The machine level language contains only two symbols that is 1 & 0.
Mid Level Language or Assembly Level Language:
Sometimes also called as ASM, which uses predefined words called Mnemonics.
Binary code instructions are replaced with mnemonics here.
But our computer cannot understand mnemonics.
So we use a translator called Assembler to translate mnemonics into machine level language.
ASSEMBLER : It is a translator which takes assembly code or mnemonics as a input and produces
Machine code as output.
High Level Language:
These are more closed to human languages.
But computers cannot understand high level language.
So, we make a use of software to check the rules to be followed and convert them to machine level
language with the help of compiler and interpreter.
COMPILER:
A compiler is a special program that translates a programming language's source code into machine
code, byte code or another programming language.
INTERPRETER:
An interpreter translates source code into object code one instruction at a time. It is similar to a human
translator translating what a person says into another language, sentence by sentence.
The resulting object code is then executed immediately. The process is called interpretation.
PLATFORMS:
Platform is a combination of certain hardware and software components in which application will run.
There are two types