Computer Science
Grade 3
20 min
Text Messages: Short and Sweet
Students learn about text messages and their use for quick communication.
Tutorial Preview
1
Introduction & Learning Objectives
Learning Objectives
Identify the three main parts of a digital message: sender, receiver, and data.
Explain that pressing 'Send' is an event that tells the computer to do something.
Describe how a message is broken into small pieces (packets) to be sent.
Use the 'WHEN... THEN...' pattern (conditionals) to describe what happens when a message is sent or received.
Recognize that text, pictures, and emojis are all types of data.
Construct a simple message plan by defining the sender, receiver, and message content.
Have you ever sent a secret message to a friend using a phone or tablet? 🤫 How does the message know exactly where to go?
Today, we'll become digital detectives and uncover the computer science secrets behind sending and receiving text messa...
2
Key Concepts & Vocabulary
TermDefinitionExample
SenderThe person or computer who is sending the message.If you are texting your mom, you are the Sender.
ReceiverThe person or computer who the message is for.If you are texting your mom, your mom is the Receiver.
Message DataThe information you are sending. It can be words, pictures, or emojis!The text 'See you soon! 👋' is the message data.
PacketA tiny digital envelope that holds a small piece of your message data to send it over the internet.A long message like 'Happy birthday to you!' might be split into three packets: [Happy birthd], [ay to yo], [u!].
EventAn action that a computer recognizes, like a click or a tap, that causes something to happen.Tapping the 'Send' button is an event that tells the phone to start sending your mess...
3
Core Syntax & Patterns
Message Structure
Message = [Sender's Address] + [Receiver's Address] + [Message Data]
Every message needs to know who it's from, where it's going, and what it says. Computers use this rule to build a message before sending it.
The 'Send' Event
WHEN (user taps 'Send' button) THEN (package and send the message)
This is a conditional rule for sending. The computer waits for the 'Send' event. When it happens, it follows the instruction to send the data.
The 'Receive' Event
WHEN (new message packet arrives) THEN (show a notification)
This is a conditional rule for receiving. The phone is always listening for new messages. When one arrives, it triggers an event to alert the user.
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
Computers store letters as numbers. For example, 'A' might be 65, 'B' might be 66. How does this system of data representation help a phone send the word 'CAB'?
A.The phone adds the numbers together to get one big number
B.The phone only sends the first number, 67, for 'C'
C.The phone sends a sequence of numbers (like 67, 65, 66) that the other phone decodes back into letters
D.The phone sends a picture of the word 'CAB' instead
Challenging
Imagine a messaging app has this rule: IF a received message contains a '?' symbol, THEN the phone plays a special 'question' sound. This is an example of what computer science concept?
A.conditional statement (If-Then)
B.computer virus
C.Deleting data
D.user's contact list
Challenging
A thumbs-up emoji 👍 looks slightly different on an Apple phone than on a Samsung phone, but everyone agrees it means 'yes' or 'good job'. Why is it critical that all phones agree on the *meaning* of the code for that emoji?
A.So that one company can charge the other company money
B.So the message isn't misunderstood (e.g., a thumbs-up isn't turned into an angry face)
C.So that the emoji can be printed on paper
D.So that the emoji always looks exactly the same everywhere
Want to practice and check your answers?
Sign up to access all questions with instant feedback, explanations, and progress tracking.
Start Practicing Free