Programming langauge help | Computer Science homework help

I need help answering 4 computer science related questions. I have included the slides and review sheets from my class. The actually assignment is the pdf labeled extra credit. I have also included the textbook that is being used in my class. The answers should come from chapter 8,9, and 10. Some computer science knowledge would be great.