Learn about boolean and comparison operators with this Guess the Animal unplugged 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.
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 Coding?
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.
About Guess the Animal Unplugged Boolean Coding 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?”
An animal 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 Guess the Animal.
You’ll also enjoy: Introduce Computer Programming with this Elementary Coding Activity
How to Play Guess the Animal Unplugged Boolean Coding Activity
Print out the Guess the Animal Workbook and cut out the animal cards. Start with all of the animals facing up and flip them over as you work through the code.
Guess the Animals for Grades K-3
In the printable workbook, the left column shows the questions asked in typical Guess Who format and are great for grades K-3.
Use the questions and answers to present kids with statements regarding the animal. For example, if the question says “Does your animal have round ears? TRUE” express it in a statement like “The animal we are looking for has round ears.”
Guess the Animals for Grades 3-8
In the printable workbook, the right column presents selection and boolean operators and is ideal for grades 3-8. Make sure to go over the boolean and comparison operators before starting the activity.
Make copies of the handout and allow kids to work through the groups of code. Take a poll of which animal might be the answer and then go through the problem together.
Guess the Animal #1
if hasWhiskers == True: flipCardOver()
if earShape == “Round”: flipCardOver()
if livesOnAFarm != True: flipCardOver()
if hasBeak == True AND canFly == True: flipCardOver()
if hasBeak != True: flipCardOver()
What does this question look like in a two-player Guess Who game?
Does your animal have whiskers? TRUE
Does your animal have round ears? FALSE
Does your animal live on a farm? TRUE
Does your animal have a beak and can fly? FALSE
Does your animal have a beak? TRUE
Guess the Animal #2
if livesOnAFarm != True: flipCardOver()
if hasBeak == True OR hasHorns == True: flipCardOver()
if earShape != “Round”: flipCardOver()
if hasWhiskers == True OR furColor == “White”: flipCardOver()
What does this question look like in a two-player Guess Who game?
Does your animal live on a farm? TRUE
Does your animal have a beak? FALSE
Does your animal have horns? FALSE
Does your animal have round ears? TRUE
Does your animal have whiskers? FALSE
Does your animal have white fur? FALSE
Guess the Animal #3
if hasWhiskers != True: flipCardOver()
if hasPointedEars == True: flipCardOver()
if hasWhiskers ==True AND furColor == “Yellow”: flipCardOver()
What does this question look like in a two-player Guess Who game?
Does your animal have whiskers? TRUE
Does your animal have pointed ears? FALSE
Does your animal have whiskers and yellow fur? FALSE
Guess the Animal #4
if hasWhiskers == True OR hasBeak == True: flipCardOver()
if hasPointedEars == True: flipCardOver()
if livesOnAFarm != True: flipCardOver()
if hasHair == True OR hasWool == True: flipCardOver()
if hasHorns != True: flipCardOver()
What does this question look like in a two-player Guess Who game?
Does your animal have whiskers? FALSE
Does your animal have a beak? FALSE
Does your animal have pointed ears? FALSE
Does your animal live on a farm? TRUE
Does your animal have hair or wool? FALSE
Does your animal have horns? TRUE
Check out more unplugged coding activities!
PIN THIS IMAGE TO SAVE THIS UNPLUGGED CODING ACTIVITY
Unplugged Coding Activities
Find more Elementary unplugged coding activities to work on basic coding skills!
Bitmap Coding Unplugged Coding Activity for Kids
Introduce algorithms with this hands-on unplugged coding activity for kids!
Teach Kids Binary Code with this 5-bit Binary Code Challenge
Teach kids binary code by exploring the binary number system, translate letters and numbers to binary code, convert binary code to text, decode a binary code message with the ASCII binary code alphabet, and grab a free binary code workbook for kids!
Fitness Coding Card Game: Unplugged Coding Activity
Are you ready to play the Fitness Code! This Fitness coding game teaches kids coding concepts, including conditionals and variables. This activity focuses on remaking the way we traditionally teach these concepts and uses large motor movements to reinforce the activity and make it a tangible, fun learning experience!
Earth Day Coding Recycling Sorting Activity
This Earth Day coding recycling sorting activity teaches children how conditional statements work while learning how to sort recyclables!
How to Code a Lion Directed Drawing Algorithm Art
Can you follow the algorithm and draw a lion in this directed drawing unplugged coding + art activity?
Pi Necklace Coding Unplugged Coding Activity
We love to pair math and technology to create fun art! This Pi Necklace coding activity is the perfect combination of math, binary, and hexadecimal coding for upper elementary and middle school students. It’s also an engaging Pi Day activity!
Layers of the Rainforest Unplugged Coding Activity
Explore the layers of the rainforest and code the correct animals to each layer using logical reasoning!
Rocket Ship Decomposition Unplugged Coding Activity
This rocket ship decomposition unplugged coding activity is designed to teach kids the concept of decompositions and algorithms!
Ahoy Algorithms Treasure Hunt Unplugged Coding Activity
Pair this pirate algorithm activity with the Magic Tree House! Use your coding skills to find the treasure in this treasure hunt unplugged coding activity!
Introduce Computer Programming with this Elementary Coding Activity
This elementary coding activity is a great introduction to the basics of computer programming and is ideal as a classroom coding resource or homeschool resource for kids in Kindergarten through 5th grade. Teach kids to code!
How to Code a Volcano
Learn about variables, sequences, algorithms, and loops and code a volcano!
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!