Ruby Review

Back to Curriculum Index

Goals

  • Classify data as the Number, String, or Boolean data type
  • Store various data types in variables
  • Use String interpolation

Prework Review

Look at the contrived program below. Using what you learned from the prework, share one or more statements about the code. Feel free to use vocabulary such as variable, string, integer, reassigned, underscore, method, snake case, etc.

Example: The variable favorite_season contains a string.

Try It: MadLibs!

Choose a MadLib starter program below and fork (copy) it to your own account. Use what you know about strings, integers, puts, print, variables, and string interpolation to make it run!

While working through this challenge, pay attention to these programmer skills: 1) attention to detail, and 2) reading error messages.

All MadLibs adapted from https://www.pinterest.com/francescacorna/madlibs/

Back to Curriculum Index