Computer Science
Kindergarten
20 min
Happy or Sad: Recognizing Emotions
Identifying different emotions and comparing them.
Tutorial Preview
1
Introduction & Learning Objectives
Learning Objectives
Identify a smile on a face.
Identify a frown on a face.
Use the word 'same' to describe two matching faces.
Use the word 'different' to describe two non-matching faces.
Compare two faces (😊, 😢) and state if they are the same or different.
Sort pictures of faces into 'happy' and 'sad' groups.
Look at these faces! 😊 😢 Can you tell which one is happy?
Today, we will be computer detectives! We will learn to find clues on faces. This helps us tell if they are the same or different.
Real-World Applications
Knowing if a friend is happy or sad.
Telling a grown-up how you feel.
Understanding stories in a book.
Telling a computer what to do in a game.
2
Key Concepts & Vocabulary
TermDefinitionExample
CompareTo look at two things. We see if they are the same or different.Let's compare an apple 🍎 and a banana 🍌. They are different.
SameWhen two things are just alike. They match!Two happy faces 😊 😊 are the same.
DifferentWhen two things are not alike. They do not match.A happy face 😊 and a sad face 😢 are different.
ClueA small hint that helps us find an answer. Like a detective!A smile is a clue that a face is happy.
PatternSomething we see over and over again.All happy faces have a smile pattern. 😊
3
Core Syntax & Patterns
The Smile Rule
If the mouth goes UP, then the face is HAPPY.
Look at the mouth. If it looks like a little hill, it's a smile.
The Frown Rule
If the mouth goes DOWN, then the face is SAD.
Look at the mouth. If it looks like a little valley, it's a frown.
The Compare Rule
Look at two faces. Are their mouths the same or different?
Use this rule to decide if two faces show the same feeling.
4 more steps in this tutorial
Sign up free to access the complete tutorial with worked examples and practice.
Sign Up Free to ContinueSample Practice Questions
Challenging
A happy feeling is like a bright, sunny day ☀️. What is a sad feeling like?
A.birthday party 🎉
B.warm hug 🤗
C.rainy, cloudy day 🌧️
D.fun playground 🤸
Challenging
Look at this pattern: 😊 😊 😢 😊 😊 😢. What is the rule for this pattern?
A.All faces are happy
B.All faces are sad
C.It is always one sad face, then one happy face
D.It is two happy faces, then one sad face
Challenging
Maria wanted to play her favorite game on the computer, but the screen was black. She frowned and her shoulders dropped. How did Maria feel at the END?
A.Happy because she could go outside
B.Sad or disappointed the computer wasn't working
C.Excited to fix the computer
D.Sleepy because the screen was dark
Want to practice and check your answers?
Sign up to access all questions with instant feedback, explanations, and progress tracking.
Start Practicing Free