Personal tools
You are here: Home Classes Fall 2004 - Spring 2005 Old CS 160 Final Exam Review
Navigation
Log in


Forgot your password?
« May 2008 »
Su Mo Tu We Th Fr Sa
123
456789 10
11121314151617
18192021222324
25262728293031
 
Document Actions

Final Exam Review

by admin last modified 2005-05-25 15:42

Final exam review

Comprehensive part:

Object-oriented programming and the Java language

  • Classes and objects
  • Object creation and deletion
  • Constructors, finalizers, accessors, and mutators
  • Subclasses and inheritance
    • Abstract classes and methods
    • Interfaces
      • Iterator
      • List
      • Comparable
  • Packages
  • Access Control
  • Exceptions

The List interface

  • Definition
  • Implementations
    • Array
    • Linked list
      • head and tail pointers
      • doubly-linked
      • circular
      • recursive

Sorted lists

  • Interface
  • Semantics
  • Implementations
    • Array
    • Linked List
  • Binary Search
Algorithm Analysis
  • big-oh notation -- know the definition
  • running times for common algorithms

Since the midterm:

Stacks, queues, deques, and priority queues

  • Interface
  • Semantics
  • Implementations
    • Array
    • Linked List

Arithmetic expressions

  • infix, prefix, and postfix notations
  • infix-to-postfix algorithm
  • evaluate postfix algorithm
The Map interface
  • Definition
  • Implementation
    • binary search tree
    • hash table

Object-oriented design and analysis

  • CRC method
  • UML diagrams
    • use case
    • sequence
    • class

Trees

  • Basic terminology
  • Binary trees
  • Tree traversals
  • Expression trees
  • Implementing binary trees
  • Implementing nonbinary trees
  • Tries
  • Tree iterators
  • Cloning a binary tree
  • Binary search trees
  • Balancing a binary search tree
    • AVL trees
    • Red-black trees

Hashing

  • Basic concepts
  • Hash function design
  • Collision handling
    • Open addressing.
      • Linear probing.
      • Double hashing
    • Chaining
      • Chained scatter tables
      • Separate chaining

Sorting

  • Elementary sorting methods
    • bubble sort
    • insertion sort
    • selection sort
  • Merge sort.
  • Heaps.  Heapsort.  Priority queues.
  • Quicksort.

 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: