Intro to Java Programming
Prof. Gregory Safko

Camden County College

Review: Exam 2


 

General Knowledge

1.   Know everything from Exam 1; study what you had correct, understand and learn what you did that was incorrect.

2.   Know the material and concepts in Project 1,2, and 3.

3.   Know the material and concepts in the files Week05.java, Week06.java, Week07.java and Class08.java.

4.   Know the material and concepts in the BoxDemoX.java files.

5.   Be caught up on your readings; you now should have read everything up to and including Chapter 7 (Arrays).

6.   Know how to write and use user-defined methods.

7.   How methods are created, declared, and used in classes.

8.   Know the difference between a function and a procedure.

9.   Know what an overloaded function is.

10. Know the implements command and why it is needed.

11. Understand and know your Boolean operators (&&, ||, &, |, ^, and !).           

12. Know and understand how to generate random numbers.

13. Know the correct way to use and implement ActionListeners, particularly the following:

a. How to write action event listeners.

b. What does the action "listens for" if the event is tied to a JButton.

c. What does the action "listen for" if the event is tied to a JTextField.

14. Know how arrays are instantiated, populated, and traversed.

15. Know how to recognize potential out-of-bounds array errors. For example:

Given

A = new int[5];

 

Is there anything wrong with saying:

A = {0,1,2,3,4,5};

 

Is there anything wrong with saying:

A = {1};

 

16. Make sure you have a working copy of some ActionEvent program (i.e. Bell.java, Class08.java, etc.).

17. Know how to recognize and use a default constructor.

18. Know how to use the API documentation on java.sun.com

 Back to the main page

This page is HTML4.0 Compliant

Valid HTML 4.0!