Computer Science 252
Problem Solving with Java

Fall 2015, The College of Saint Rose

Lecture 23: Two-Dimensional Arrays
Date: Tuesday, December 1, 2015


Agenda

Lecture 23 Assignment

Due at the start of class, Thursday, December 3.

Please submit answers to these questions either as a hard copy (typeset or handwritten are OK) or by email to terescoj AT strose.edu by the start of class. Please use a clear subject line when submitting by email (e.g., CSC 252 Lecture 23 Assignment , Joe Student). We will discuss these questions at the start of class, so no late submissions are accepted.

Note: this is a somewhat longer lecture assignment than usual.

First, some review since so many seemed to have trouble with writing methods on the exam.

The popular Sudoku puzzle game (for example, see here) consists of a board that has 9 rows and 9 columns of numbers ranging from 1-9. Suppose we are writing a class to store a Sudoku board. We will assume that filled-in entries contain a number 1 through 9, and blank entries are represented by 0.

Terminology

Examples