CPS 1 - Spring, 2000 - Ramm 2/23/00 #16
- Announce
- Continue to Read Course Pack Chapter 4
- Quiz Today
Chapt 4: Top-Down Programming, Subroutines, and a Database Application
- Implementing a "Phone List" Using Two Arrays
LookUp.java,
LookUp.html
- Implementing a "Phone List" in a Single Array
Search.java,
Search.html
- Extend Idea to Database
- Generalization of phone book problem
- Can have many "parallel" arrays
- Basic Data Base Functions
- Load Data (File I/O would be nice)
- Display Data (Complete Dump)
- Query/Search (Selective Info Retrieval)
- Edit/Update (Update or Correct: Edit Database)
- Wild Card Retrieval
- Allows query to say "I don't care" for certain fields
- Used Car Database
UsedCars.java,
UsedCars.html