Activity #5

Interactive Stories (Mad Glibs)



In this assignment you will have the opportunity to create a program that uses the elements from this module.  One way to do this is through the creation of a computer based Mad Lib.
I bet most of you have played with Mad Libs before. You ask a player to provide you with several parts of speech (noun, verb, adjective, etc.) and then their responses are placed into a partially existing story - normally with wacky or crazy results.
For examples you can check out the official Mad Libs website at (  But for this assignment I would like you to create an interactive story/mad lib based on a popular nursery rhyme.


Hey Diddle Diddle. The (animal1) and the fiddle. The (animal2) (past-tense verb) over the moon. The (adjective) (animal3) (past-tense verb) to see such a sight. And the (noun) ran away with the spoon.



When the green flag is pressed your program should: