CS10, 09S, Second Midterm Exam
What was covered:
In general:
- Chapters 7-11, emphasizing the parts we talked about in lecture, on the homeworks, and on the programming assignments lab03, lab04, lab05
- Also, all material from Chapters 1-6, earlier homeworks, and labs lab00, lab01, lab02, to the extent that it impacts the material on Chapters 7-11, as well as some topics that were covered in Chapters 1-6, but did not appears on Exam 1 (see below for detail).
Things to know for Midterm 2
- arrays: how to find the min, max, count, sum, average of an array, counting matches, finding a value, or the index of a value (see Section 7.5, and class notes). Finding a value, or the index of a value.
- for loops: how to use them to step through an array, or produce a sequence of numbers
From Chapter 7:
- arrays vs. ArrayList
- wrapper classes and auto boxing, unboxing
- enhanced for loop
- Not on Midterm 2: Sections 7.6-7.8 (2D arrays, copying arrays, regresssion testing)
From Chapter 8:
- The entire chapter, except 8.9 (Packages)
From Chapter 9
- Everything in 9.1-9.5
- (Not on the exam: 9.6-9.10)
From Chapter 10:
From Chapter 11:
From Chapters 1-6
Old stuff: Some things from Chapters 1-6 that were in the coverage for exam 1, but didn't show up on the exam:
New Stuff: Stuff from Chapters 1-6 that was not included on the first Midterm, but that we have seen since then, so it is fair game for the second midterm:
- Reading User Input
(Section 4.7)
- The Scanner class and its methods
- Formatting numbers (Advanced Topic 4.6)
- Processing sentinel values (Section 6.4)—we'll practice with these on some programming assignments before midterm 2
- The graphics sections:
- 2.11G, 2.12G, 2.13G
- (But 3.9G will be for the final, not Midterm 2)