Activity

Java Programming: Testing the Edges

Tests are no fun, but test cases are extremely helpful. Pupils work in groups to write a Java program that completes a given task. They come up with test cases to give to another group, then trade test cases to determine if their program runs correctly.

1 Collection 3 Views 2 Downloads
Instructional Ideas
  • Post a copy of the software development cycle on the board so the class can reference it as they work
Classroom Considerations
  • This activity is associated with the lesson Java Code: Does It Work? Test and Test Again
  • Scholars must have familiarity with Java and be able to connect to the Internet
Pros
  • Provides a list of discussion questions
  • Includes worksheets for each part of the project
Cons
  • None