Midterm II Study guide.docx - (While studying all of the...

This preview shows page 1 - 5 out of 11 pages.

(While studying all of the material below would be helpful, I realize that not everyone has infinite time, so I have marked with an asterisk those slide sets and labs that are likely to be most useful in preparing for the exam.) Slide sets: Saturday Sunday Monday 1. NaturalNumber 2. References 3. Arrays and References 4. Contracts 5. Repeated Arguments 1. Hints on Interval Halving 2. Mathematical String Notation 3. Recursion: Thinking About It 4. Concepts of Object-Oriented Programming 5. Static methods vs. instance methods 1. RSS 2. Recursion: Why it Works 3. Recursion on Trees 4. Testing 5. JUnit 1. XMLTree RSS Processing 2. Debugging 3. Tracing Parameter Passing 1. Integer Root with Interval Halving 2. Recursion on NaturalNumber – Static Methods 3. Arrays and References 1. Recursion on NaturalNumber – Instance Methods 2. Recursion on XMLTree 3. Getting Started with JUnit Terms/Concepts: RSS XML (XML) element (XML) attribute Debugging Overflow kernel (methods) Single point of control over change mathematical model Constructor
receiver distinguished formal parameter Reference type primitive type mutable Immutable # (in a contract) reference value Object value memory address assignment (prim. Vs. ref.) Anonymous variable uninitialized variable garbage collector Alias parameter passing (prim. Vs. ref.) Equality checking (prim. Vs. ref.) swapping Package parameter modes (restores, clears, updates, replaces) Repeated arguments (math) floor
(math) ceiling (math) string empty string concatenation Substring prefix suffix Recursion tracing with recursion fast powering Sub/derived/child interface (or class) super/base/parent interface (or class) Overriding overloading declared/static type Object/dynamic type interface type class type Polymorphism mathematical induction expression trees Operand operator
testing unit testing Integration testing system testing method correctness Test case

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture