Introducing 

Prezi AI.

Your new presentation assistant.

Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.

Loading…
Transcript

Compilers

Compilers

  • Translate entire source code all in one go into Machine Code
  • Optimise code
  • Used at the end of development (ready for shipping)
  • Error Reports created along with Object Code

Interpreters

  • Translate and execute source code
  • Line by Line, Statement by Statement
  • Source code is checked for syntax – if correct, code is executed. If incorrect interpreting is stopped.
  • Used for development (aide debugging)

Answers

Assemblers

  • Translate Assembly Language code into Machine Code
  • Used for Device Drivers
  • Used when fast execution is required or limited memory/file size
  • Difficult to write in (easier than Machine code)

Lesson Objectives

To be able to describe how an Assembler works

To be able to describe the differences in operation between a Compiler and Interpreter

To be able to describe the common tools and facilities in an Integrated Development Environment (IDE)

Revise, Recap, Review

3 types of comparison operators and their function

2 logic gate diagrams (labeled)

1 explanation of the difference between machine code and low level programming languages

Lesson 15 - IDE's

Assembler, interpreter or compiler?

Translators

Assembler for 2nd GEN - ASSEMBLY LANGUAGE

Interpreters or compilers for 3rd GEN

To use ANY kind of programming language we must first translate it into a code that the computer can understand

Task

You will be handed either a sheet on Compilers or Interpreters:

  • Spend 10-15 minutes completing the task given on the sheet to produce a diagrammatic form of the text (e.g. MindMap, Cartoon etc).
  • Work with a partner to explain to them what is meant by Compiler/Interpreter using only your notes.
  • Check understanding (peer assess each other)

What is the name of this code?

Task

IDE's

An IDE is an Integrated Development Environment

They consist of:

An editor

Error diagnostics

Run-Time diagnostics

Translator

Learn more about creating dynamic, engaging presentations with Prezi