What is programmed? means we give instructions to something so it knows what to do step by step.
Imagine you have a robot friend who loves to draw. If you want your robot to draw a cat, you can't just say “draw a cat”, you have to tell it exactly what to do: like pick up the pencil, move to the left, make a circle for the head, then two circles for the ears, and so on.
That’s programming! It's like writing a list of steps for your robot (or computer) to follow. You use special words and symbols, like +, -, or even print("Hello!"), to tell it what to do.
Why we program
Sometimes the robot doesn’t know what you want at first. So, we teach it by giving instructions in a language it understands. Just like how you might give your friend step-by-step directions to get from school to home, one instruction at a time, so they don’t get lost.
Programming is just that: helping computers (or robots) do what we want, step by step, with clear directions.
Examples
- A robot follows a set of instructions to move from point A to point B.
- A microwave knows when to stop heating based on programmed time.
Ask a question
See also
- How Does Your Programming Language Can't Understand You... Work?
- What are assertions?
- What are predefined rules?
- What are write and understand computer programs?
- What are transformation rules?