CPS 1231 · CPS 2231
Java Programming
Concept Reviews and Question Banks
Questions
648
Labs
34
You answered
0
Correct
0%
Foundations — CPS 1231
Chapter 1
Week 1
Computers, Programs, and the Java Language
hardware/software, source vs. bytecode, JVM, portability, identifiers
Chapter 2
Week 2
Algorithm Design: Pseudocode, Flowcharts, and Tracing
pseudocode, flowcharts, tracing, loop termination
Chapter 3
Week 3
Java Basics: Class Structure, Variables, and Data Types
class structure, variables, primitive types, constants
Chapter 4
Week 4
Operators, Expressions, and Type Conversion
precedence, integer division, casting, ++, ternary
Chapter 9
Week 12–14
Arrays and Two-Dimensional Arrays
1-D and 2-D arrays, searching, sorting, case studies
Object-Oriented Programming — CPS 2231
Chapter 11
Week 4–5
Object References, Constructors, and Overloading
object creation, equality, chaining, constructors
Chapter 12
Week 6
Class Members, Utility Classes, and Program Design
static, utility classes, top-down design
Chapter 13
Week 7
ArrayList, StringBuilder, and Arrays of Objects
arrays of objects, collections, mutability
Chapter 14
Week 8–10
Inheritance, Composition, and Aggregation
hierarchies, super, overriding, final
Chapter 15
Week 11–12
Polymorphism, Abstract Classes, and Interfaces
dynamic binding, abstract, interface
34 problems with model solutions
The kind that appears in the coding section of a midterm, a final or a lab quiz. Write your solution, then compare.
Reference · Appendix BJava Syntax and API Quick Reference
Keep it open while you work through the banks.