Presentation is loading. Please wait.

Presentation is loading. Please wait.

Compilers and Interpreters. HARDWARE Machine LanguageAssembly Language High Level Language C++ Visual Basic JAVA Humans.

Similar presentations


Presentation on theme: "Compilers and Interpreters. HARDWARE Machine LanguageAssembly Language High Level Language C++ Visual Basic JAVA Humans."— Presentation transcript:

1 Compilers and Interpreters

2 HARDWARE Machine LanguageAssembly Language High Level Language C++ Visual Basic JAVA Humans

3 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). CompilerInterpreter

4 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

5 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.

6 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.

7

8 Resources YouTube video  https://www.youtube.com/watch?v=_C5AHaS1mOA&playnex t=1&list=PLDA1E4B4D25B1BB3D&feature=results_main https://www.youtube.com/watch?v=_C5AHaS1mOA&playnex t=1&list=PLDA1E4B4D25B1BB3D&feature=results_main WikiBooks  http://en.wikibooks.org/wiki/A- level_Computing/AQA/Computer_Components,_The_Stored _Program_Concept_and_the_Internet/Fundamentals_of_Co mputer_Systems/Types_of_program_translator http://en.wikibooks.org/wiki/A- level_Computing/AQA/Computer_Components,_The_Stored _Program_Concept_and_the_Internet/Fundamentals_of_Co mputer_Systems/Types_of_program_translator


Download ppt "Compilers and Interpreters. HARDWARE Machine LanguageAssembly Language High Level Language C++ Visual Basic JAVA Humans."

Similar presentations


Ads by Google