Hide menu

TDDB44 Compiler Construction

Laboratory Assignments

Laboratory Organization

The laboratory exercises are performed in groups of two students, 10 groups per laboratory. There are 7 separate parts of the compiler to complete and each assignment builds on the previous parts.

To be able to solve the laboratory assignments on time you must be well prepared for every laboratory exercise. Past experience has shown that the amount of work involved is often underestimated; the expected time to complete the labs is 80-100 hours, of which 22 hours are supervised.


The deadline for the labs is the end of the study period 2023-12-21. Check when your lab assistant takes vacation in good time before the last scheduled lab in case you want to hand in the labs after that lab.

While it will still be possible to submit your lab report to your lab assistant afterwards, this is generally only done for labs 6 and 7 until the end of the exam period.

After the course, your lab assistant will be busy with other courses and work and you will need to wait until the next time the course is given for correction of the labs.

Rules for examination of computer lab assignments at IDA

You are expected to do lab assignments in group or individually, as instructed for a course. However, examination is always based on individual performance.

It is not allowed to hand in solutions copied from other students, or from elsewhere, even if you make changes to the solutions. If there is suspicion of such, or any other form of cheating, teachers are obliged to report it to the University Disciplinary Board.

Be prepared to answer questions about details in specific code and its connection to theory. You may also be asked to explain why you have chosen a specific solution. This applies to all group members.

If you foresee problems meeting a deadline, contact your teacher. You can then get some help and maybe the deadline can be set to a later date. It is always better to discuss problems, instead of, e.g., to cheat.

Any kind of academic dishonesty, such as cheating (e.g., plagiarism, use of unauthorized assistance, and use of prohibited AI-based assistants) and failure to comply with university examination rules, may result in the filing of a complaint to the University Disciplinary Board. The potential penalties include suspension, warning.

Policy for handing in computer lab assignments at IDA

For all IDA courses having computer lab assignments there will be one deadline during or at the end of the course. If you fail to make the deadline, you must retake the, possibly new, lab course the next time the course is given.

If a course deviates from this policy, information will be given on the course web pages.

Page responsible: Adrian Pop
Last updated: 2022-10-30