S0-SA3-0712
What is a Do (Logic Primitive)?
Grade Level:
Pre-School – Class 2
All domains without exception
Definition
What is it?
A 'Do' in logic or programming means to perform an action or carry out a specific instruction. It's like telling a computer or a person exactly what task to complete. Think of it as the command to make something happen.
Simple Example
Quick Example
Imagine your mother tells you, 'Go buy milk from the kirana store.' Here, 'Go buy milk' is a 'Do' instruction. It's a clear action she wants you to perform.
Worked Example
Step-by-Step
Let's say you want to make a cup of chai. Here are the 'Do' steps:
1. Do: Boil water in a saucepan.
---
2. Do: Add tea leaves and sugar to the boiling water.
---
3. Do: Pour milk into the mixture.
---
4. Do: Let it simmer for 2-3 minutes.
---
5. Do: Strain the chai into a cup.
---
Answer: You have successfully made a cup of chai by following these 'Do' actions.
Why It Matters
Understanding 'Do' is crucial for giving clear instructions, whether to people or computers. It's fundamental in coding, robotics, and even designing apps like the ones you use every day. Engineers, software developers, and even game designers use 'Do' commands constantly.
Common Mistakes
MISTAKE: Confusing 'Do' with a question or a description. Students might say 'Is the light on?' | CORRECTION: 'Do' means an action. Instead, say 'Do: Turn on the light.'
MISTAKE: Giving vague 'Do' instructions. For example, 'Do: Fix the computer.' | CORRECTION: 'Do' instructions need to be specific. Instead, say 'Do: Restart the computer to fix the error.'
MISTAKE: Assuming the 'Do' action will happen automatically without a clear command. | CORRECTION: A 'Do' command must be explicitly given for the action to be performed. For example, the alarm clock won't ring unless you 'Do: Set the alarm'.
Practice Questions
Try It Yourself
QUESTION: Your teacher asks you to 'Do' something with your homework. What is the most likely instruction? | ANSWER: Do: Complete your homework OR Do: Submit your homework.
QUESTION: If you want your phone to play a song, what 'Do' instruction would you give it? (Think about the steps) | ANSWER: Do: Open the music app. Do: Select a song. Do: Press the play button.
QUESTION: Imagine you are writing instructions for a robot to clean your room. List three 'Do' commands the robot would need. | ANSWER: Do: Pick up toys from the floor. Do: Wipe the study table. Do: Empty the dustbin.
MCQ
Quick Quiz
Which of these is an example of a 'Do' instruction?
What is your name?
The sky is blue.
Mix the ingredients.
Are you hungry?
The Correct Answer Is:
C
Option C, 'Mix the ingredients,' is a clear action or command, which is what a 'Do' instruction represents. The other options are questions or descriptions, not actions.
Real World Connection
In the Real World
When you use a food delivery app like Zomato or Swiggy, every step from 'Do: Select your restaurant' to 'Do: Place order' involves 'Do' commands. Similarly, self-driving cars rely on thousands of 'Do' instructions like 'Do: Turn left' or 'Do: Brake gently' to navigate safely.
Key Vocabulary
Key Terms
ACTION: A specific task or activity performed | COMMAND: An instruction given to perform an action | INSTRUCTION: A detailed plan or order on how to do something | PRIMITIVE: A basic or fundamental unit that cannot be broken down further
What's Next
What to Learn Next
Now that you understand 'Do,' you can explore 'If-Then' statements. These build on 'Do' by adding conditions, like 'If' it rains, 'Then' 'Do' carry an umbrella. It's the next step in making smarter instructions!


