F453 The Function and Purpose of Translators - Stages of Compilation

Descripción

Fichas sobre F453 The Function and Purpose of Translators - Stages of Compilation, creado por harvs899 el 02/05/2014.
harvs899
Fichas por harvs899, actualizado hace más de 1 año
harvs899
Creado por harvs899 hace más de 10 años
136
0

Resumen del Recurso

Pregunta Respuesta
What is the first stage in a compiler? Lexical analysis.
What is the input to the lexical analyser? The source code.
What is the output from the lexical analyser? A token stream.
What is the second stage in the compiler? Syntax analysis.
What is the final stage of compilation? Code generation and optimisation.
What is remove during lexical analysis? Whitespace and code comments.
Where are identifiers placed? In the symbol table.
What are tokens? Tokens are a symbolic representation of the input characters.
What is the group of characters called which represent a token? The lexeme.
Which is the slowest stage of compilation and why? Lexical analysis, because it deals with the code in its most abstract form.
What 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).
Which stage is the machine code generated? Code generation and optimisation.
Mostrar resumen completo Ocultar resumen completo

Similar

A level Computing Quiz
Zacchaeus Snape
Computing Hardware - CPU and Memory
ollietablet123
All AS Maths Equations/Calculations and Questions
natashaaaa
Biological Definitions
Yamminnnn
Using GoConqr to teach French
Sarah Egan
Using GoConqr to teach science
Sarah Egan
Using GoConqr to study geography
Sarah Egan
Using GoConqr to study Economics
Sarah Egan
Using GoConqr to study English literature
Sarah Egan
Using GoConqr to learn French
Sarah Egan
A Level: English language and literature techniques = Structure
Jessica 'JessieB