TDT4205 - Compiler Construction


Examination arrangement

Examination arrangement: Aggregate score
Grade: Letter grades

Evaluation Weighting Duration Grade deviation Examination aids
Assignment 20/100
School exam 80/100 4 hours C

Course content

Compilers are a prerequisite for constructing modern software. Compiler construction is a field of computer technology that early reached maturity, with a sound theoretical basis. Elements of this technology are employed in most areas where one does a thorough analysis of texts on a computer. The course discusses grammars, lexical and syntactic analysis, semantic analysis, optimizations, code generation, interpreters and abstract machines, linkers and run time systems. The concrete structure of a compiler that generates code for a real computer is studied in some detail.

Learning outcome

Knowledge: To give a thorough knowledge of techniques for the construction of compilers (programming language translators) and some insight in how to build systems software, more generally. Abilities: Develop a thorough understanding of how modern compilers work.

Learning methods and activities

Lectures and exercises.

Further on evaluation

Assessment includes a final written exam (80%) and work (20%). If there is a re-sit examination, the examination form may change from written to oral.

For improving the grade in the subject the students can choose to retake only the exam or the whole subject.

Course materials

Will be specified at the start of the course.

Credit reductions

Course code Reduction From To
SIF8045 7.5
More on the course



Version: 1
Credits:  7.5 SP
Study level: Third-year courses, level III


Term no.: 1
Teaching semester:  SPRING 2024

Language of instruction: English

Location: Trondheim

Subject area(s)
  • Informatics
  • Technological subjects
Contact information
Course coordinator: Lecturer(s):

Department with academic responsibility
Department of Computer Science


Examination arrangement: Aggregate score

Term Status code Evaluation Weighting Examination aids Date Time Examination system Room *
Spring ORD School exam 80/100 C INSPERA
Room Building Number of candidates
Spring ORD Assignment 20/100 INSPERA
Room Building Number of candidates
Summer UTS School exam 80/100 C INSPERA
Room Building Number of candidates
  • * The location (room) for a written examination is published 3 days before examination date. If more than one room is listed, you will find your room at Studentweb.

For more information regarding registration for examination and examination procedures, see "Innsida - Exams"

More on examinations at NTNU