CS250 Final Review Guide
Topics
- Binary, hex, etc, likely to see this again
- Parts of a Computer, like what does the GPU do, etc
- Gates and Logic, in less detail than the midterm but still a question about this.
- Electrical engineering (Power, transistors, etc)
- Assembly Programming (featured topic)
- C programs will end up in a number of questions
- pthreads and threading, project 5
- How CPUs work (x86 instruction set)
Notes
The test will be closed book, but you can bring up to 10 pages of notes, 5.8 by 11 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. If you wanted to do both sides but dislike flipping pages, you can do two one-sided sheets instead.
Format
Format will be a lot like the midterm.
Example Questions
- Write an assembly function with this C prototype: int half_all(int*); The list is null-terminated, and the function should divide each number in half.
- Suppose you have a number loaded into xmm0, and wish to double it. Why won't the line "mul $2, %xmm0" work?
- Write a function that converts a string to title case (the first letter of each word is capitalized)
- Write a function that calculates the length of each letter in a string and returns a string of ascii numbers. Each word has to be less than 10 characters in length