Ovido
Langue
  • Anglais
  • Espagnol
  • Français
  • Portugais
  • Allemand
  • Italienne
  • Néerlandais
  • Suédois
Texte
  • Majuscules

Utilisateur

  • Se connecter
  • Créer un compte
  • Passer à Premium
Ovido
  • Accueil
  • Se connecter
  • Créer un compte

Computer Science

Give the names of the 4 Stages of compilation

- Lexical Analysis
- Syntax Analysis

- Code Generation

- Optimisation

Describe what happens during lexical analysis

The lexer converts lexemes(words) in the source code into tokens. It scans letter by letter & any irrelevant elements e.g. white spaces, comments are removed

Describe what happens during syntax analysis

Tokens are then analysed according to the grammar of the programming language to build a syntax tree (parse tree). Syntax errors are detected in this stage

Describe what happens during code generation

Traverses through the syntax tree to generate object code that can be executed by the computer

Describe what hapens during code optimisation

It aims to reduce the execution time of the program

Give a few ways that code optimisation can reduce execution time

- Spotting and removing redundant code
- Removing subroutines that have never been called

- Removing variables and constants that have never been referenced

What assumptions can be made about the lexer

- Only creates one table
- Doesn't store duplicate entries

- Uses indexing instead of hashing

Quiz
RELIGION
brojevi (numbers)
tarea
History
safestore
emergency equipment
Traduce_week_16
Vocabulary_week_16
cito\istologia
hggsp
verbe irregulier
Religion quiz 6
nerlandais
Comment analyser un statistique
L'immigration (vers une société multiculturelle)
L'immigration (de l'incompréhension au racisme)
L'immigration (Religion et usages)
L'immigration (l'immigration)
L'immigration (les origines)
series
Protein
Natura 2
NATURA
school exclusion
patrimoine
새 단어 11과 3급
vaccine schedule
새 단어 10과 3급
Les 1
tindslinjen evolution
6
ZOO424
produccion P1
Legislación
troubled osteo-articulaire
Examens biologiques
topografie
Espagnol
house
human rights law
HSK 1 PRONOMBRES
English U1 B1
faire la guerre, faire la paix
Processi metabolici
biologi evolution
carte de l'Europe
Middle Ages
1.3 Models of CJS
NDLS Q2 1
1.2 Describe the organisation of the CJS