TDDE18 Programming (C++)
Overview
Track changes to this page
Lab signup
All lab work shall be done together with ONE fellow student. Demonstration "on your own" will not be permitted. Use the link "Lab signup" in the menu to left. You should always demonstrate labs with the student you worked together with.
Lab demonstration
Finished (well tested and debugged) labs should be approved by one of the assistants. Lab demonstration is done during scheduled lab sessions. Raise your hand and tell the assistant you want to demonstrate. The assistant will ask you to do the demonstration. Both students should be prepared to show and explain all code part of the lab, answer questions on the techniques used in the lab, and explain how the program reacts to certain input.
Lab approval
Once the assistant is happy with your demonstration the handin for the lab will be unlocked by the assistant. You can prepare this by clicking the "Unlock submission" link in the menu. After unlocking you will be able to handin the code through Sendlab. Make sure to correct anything the assistant noted before handing in.
Check this page to see how to hand-in your code!
Lab BONUS on the exam
Note: Due to structural changes to the exam, the bonus system will be redesigned. There will still be some form of bonus, details will be published as they are decided upon.
To get bonus you need to fulfill the following criteria:
- Demonstrate before the soft deadline.
- You get one chance to complement your submission after feedback from us.
- The changes must be submitted at latest 7 days after the feedback from us.
Optional warmup
If it has been a long time since you programmed last or if you feel a bit unsure about how to start the first lab, you can do the following optional warmup exercises: warmup exercises (last modified 2024-09-02 at 13:50 )
Note: these exercises should not be demonstrated, nor are they handed in or assessed. These are just self-study exercises you can do to familiarise yourself with C++ using smaller exercises before tackling the first lab. No solutions will be provided.
Optional pointer/memory exercises
You are encouraged to solve the following exercises to get a better grasp of pointers and related memory issues: Memory exercises (last modified 2024-09-23 at 10:22 )
Note: these exercises should not be demonstrated, nor are they handed in or assessed.
Lab instructions
- Lab 1 (note: This has three parts): Basic input and output, Tax table and Word length
- Lab 2: Time and some given files. (last modified 2024-08-30 at 11:51)
- Lab 3: Linked list and some given test files. You can find memory leaks with a tool called Valgrind (last modified 2024-09-02 at 13:18)
- Lab 4: Circuit simulator (last modified 2024-08-27 at 10:28)
- Lab 5: Text Editor (last modified 2024-09-02 at 13:23)
Working on labs from home
Your responsibilities in order to learn
- Let us know what you need from us
- Attend lectures and ask questions
- Read the book and study examples
- Attend lessons, participate actively and ask questions
- Study, modify and write small eperimental programs that focus on how one particular feature of C++ works
- Prepare lab solutions at home
- Discuss different solution approaces with your lab partner
- Attend labs and write lab solutions
- And so on ...
Page responsible: Christoffer Holm
Last updated: 2024-09-23