1. Introduction + pointers
- Slides: Introduction
- Slides: Pointers
2. Introduction + enumeration
3. Structures
- Slides: Structures
4. Structures pt 2 and basic header files
5. QSort, dividing code and using libraries
- Slides: QSort
- Slides: Dividing code
6. Valgrind, basic Makefile, logging, library creation
- Slides: Debugging
- Slides: Makefile and logging
7. Dynamic memory allocation
8. Dynamic memory allocation 2: reallocation
Homework: Watch [this video] and try to understand it
- Slides: Dynamic memory 2
9. Embedded systems
NB! This lab requires a development board that’s available only during the class
- Materials for the lab (slides, basecode etc.) ati.ttu.ee/~hartz/basys-mx3/ENG/ProgII
- uController.pdf – theory on embedded systems
- MPLABX_Basys_MX3.pdf – how to create a project
- Basys3 TASKs.pdf – lab tasks
- config.c, config.h and main.c are starter code files.
- Demo video of tasks 2 and 4 [ youtube ]
- Task 4 is shown first, then task 2.
- Note: Task 4 in the video shows also additional operations not a part of the lab task.
- Supplemental slides on numeral systems
- Supplemental slides on bitwise operations
10. Test
Test during the lesson!
- Slides: Test information
- Sample test: https://blue.pri.ee/ttu/files/iax0584/sample_test.pdf
11. Recursions and stack
12. Linked list
- Slides: Linked list
13. Trees
- 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
- Slides: 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.