AI and everyday tasks
Artificial intelligence (AI) is a field of computing concerned with systems that work toward objectives by interpreting inputs and producing useful outputs. These outputs can be estimates, recommendations, decisions or generated material. AI is not a single algorithm, and an application does not need a chatbot or a learning model to solve every problem. Start by asking what the system receives and what it should produce.
Four ways to solve a help-desk task
Imagine a small online bookstore. Customers send messages about orders. A support team wants to get each message to the right person and respond consistently. There are several different computational jobs here:
- Rules: Apply conditions written by a person, such as routing messages containing a particular word.
- Search: Explore available choices to find one that satisfies a goal, such as choosing a delivery route.
- Prediction: Estimate an unknown value or category, such as whether a parcel will arrive late.
- Generation: Produce material such as a draft reply from instructions and context.
These describe tasks and approaches, not four mutually exclusive kinds of AI. Search may be part of classical AI; prediction can also be done with a simple fixed formula. Generation can use templates or learned models. Ordinary fixed calculations are usually just conventional software.
Try a fixed rule before a model
The following optional Python walkthrough needs no package or account. Read it like a recipe: def names a reusable function; if checks a condition; lower() makes letters lowercase; return gives the result back to the caller. print displays the result. You do not need to write Python yet.
def route(ticket): if "refund" in ticket.lower(): return "returns" return "review"
print(route("Refund for order 8"))print(route("My parcel is late"))print(route("I do not need a refund"))Expected output, one line at a time:
returnsreviewreturnsThe first message contains the word refund. The second does not, so a person should review it. The third contains the same word but expresses the opposite intent. The code does not interpret negation; it only checks a substring. This deliberately simple baseline is not a trained model.
Describe behavior without assuming understanding
A ticket classifier can output a category even when its answer is wrong. It does not need to understand the customer as a human would. A generated apology can sound convincing without having access to the actual delivery status. Evaluate the result using known information, not the confidence of its wording. A system input is the information supplied to it, an output is the result, and an objective describes what it is meant to accomplish.
Practice: choose the task
For each case, name the input, desired output and simplest approach: calculate a total from a fixed price list; find the shortest path between known locations; estimate tomorrow’s parcel count; draft a personalized reply. A possible answer is rule/calculation, search, prediction and generation respectively. The price total needs no learned model when prices and quantities are known. Next, compare how symbolic systems and learned models produce those outputs.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
AI and everyday tasks — understanding check
Apply the lesson concepts to short original scenarios.
A store adds prices and quantities using fixed arithmetic. What is the simplest appropriate approach?
Which task is primarily prediction?
Why does the example route “I do not need a refund” to returns?
A program picks the cheapest valid route from known alternatives. Which task is it doing?
Which check best tests whether a generated delivery update is factually correct?