Final Exam study tips
This reference sheet will be provided for you. On this exam, you should be able to:
- Do all the stuff from exam 1 (see exam 1 tips)
- Do all the stuff from exam 2 (see exam 2 tips)
- Understand the tradeoffs between array and linked list data structures.
- Read a hex dump of a binary file and understand how it can be read into structs.
- Understand the "const" keyword.
- Be familiar with "stdint.h".
- Understand the difference between little- and big-endian representations of integers.
- Identify security flaws in C programs and explain how they could be used by an attacker.
- Apply loop-invariant code motion to improve performance of a C program.
Things to practice
There aren't any really major skills that we've learned since exam 2. Rather, we've covered additional topics that you need to be familiar with, but these topics don't really have "exercises". The exam coverage on these topics mainly will be "do you understand?" questions rather than "demonstrate a skill" questions.