Skip to Content

Dress the Elf With this Christmas Boolean Logic Activity

Trixie the Elf needs helping searching for the perfect outfit for each day of the week. Learn how to use boolean expressions to narrow down exactly the right outfit in this Christmas Elf boolean logic activity.

Learn how to use boolean expressions to search for the right outfit in this Christmas Elf boolean logic activity that teaches computer programming concepts such as selection and boolean operators. #teachkidstocode #STEM #STEAM #Christmas

Boolean logic sounds like a pretty complex concept, but it’s actually very easy to understand. Booleans are a type of data that has two values either true or false that can be used to evaluate logical questions.

Booleans are named after Philosopher and Mathematician George Boole, who first defined an algebraic system in the mid 19th century. Have you ever played the game Guess Who? Then you’ve used Boolean logic!

How are Booleans used in Programming?

Booleans are used to produce more effective search results by using Boolean functions to eliminate or provide search parameters for logical questions.

You start off with the idea that a statement is either true or false. It can’t be anything else. After your statement, you can form other statements that are true or false by combining the statements with a Boolean function such as AND and OR.

You’ll also enjoy: Guess Who? Santa’s Elves Unplugged Boolean Coding Activity

Learn how to use boolean expressions to search for the right outfit in this Christmas Elf boolean logic activity that teaches computer programming concepts such as selection and boolean operators. #teachkidstocode #STEM #STEAM #Christmas

DRESS THE ELF BOOLEAN LOGIC ACTIVITY

This activity focuses on the comparison operators and boolean operators in selection statements.

== and != are comparison operators 

AND and OR are boolean operators 

== means “is equal to?” and != means “is not equal to?”

The outfit picked must meet both conditions in an AND statement and one condition of an OR statement.

Each comparison is a boolean and results in either a True or False answer. Use the selection and boolean statements to dress Trixie the Elf! There will be multiple answers for each day, so check your work to make sure that the final pieces fit the search parameters.

Recommended: Christmas Algorithm Art Directed Drawing Unplugged Coding Activity

HOW TO PLAY DRESS THE ELF BOOLEAN LOGIC ACTIVITY

Print out the Dress the Elf boolean logic worksheet. You can cut out the clothes if you’d like to, but this game can also be played by pointing at the outfits that match the search parameters. For each question, pick out different outfits that fit in the blanks.

Learn how to use boolean expressions to search for the right outfit in this Christmas Elf boolean logic activity that teaches computer programming concepts such as selection and boolean operators. #teachkidstocode #STEM #STEAM #Christmas

Boolean Expressions

On Mondays, Trixie the Elf wears red and green clothes.

On Tuesdays, Trixie the Elf wears green and brown clothes.

On Wednesdays, Trixie the Elf wears black workout clothes.

On Thursdays, Trixie the Elf wears red, green, or black clothes.

On Fridays, Trixie the Elf wears red and green clothes.

On the weekends, Trixie the Elf wears blue, red, or pink clothes.

On snow days, Trixie the Elf wears snow boots, a scarf, and mittens.

On days that Trixie the Elf wears green or red clothes, she also wears green or red shoes.

On days that begin with the letter “T”, Trixie the Elf likes to wear hats.

Dress the Elf Outfit Selection Set #1

  • If it’s Tuesday, Trixie the Elf wears _________________________, else she wears ___________________________.
  • If it’s a snowy Saturday, Trixie the Elf wears ____________________________, else she wears _____________________________.
  • If it’s Friday, Trixie the Elf wears _________________________, else she wears ______________________________.
  • If it’s Thursday, Trixie the Elf wears ________________________, else she wears _______________________________.

Dress the Elf Outfit Selection Set #2

if dayOfWeek == “Sunday” AND hasWeather != “snow”: TrixieWears()

if dayOfWeek == “Wednesday” AND hasWeather == “snow”: TrixieWears()

if dayOfWeek != “Weekday” AND hasWeather != “snow”: TrixieWears()

if dayOfWeek == “Thursday” AND hasRedShirt != True: TrixieWears()

if dayOfWeek ==”Saturday” AND hasWeather == “snow”: TrixieWears()

Make some more clothes for Trixie and try the activity again or practice writing your own boolean expressions and selection statements!

Pay close attention to the boolean expressions to help search for the perfect clothes for Trixie the Elf for each day of the week! 

STEAM Powered Holidays - Our Family Code

PIN THIS IMAGE TO SAVE THIS CHRISTMAS UNPLUGGED PROGRAMMING ACTIVITY

Learn how to use boolean expressions to search for the right outfit in this Christmas Elf boolean logic activity that teaches computer programming concepts such as selection and boolean operators. #teachkidstocode #STEM #STEAM #Christmas

Christmas Coding Activities

Find more Christmas coding activities to work on computational thinking and beginning coding skills!

Meet Toni, the Maker Mom behind Our Family Code

A picture of Toni, the author, wearing a green tie dyed shirt.

Hey there, I’m Toni! I’m a software engineer and Maker Mom that finds my joy in unleashing my children’s curiosity by exploring STEAM concepts with my fantastic five!

When I’m not chasing toddlers or raising tweens, you can find me tearing things up and putting them back together over here at Our Family Code.

I am the owner and content creator of multiple educational websites designed to increase access to STEAM & STEM education with a focus on teaching computer science and coding to kids of all ages!

You can also find out more about me by visiting ToniGardner.com!

STEAM KID Activities logo
A picture of the logo for Brandicionado.com.
A picture of the logo for RocktheSteamteam.org
A picture of the logo for GetMovingMama.com
our family code horizontal logo
A picture of the logo for ThisKidCanBake.com
A picture of the logo for tonigardner.com
A picture of the logo for lodeofcode.com

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This site uses Akismet to reduce spam. Learn how your comment data is processed.