Final Exam, Spring 2009, CS10, UCSB
- A link to the actual final exam will appear here after all students have taken it
Practice Questions
- Number Conversions: Binary, Decimal, Hexadecimal, Octal
- Practice Questions (set 1)
- Also, do lab09 if you didn't do it yet
- It is only for practice, not for a grade, but it will help you prepare for the final
- If you were in the Thursday lab, look again—I added a couple of practice problems on inheritance.
Here are some topics Chapters 1-6 that could be on the final. There were not on the first or second midterm (because we had not practiced with them yet), but we practice with them) but thatwehat need to be covered in homework or labs before the final, and then should appear on the final:
- From section 4.3: the substring() method
- Binary numbers (from section 4.1)
- These will definitely be on Midterm 2, along with octal and hexadecimal.
- Shape clases from 3.9G
- Compare and constrast with the approach taken in lab06.
Stuff we didn't cover, so it wont be on the final exam—but that it would still be good for you to know about for future courses:
- Using Math.round with long variables
and using the class BigInteger and BigDecimal (from section 4.1)
- This isn't hard, but we just never talked about it or practiced with it. If it ever comes up, you can review it in Chapter 4.
- The substring method from 4.6
- The switch statement (Advanced Topic 5.2)
- enumerated types (Advanced Topic 5.3)
- The do while loop (Advanced topic 6.1)—though regular while loops are on this exam
- Nested Loops (section 6.3)—we'll practice with these with some homework problems before midterm exam 2
Topics that might or might not be included before the final, and why:
- Advanced Topic 4.7 (input dialog boxes)—we'll only cover this if we are also covering GUIs in general.
Some topics that will NOT be covered in this class, and why:
The sections in Chapter 6 on Debugging
- 6.6T, 6.7T: These are too specific to the Eclipse integrated development environment (IDE), and there isn't time to either introduce Eclipse, or adapt these to BlueJ. You are encouraged, though, after the course is over to learn how to use Eclipse and go through this section on your own. (You are also encouraged not to sell back your book until you've finished with CS20 and CS50—because you may find it useful as a Java reference while you take those courses.)