THINK FIRST·CODE LATER

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

0/40 answered
Chapter 2 Week 2
Algorithm Design: Pseudocode, Flowcharts, and Tracing

pseudocode, flowcharts, tracing, loop termination

0/39 answered
Chapter 3 Week 3
Java Basics: Class Structure, Variables, and Data Types

class structure, variables, primitive types, constants

0/38 answered
Chapter 4 Week 4
Operators, Expressions, and Type Conversion

precedence, integer division, casting, ++, ternary

0/39 answered
Chapter 5 Week 5
Characters, Strings, and Console Input

char, escapes, references, String, Scanner

0/38 answered
Chapter 6 Week 6
Selection and Boolean Logic

if, else if, &&, ||, !, switch

0/38 answered
Chapter 7 Week 7
Loops and Iteration

while, do, for, nesting, input validation

0/38 answered
Chapter 8 Week 9–11
Methods and the Java API Library

own methods, static, overloading, Math, printf

0/40 answered
Chapter 9 Week 12–14
Arrays and Two-Dimensional Arrays

1-D and 2-D arrays, searching, sorting, case studies

0/40 answered

Object-Oriented Programming — CPS 2231

Chapter 10 Week 1–3
Classes, Objects, and Encapsulation

instance variables, this, accessors, UML

0/38 answered
Chapter 11 Week 4–5
Object References, Constructors, and Overloading

object creation, equality, chaining, constructors

0/37 answered
Chapter 12 Week 6
Class Members, Utility Classes, and Program Design

static, utility classes, top-down design

0/36 answered
Chapter 13 Week 7
ArrayList, StringBuilder, and Arrays of Objects

arrays of objects, collections, mutability

0/37 answered
Chapter 14 Week 8–10
Inheritance, Composition, and Aggregation

hierarchies, super, overriding, final

0/37 answered
Chapter 15 Week 11–12
Polymorphism, Abstract Classes, and Interfaces

dynamic binding, abstract, interface

0/37 answered
Chapter 16 Week 13
Exception Handling

try/catch/finally, checked vs. unchecked

0/38 answered
Chapter 17 Week 13–14
File I/O and Recursion

File, text I/O, base case, call stack

0/38 answered
Programming labs

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 B

Java Syntax and API Quick Reference

Keep it open while you work through the banks.