This resource is a lab assignment that creates a “Mad Lib™” haiku based on user input. It requires the use of strings and string manipulation functions. The lab can be assigned to individual students or to pairs. The outcome is for students to be able to manipulate strings. In order to make real world connections, students are also asked to list at least one program that uses the strings of data such as finding strings, replacing strings, etc.
Please see attached syllabus for how this lab is sequenced within a computer science 1 course. This is a lab is assigned around week 11 out of 14 in CS 1.
By using haiku as a way to explore strings, this lab uses Meaningful and Relevant content. Additionally this lab makes Interdisciplinary Connections by using English and creative writing skills.