MAIN POINTS TO KNOW FROM THE HANDOUTS:

Arrays

-- Key terms:  zero-based;  length attribute;  index (subscript);  aliasing problem

-- Know the various ways to declare an array  (1. without allocating memory for it. 
2. Allocating memory for a certain size array.  3. Using an array literal.)

-- Know that an array is accessed via a handle

-- Differences in what's stored between an array of primitive-type values and an array of reference-type values

-- How to declare an array parameter; how to construct an array to be returned from a method.

-- How to declare a two-dimensional array; how it is stored (rowwise); how to access a row; an element

-- Be able to read/write code using loops to process arrays (like the ones on Slide #9 in average() and in printStats() and those in Lab 9.)

-- Nothing on command-line arguments

Files

-- Key terms: stream;

-- Know how to do output with System.out

-- What's a basic difference between Streams and Readers/Writers?  (char vs. byte I/O)

-- How do BufferedReaders and BufferedWriters improve program performance?

-- With readLine(), how can we tell when the end of the file has been reached?

-- What should be done when a reader/writer is finished?  (close it.  How?)

-- Know how try-catch mechanism works and how to use it.

 

SOME COMMENTS ABOUT THE TEXT READINGS:

Sections listed are the only ones for which you're responsible on this quiz.
Also, I have posted solutions to the exercise sets listed here.

Chap. 9

Sections 9.1-9.2, 9.6

Quick Quiz 9.2 and Exercises 9.2 are good as are Quick Quiz 9.4 (#1-14) and Exercises 9.4 (#1-15).  [Note:  These should be Quick Quiz 9.6 and Exercises 9.6 since they're at the end of Section 9.6!]

 

Chap. 10

Sections 10.1-10.4

Quick Quiz 10.4 and Exercises 10.4 are good.

SOME COMMENTS ABOUT THE VIDEO The Paperback Computer:

Questions will be taken from list on the handout up to "Software."