2.2.13

Compiling a Program

Test yourself

Compiling a Program

You need to know the process a piece of code undergoes when it is compiled by a program.

Illustrative background for Compiling a programIllustrative background for Compiling a program ?? "content

Compiling a program

  • When code is compiled through a compiler, it has to go through 4 stages before it is ready to run.
Illustrative background for Stages of compilationIllustrative background for Stages of compilation ?? "content

Stages of compilation

  • Those stages are:
    1. Lexical analysis.
    2. Syntax analysis.
    3. Code generation.
    4. Code optimisation.

Jump to other topics

1Components of a Computer

2Software & Software Development

3Exchanging Data

4Data Types, Data Structures & Algorithms

5Legal, Moral, Cultural & Ethical Issues

6Elements of Computational Thinking

6.1Thinking Abstractly

6.2Thinking Ahead

6.3Thinking Procedurally

6.4Thinking Logically

6.5Thinking Concurrently

7Problem Solving & Programming

8Algorithms

Unlock your full potential with Seneca Premium

  • Unlimited access to 10,000+ open-ended exam questions

  • Mini-mock exams based on your study history

  • Unlock 800+ premium courses & e-books

Get started with Seneca Premium