To ExamInfo

CSC 212 -- Final Exam Review Guide

To Bring to Midterm

Read in Text Book:

To Study for Midterm:

Terms and Concepts

Builtin Java Classes

Exceptions

Be Able To

  1. Answer true/false questions. Give a reason to support each answer.

  2. Understand projects Proj4, Proj5, Proj6 and Proj7.

  3. Write a short essay explaining the relationship between inheritance and interfaces.

  4. Construct the program trace and predict the output of a Java program. Traces could involve static mathods, arrays, or objects. If the program makes recursive method calls, draw the recurrence diagram (also called the recursion tree).

  5. Use the predefined classes to create objects and use their methods, both static and object methods.

  6. Construct the UML diagram for a class, write the class definition, and a main method that will test it. Be able to predict the output from this main method.

  7. Given a UML class diagram, possibly involving inheritance, write Java code to implement the classes. Be able to write these methods or types of methods for a class:

  8. Write a Java program that will solve a problem. Be able to obtain inputs from the keyboard or an input file using the Scanner class.

  9. Be able to send output to the console or an output file.

  10. Be able to move data from an input file to an array or from an array to an output file.

  11. Explain how to solve the Towers of Hanoi puzzle recursively.

  12. Know how to compile and run a Java file from the DOS prompt.

  13. Show the order of visited cells for examples like Maze or FloodFill.

  14. Draw the family tree and predict the output for code like FamilyTree.java