lesson

Updated 6 days ago Β· 3 views
Have you ever forgotten to water a houseplant until its leaves turned brown and droopy?
Everyday mix-ups like this happen all the time, but many of them are easy to fix once we turn them into clear, orderly steps.
What Makes a Tech Problem?
In computer science, a problem is any task or challenge that has clear rules and can be solved step by step.
Computers are great at following instructions, doing math, and checking simple facts, but they cannot feel emotions or make up your opinions for you.
πInteractive diagram
How do we take an everyday headache and turn it into a plan a computer can understand?
The Thirsty Plant Problem
Let's look at our thirsty plant. The main problem is: we do not know when the soil gets too dry.
To solve this, we can write an algorithm, which is just a list of step-by-step instructions to get a job done.
πInteractive diagram
Once our steps are simple enough, how do they look as real computer code?