CECS 174 FINAL EXAM REVIEW
Chapter 1
- Explain why it's valuable to study computing
- Use binary number system and hexadecimal number system
Chapter 2
- Understand the compiler process (source code, bytecode, library and java
intepreter)
- Recognize different types of data types
- int
- float or double
- char
- boolean
- char
- String
- Show the difference between primitive and object variables
- Show the relationship between class and object
- Use Java Math operators and order of precedence
- Use Java Math class
- Casting
- Create a constant variable
- Read data typed at keyboard
Chapter 3
- Create an object
- Execute (invoke) object methods
- Define and use a void object methods including actual and formal
parameters
Chapter 4
- Declare, create, initialize, access and process a one-dimensional array
- Input and output array elements
- Do iteration with while, do-while and for loop
- Use break statement in a loop structure
- Use Picture, Pixel and Color methods
Chapter 5
- Use nested loops for processing elements of a matrix (picture object)
- Define and use a returning-value method including actual and formal
parameters
- Define and call overloading methods
Chapter 6
- Use relational operators and logical operators
- Constructor decision structures:
- if
- if/else
- if/else if
- Nested decision structure
Chapter 7
- Understand inheritance, packages and predefined Java classes
- Draw text (Strings)
- Font object
- FontMetrics object
- Use Graphics2D object to draw simple shapes on a picture
Chapter 8, 9 and 10
- Execute (invoke) class methods
- Define and execute an static method
Chapter 11
- Define a class including the fields, constructors, and methods
- Overload constructors
- Create accessor and modifier methods
- Create Javadoc comments
- Explore the API for Java at
http://java.sun.com/j2se/1.5.0/docs/api/
- Reuse a class via inheritance
Chapter 12
- Create a String object
- Understand Unicode and ASCII
- Use escape sequences
- Use basic String methods( charAt, compareTo, substring, indexOf,
toUppercase, toLowerCase, replace, replaceAll,
length, and trim)
- Use Character methods
- Understand file structure (field, record, field delimiter)
- Reading data from a file
- FileReader
- BufferedReader
- StringTokenizer
- Write data to a file
- FileWriter
- BufferedWriter
- Understand the concept of exception
Chapter 15
- Explain the difference between compiler and interpreter
- Introduce to data structure and algorithm
- Consider computer performance based on clock rates and computer storage
Other topics
- One-dimensional array as method arguments
- Two-dimensional array as method argument