GoConqr has a new look! Let us know what you think.

Flashcards

F453 The Function and Purpose of Translators - Stages of Compilation

harvs899 English 12 cards

Cards in this deck (12)

  1. 1What is the first stage in a compiler?Lexical analysis.
  2. 2What is the input to the lexical analyser?The source code.
  3. 3What is the output from the lexical analyser?A token stream.
  4. 4What is the second stage in the compiler?Syntax analysis.
  5. 5What is the final stage of compilation?Code generation and optimisation.
  6. 6What is remove during lexical analysis?Whitespace and code comments.
  7. 7Where are identifiers placed?In the symbol table.
  8. 8What are tokens?Tokens are a symbolic representation of the input characters.
  9. 9What is the group of characters called which represent a token?The lexeme.
  10. 10Which is the slowest stage of compilation and why?Lexical analysis, because it deals with the code in its most abstract form.
  11. 11What is the purpose of the syntax analysis stage?To check that the source code is syntactically correct based on the rules of the language (often defined by BNF or syntax diagrams).
  12. 12Which stage is the machine code generated?Code generation and optimisation.

Information

Description
Flashcards on F453 The Function and Purpose of Translators - Stages of Compilation, created by harvs899 on 02/05/2014.
Created by
harvs899
Views
160
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?