Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • 3D
  • About
  • Rate Tips
  • Tip Sheets

Have students develop a Java program that plots pictures in a 2D grid to practice 2D array processing with a focus on nested loops.

Share Have students develop a Java program that plots pictures in a 2D grid to practice 2D array processing with a focus on nested loops. with FacebookShare Have students develop a Java program that plots pictures in a 2D grid to practice 2D array processing with a focus on nested loops. with Twitter
  • The assignment provides students with a Graphic User Interface (GUI) and a class, GridPlotter, to get them started.
    • The Grid class with rows and columns is a slightly cleaner data structure to work with than Java 2D arrays.
  • The goal is for students to obtain practice creating loops and nested loops for two-dimensional data structures.
  • For more information, visit Stanford’s nifty assignment page.

More about this tip

Tags

  • Java
  • Data Structures
  • Programming Concepts
  • CS 1
  • Intro Programming
External Source
Stanford Nifty Assignment by Alyce Brady and Pamela Cutter
Other Tips By
Other Tips By Pamela Cutter
Pamela Cutter

Similar tips

Let students solve problems the long, hard, intuitive way first to motivate the use of more advanced Scratch blocks that can help them solve problems in a shorter, faster, more flexible way.
Find examples that help motivate difficult abstract concepts - like passing in a value to a function - to help students see their usefulness.
Check out the Computing At School website for resources for a variety of CS courses.

For more information or to report a bug, contact us at admin@csteachingtips.org. Built with Bootstrap. Powered by Drupal.

Privacy Policy