UNPKG

smartdown-gallery

Version:

Example Smartdown documents and associated resources that demonstrate various Smartdown features and serve as raw material for other Smartdown demos.

41 lines (23 loc) 1.4 kB
### MadLibs The idea behind using [Mad Libs](https://en.wikipedia.org/wiki/Mad_Libs) as a teaching tool is that it is a potentially fun way to enable students to *create* a simple program that they can show-and-tell, all without requiring any of the tedium of programming other than minor syntax. The basic idea is that a teacher provides the students with an example, like the one below, and the students are encouraged to adapt and share their own MadLib for their friends and fellow students to play with. At a deeper level, MadLibs provide an easy way to understand the concepts of *substitution* and *data type*. The Parts of Speech correspond to data types in a programming language, although there is no need to point this out to students in the first lesson. --- #### Simple MadLib Example **Choose words to build your story** [Adjective](:?ADJECTIVE) [Place Noun](:?NOUN) [Animal](:?ANIMAL) [Noise](:?NOISE) # --outlinebox madlib #### **[](:!ADJECTIVE)** Macdonald **[](:!ADJECTIVE)** Macdonald had a **[](:!NOUN)**, E-I-E-I-O And on that **[](:!NOUN)**, he had a **[](:!ANIMAL)**, E-I-E-I-O With a **[](:!NOISE)**-**[](:!NOISE)** here And a **[](:!NOISE)**-**[](:!NOISE)** there Here a **[](:!NOISE)** There a **[](:!NOISE)** Everywhere a **[](:!NOISE)-[](:!NOISE)** **[](:!ADJECTIVE)** Macdonald had a **[](:!NOUN)**, E-I-E-I-O. # --outlinebox --- [Back to Home](:@Home)