Overview and Java Review


Computer Science 112 - Introduction to Computer Science II

Why take this class?

This class is designed to introduce you to intermediate-level programming concepts. You will practice and apply these concepts by developing intermediate-level programs in Java. Though you may hear lots of people refer to this class as a Java programming class, the goal of this class is not simply to teach you how to write Java programs. Rather, you should come away with a firm understanding of general problem solving concepts that you can apply broadly. Similarly, this class should provide you with the foundation to easily learn and utilize any programming language, not just Java.

Discussion questions:

  1. What do you like about programming?
  2. What do you find particularly challenging with respect to programming?

Java Basics

+What is a variable and how do you declare one?

+What are valid variable types? Which types are primitive?

+What is initialization?

+What is an escape sequence?

+What is a reference?

+Explain the difference between == and .equals.

+What is casting?

+Explain DeMorgan's Theorem.

+Explain the syntax and functionality of Java's loops? When would you use each type?

+What is a class?

+What is an object?

+What is instance data?

+What is a method?

+What is an accessor method? What is a mutator method?

What is contained in a method signature?

+What is contained in a method header?

+What is a parameter or argument?

+What is a constructor?

+Explain scope.

+Explain the purpose of the dot operator.

+What is overloading?

+What is the garbage collector?

+Explain the term import.

+Explain the term static.


Sami Rollins

Date: 2007-08-10