Sample Quiz

With a piece of paper, write down your name and answers to for following questions.

  1. What is a function in terms of Computer Sciences?

    1. A group of code lines that performs a specific task
    2. A group of code lines that performs a whole program
    3. Something that contains an "init"
    4. The purpose of Java
  2. What will be the value of "num" after the following statements?