CS369 Chapter 3