







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








1
Dr. Lixin Tao http://csis.pace.edu/~lixin Computer Science Department Pace University
October 12, 2005
This document complements my tutorial “Introduction to Java Programming”. It serves as a review outline. All questions in quizzes and exams will be based on concepts listed in this document. Most of the skills that you need for writing Java programs are also listed in this document. Make sure that you can answer all the questions or understand the listed concepts for each section that we have covered.
1.1 Problem vs. problem instances
1.2 Structure of a personal computer
1.3 CPU
1.4 Memory
3.1 Basic Hello World program
3.2 Code style and command-line arguments
3.3 Java package
3.4 Best practice for organizing multiple class projects
3.7 Command-line arguments and loops
3.8 Calculator with if-else statements
3.9 Calculator with switch statement
3.13 Method declaration and invocation
3.14 Java documentation comments
3.15 Scopes of local variables
3.16 Formatting output
3.17 Timing the evaluation of π
3.23 Recursive vs. iterative methods: Fibonacci numbers
3.24 Algorithm and Towers of Hanoi
3.25 Bubble sort
3.26 Binary search