compilers and interpreters. hardware machine languageassembly language high level language c++...
Post on 21-Jan-2016
225 Views
Preview:
TRANSCRIPT
Compilers and Interpreters
HARDWARE
Machine Language
Assembly Language
High Level Language
C++ Visual Basic JAVA
Humans
Similarities
A Compiler and Interpreter both carry out the same purpose Translates a high level language (like C++, Java)
instructions into the binary form which is understandable by computer hardware (Machine language).
Compiler
Interpreter
Differences
An interpreter Reads one statement then translates it and executes it and
then takes another. Easy to check for mistake(debug) than a compiler Programme instructions are performed slowly
A Compiler Translates the entire program in one go and then executes
it (.exe file). Hard to spot and correct mistakes Cannot make changes once executable programme is
created. Programme instructions are performed quickly
Uses
An interpreter is used for program development as it is easier to debug and partially test the code.
Once the program is error free and complete, the program should then be compiled, as compiling only needs to be done once.
Create a poster (In Word or Publisher) on the topic of compilers and interpreters
Include definitions and features of each
Advantages of each (At least 2)
Disadvantages of each (at least 2)
Use your own words Do not copy and paste.
Use images and colour to create a well laid out poster.
Resources
YouTube video https://www.youtube.com/watch?v=_C5AHaS1mOA&p
laynext=1&list=PLDA1E4B4D25B1BB3D&feature=results_main
WikiBooks http://en.wikibooks.org/wiki/A-level_Computing/AQA/C
omputer_Components,_The_Stored_Program_Concept_and_the_Internet/Fundamentals_of_Computer_Systems/Types_of_program_translator
top related