Socratic programming

PGSS Computer Science Core Slides

A sampling of real-world problems, ranging from the simple to the complex, whose solutions are discovered by the students.

Problem class Square

Problem class ArrayAverage

(Use ArrayTotal() from Friday. We declared it as

public static double ArrayTotal(double[] arr) {
  ...
}
in case you forgot.)

Problem class AbsoluteValue

Problem class IsEven

Problem class Exponentiate

Problem class ArrayFind

Problem class ArrayReplace

Problem class IntToBinary

Problem class MatrixAdd

Problem class IsSubstring

Problem class ArrayMoveToEnd