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.
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
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.
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!
PIN THIS IMAGE TO SAVE THIS CHRISTMAS UNPLUGGED PROGRAMMING ACTIVITY
Christmas Coding Activities
Find more Christmas coding activities to work on computational thinking and beginning coding skills!
Christmas Sudoku Logical Reasoning Activity for Kids
Sudoku is a great activity to strengthen logical reasoning skills and decomposition skills while working with a simple algorithm, a series of instructions for solving problems.
Christmas Pixel Puzzles: Free Color by Number Activity for Kids
These Christmas Pixel Puzzles are a great way to introduce image representation on computers as well as work on number and color recognition.
Computers break pictures down into tiny blocks of color known as pixels. Pixels are organized in a grid and each block contains a single color.
Christmas Algorithm Art Directed Drawing Unplugged Coding Activity
This Christmas tree algorithm art activity is a great unplugged coding activity for kids K-8 to learn how actions can be turned into algorithms.
After completing the activity, kids can work together to communicate their written program to their peers or siblings to test out and debug their Christmas tree code.
Test Your Logical Thinking with this Christmas Logic Word Puzzle
Logic puzzles are a great activity to strengthen logical reasoning skills, boolean, and comparison skills while working with a series of selection statements.
This Christmas logic word puzzle activity is a way for kids to use logical thinking and pattern matching paired with spatial recognition and spelling.
Guess Who? Santa's Elves Unplugged Boolean Coding Activity
Learn about boolean and comparison operators with this Guess the Elf boolean coding activity! 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.
Winter Unplugged Coding Worksheet: Frosty Sequences
Find the correct sequence to help Frosty the Snowman find his way through town before he melts away in this unplugged coding worksheet for kids! This free worksheet is great to print to use in a classroom or even at home!
We like to practice verbalizing our sequences as well because it helps to practice coding concepts in different ways in order to master them!
Meet Toni, the Maker Mom behind Our Family Code
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!