Graphic Design & Digital Media

Study Guide for Test #2

Chapters covered

What to study

Chapter 7 functions

- All pages

Chapter 8 objects

- All pages

FORMAT OF TEST:

The questions will be phrased just like the questions on Test 1. It will contain the same types of questions.

 

Here are examples of all types of questions

  • meaning of void
  • as described on page 118, why is writing your own functions so important. i.e. benefits of functions
  • syntax for creating a a function. Be able to briefly explain as well.
  • syntax for calling a function
  • some of the synonyms for functions
  • What are some return types besides void?
  • What OOP stands for?
  • How is a human being like an object? Analogize based on our class discussion.
  • List and describe the 4 steps in creating a class.
  • List and describe the 3 steps in using an object.
  • What is OOP definition.
  • Where can you place a class? Explain reason for our answer.
  • In section 8-8, there is an enlightening discussion on the questionf of when should you use OOP. Be able to explain.
  • You will not have to write any code, but maybe fill in a short part or identify a block of code. For instance, I might provide a block of code representing one of the 7 steps of creating a class or using an object. I will ask you to identify the block of code.