CS250 Midterm 2 Review Guide
The midterm will be in-class on Tuesday, March 24. The midterm will mostly cover topics from the book chapters 1 through 10.
Topics
- ASCII, you don't have to memorize the table.
- Assembly Programming. This is the main topic of this test.
- 32-bit x86 registers (eax, ebx, ecx, edx, esp, ebp, esi, and edi)
- x86 integer math operations (add, sub, div, mul)
- How the stack works (push, pop, adding and subtracting from esp, what ebp is for)
- Local Variables and Function Parameters
- System Calls (read, write, exit, open, close)
- Calling C library functions (printf, scanf)
- text .vs data segment of the program
- Assemblers and Linkers
- There is a little bit of content from the earlier part of the semester. Don't forget ohm's law and how to calculate power.
Notes
The test will be closed book, but you can bring up to 10 pages of notes if you like, both sides. Any page is fine, written any way you like. It can be both sides or one side, handwritten or typed, any font size. If you have legal-size paper around, that's ok too.