+ 4

Can someone tell me, what is compiler and interpreter, with the example..please

Compiler & Interpreter

2nd Jun 2017, 2:02 PM
Alvaro Ariel Ilanunu
Alvaro Ariel Ilanunu - avatar
9 ответов
+ 4
Thanks♡
21st Jun 2017, 11:06 PM
Alvaro Ariel Ilanunu
Alvaro Ariel Ilanunu - avatar
+ 2
Thanks Sandy☆
30th Jun 2017, 1:44 PM
Alvaro Ariel Ilanunu
Alvaro Ariel Ilanunu - avatar
+ 1
like interpreter, it interprets line by line. Compiler takes whole source and convert machine readable format.
30th Jun 2017, 1:43 PM
Sandeep Panda
Sandeep Panda - avatar
+ 1
Can someone explain to me? what function of id and class attribute at <div> tag?
30th Jun 2017, 1:45 PM
Alvaro Ariel Ilanunu
Alvaro Ariel Ilanunu - avatar
+ 1
we specify id in div tag to create Identity so that we refer in css and Java script to give uniqueness to this id. But class as refers to group, css is created for group of div.
30th Jun 2017, 1:50 PM
Sandeep Panda
Sandeep Panda - avatar
+ 1
the basic and most important difference between a compiler and an interpreter is that a compiler converts source program (generally written in a high level language eg. C or Fortran) to Target language (generally assembly language) and generates a executable file that you can run. whereas an interpreter converts the source program to a intermediate code and run it without the generation of an executable file. 2. compiled programs run faster than interpreted ones.
14th Jul 2017, 1:26 PM
shashank singh
shashank singh - avatar
0
Interpreter: Interprets or runs your code line by line this happens in runtime. Example: Python uses interpreter it doesn't convert your source code into anyother target language codes. It just interprets line by line in runtime. Compiler: Compiler converts your code after checking for any errors into an target code. This happens in complie time. Example:C, C++ source codes are first compiled and they produce an .Obj file then they are again ran so your program runs. This is the difference :) Hope it is useful 😊
21st Jun 2017, 5:38 PM
S.Naveen Kumar
S.Naveen Kumar - avatar
0
thanks bro@shanshank singh
15th Jul 2017, 9:47 AM
Abhishek Kumar Singh
Abhishek Kumar Singh - avatar