Labs

1. Introduction + pointers
2. Introduction + enumeration
3. Structures
4. Structures pt 2 and basic header files
5. QSort, dividing code and using libraries

Extended lab description

  • Slides: QSort
  • Slides: Dividing code
6. Valgrind, basic Makefile, logging, library creation

Extended lab description

  • Slides: Debugging
  • Slides: Makefile and logging
7. Dynamic memory allocation

Extended lab description

  • Slides: Dynamic memory 1
8. Dynamic memory allocation 2: reallocation

Homework: Watch [this video] and try to understand it

Extended lab description

  • Slides: Dynamic memory 2
9. Embedded systems

NB! This lab requires a development board that’s available only during the class

10. Test

Test during the lesson!

11. Recursions and stack

Extended lab description

  • Slides: Recursion
  • Slides: Stack
12. Linked list

Extended lab description

  • Slides: Linked list
13. Trees

Extended lab description

  • Slides: Trees

Note: It is possible to write the retest this week during the consultation. Please inform me if you wish to retake the test by writing to me on MM at least a day before.

14. SQL
15. Spare time!
16. Exam

Registration to the exam is mandatory on OIS!

Note: It is possible to write the retest this week. Retake is during the same time as the exam. Please inform me if you wish to retake the test by writing to me on MM at least a day before.

Exam informaton