MCS-284 Chapters 8-9 Homework