Course Level
CS1
Knowledge Unit
Fundamental Programming Concepts
Collection Item Type
Lab
Synopsis

In this lab, students work to create a 'painting' program. The Java program must use variables and methods to store values and perform actions, respectively, for painting. To abstract this idea beyond custom methods, students must create interfaces. Specifically, students are to create an interface where the user can (and must) implement all methods in that interface.

Recommendations

Group Students by Level of Experience with CS when distributing this activity to reduce the potential for some students to feel isolated or intimidated.

Engagement Highlights

Provides Effective Encouragement by including adequate supports and resources within the assignment for students to feel confident completing the activities. Uses a real-world scenario (painting in various situations) to Employ Meaningful and Relevant Content.

Materials and Links

Computer Science Details

Computer Science Topic(s)
polymorphism
inheritance
interface
Programming Language
Java

Material Format and Licensing Information

Material Format
HTML
Technology Platform Required
Desktop
Creative Commons License
Unknown

Author's Institutional Information

Institution Type
Doctoral/Research Universities - Extensive
Community Type
City Large