Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2
> computer :~ computer is a digital electronics device to store process data to
carry out some arthematic and logical operation to desired neeeds.
> program :~ program is a set of instruction to be followed in a order to perform
som eperticular task.
> low level language :~
somtime refered to as binary code or object code machine level language is the collection of binary digit or bits that computer reads and understand. machine level language is the only language which computer are capable of understanding.
> mid level language :~
sometime also called as ASM, uses pre-defined words called as mnemonics. binary code replace with mnemonics here but computer can not understand mnemonics so we use a translator called assembler to translate mnemonics into machine level language.
> high level language :~
these are more close to the human language, but computer can not understand high level language. so we use of software to check the rule to be followed and convert them to machine understandable language(compiler or interpreter).
> platforms :~ platforms is a collection of certain hardware and software in which
application willl run. > platform dependent software :~ the software which can run on only one type of platforms are called platform dependent software. > platform independent software :~ the software which can run on any type of platforms are called platform independent software.
> c or c++ language are plaltform dependent :~
when a programmer design a software using c or c++ language and save the source file using .c extansion. and then he tries to complie a .c file using c++ compiler it converts .c file into .exe file. .exe file contain native machine code which can run only native type of platform the exe file contain native code which are called as executable code. these native code can not executedifferent type of platform such as mac,linux,solaries etc. hence software made of c,c++ language are platform indepedent.
>java language is platform indepedent :~
when a programmer design a software using java language and compile it using java compiler converts .java file into .class file. the .class file contain byte code. the class file are also known as intermidiate file. the byte code present in the class file are non executable code which are also called as indermideate code. these intermediate code neither undeerstandable to programmere nor computer. to run byte code on any type of platform we need to install a software known as jvm. jvm is used to converts byte code into machine level language. with the help of jvm and byte code we can run java software on any type of platforms these is the way the java achieve platform independancy. jvm :~ jvm stands for java virtual machine. it is a interpreter to converts byte code into machine level language line by line. jvm present in jre.
jre :~ jre stands for java runtime enviroment.
it consists of jvm and build in library file which is used to execute java application