Lesson 4

Ruby's Dress Code Conditionals

In this unplugged lesson, students will be introduced to the computer science concepts of conditional statements as Ruby concludes her journey to find the five gems. Students will then participate in an unplugged activity to further explore conditional statements.


  1. Ask: What do you remember about Ruby and her adventure from the last class?
  2. Read: Hello Ruby Ch. 8-10 (p. 52-68)
  3. Activity: Ruby's Outfit Rules
  4. Activity: Ruby's Dress Code
  5. Reflection & Close-Out:
    • What things did Ruby's friends do that are things computer scientists also do?
    • How did you use a conditional to help Ruby decide what to wear?


  • Hello Ruby book or PDF (SFUSD log-in required)
  • projector, connected to a computer
  • Ruby's Dress Code conditional statements:
  • scissors for the optional Dress Code paper dolls extension


algorithm: steps to complete a task

computer science: using the power of computers to solve problems and express ourselves

conditional: a statement that only runs under certain conditions or situations

Additional Resources


CA CSS: K-2.AP.10 Model daily processes by creating and following algorithms to complete tasks.

CA CSS: K-2.AP.12 Create programs with sequences of commands and simple loops, to express ideas or address a problem.