MCS-284 Chapter 2 Homework