AAmit’s LibraryLEARN · PRACTISE · REFLECT

BCA

AI fundamentals: representations, search and judgement

Study map: Original foundation and applied lesson; editorially linked to the named subject

Artificial intelligence is a broad field concerned with computational approaches to tasks such as reasoning, search, learning and language processing. A useful introduction begins with a bounded task rather than assuming every automated rule is an intelligent solution. An order-review service may use a fixed rule, a learned classifier or a language assistant. These approaches require different evidence and have different failure modes.

Foundation: identify the task and the representation

Artificial intelligence is a broad field concerned with computational approaches to tasks such as reasoning, search, learning and language processing. A useful introduction begins with a bounded task rather than assuming every automated rule is an intelligent solution. An order-review service may use a fixed rule, a learned classifier or a language assistant. These approaches require different evidence and have different failure modes.

A representation describes the aspects of the situation the system can use. An order might include quantity, lead time and approval status. Leaving out an important constraint can make the system's answer unusable even if its calculation is internally correct. Including a field that becomes known only after the decision can create misleading evaluation. Human understanding of the workflow is needed to define a meaningful representation.

Separate a prediction from an action. A model score suggesting review does not authorise rejection or payment. A language response describing a policy is not evidence that the policy was applied. The business process needs authority, a correction route and a way to verify outcomes. Computers can aid attention and consistency while people remain responsible for objectives and consequences.

Undergraduate: compare rules, search and learning

A rule specifies a condition and response directly. Search explores possible states or actions under an objective and constraints. Learning adjusts a procedure using data. For a small scheduling task, a clear rule may be sufficient; a larger optimisation task may require search; a prediction task may use learning if suitable evidence exists. Complexity is not a reason to call a solution superior.

Define success in task terms. A route-planning result needs valid stops and feasible timing; a classifier needs relevant labels and evaluation; a language assistant needs factual checking and a clear scope. An impressive demonstration on selected examples does not establish reliability. Compare a simple alternative and include difficult and ambiguous cases.

In the connected lab, eight synthetic review scores let the learner study classification decisions without training a model. This is useful for understanding errors and capacity, but it is not a complete machine-learning project. There is no claim that the scores were produced by an algorithm, represent probabilities or describe actual customer risk.

Postgraduate: fit assistance to organisational judgement

Apply a task–representation–baseline–evaluation–oversight framework. State the task, define information available at the decision, compare a simple procedure, evaluate and assign human oversight. If a system reduces review work, examine what it misses and who experiences the resulting harm. If it increases review, examine staff capacity and delay. Neither automation rate nor model accuracy alone defines business value.

For language assistance, distinguish drafting, retrieval and authoritative action. A draft reply can help a support employee, but it may invent details or omit a qualification. A retrieval link can identify evidence without proving the answer correctly interprets it. A tool that changes an order requires permission and verification beyond fluent text. Preserve a reviewable record of the proposed action and its basis.

Consult the affected departments. Sales can identify customer expectations, operations can identify capacity constraints and IT can explain technical limitations. HR and management should consider workload, learning and accountability. Introducing AI without training or an exception route can transfer invisible work to employees. A responsible pilot includes a stop condition and a way to report failures.

Research: make the contribution explicit

A study can investigate whether assisted review improves correct decisions and reduces effort under a defined task. Compare equivalent cases and disclose information available to each method. Separate time saved in drafting from time spent checking and correcting. A system that produces more material can increase workload if its output requires extensive verification.

Evaluate transfer carefully. A successful local task does not establish performance across languages, departments or changing customer contexts. Examine data and label provenance, limitations and alternative explanations. A research contribution might clarify a mechanism or failure boundary, rather than simply implement a fashionable model.

Submit a task statement, representation table, baseline, error analysis and oversight plan. Identify who decides, whose evidence is used, what the assistance can and cannot establish, where authority remains and how learning feeds into improvement. This foundation connects AI with business work; deeper ML, deep learning, NLP, training and deployment remain further subjects, not completed by this one exercise.

Study questions and answers

How do a fixed rule and a learned procedure differ?

A rule directly specifies a condition and response; learning adjusts a procedure using evidence. Both need a justified task and evaluation; complexity is not automatic value. Indicative marking: Correct concept/result 3; explanation 3; case application 2; explicit limitation 2.

Why exclude a post-delivery correction field from a pre-approval predictor?

It is unavailable at decision time and can leak future information, producing misleading evaluation rather than useful early prediction. Indicative marking: Correct concept/result 3; explanation 3; case application 2; explicit limitation 2.

Does fluent language output authorise a business action?

No. Drafting or retrieval differs from authority to act. Check evidence and obtain appropriate trusted permission and verification for state changes. Indicative marking: Correct concept/result 3; explanation 3; case application 2; explicit limitation 2.

Evaluate an assisted review pilot.

Compare correct decisions and total effort, including checking and correction, on equivalent tasks. State representation, baseline, failure route, oversight and transfer limitations. Indicative marking: Correct concept/result 3; explanation 3; case application 2; explicit limitation 2.

Extended practice questions

How do a fixed rule and a learned procedure differ?

A rule directly specifies a condition and response; learning adjusts a procedure using evidence. Both need a justified task and evaluation; complexity is not automatic value.

Marking guide: Correct concept/result 3; explanation 3; case application 2; explicit limitation 2.

Marks: 10

Why exclude a post-delivery correction field from a pre-approval predictor?

It is unavailable at decision time and can leak future information, producing misleading evaluation rather than useful early prediction.

Marking guide: Correct concept/result 3; explanation 3; case application 2; explicit limitation 2.

Marks: 10

Does fluent language output authorise a business action?

No. Drafting or retrieval differs from authority to act. Check evidence and obtain appropriate trusted permission and verification for state changes.

Marking guide: Correct concept/result 3; explanation 3; case application 2; explicit limitation 2.

Marks: 10

Evaluate an assisted review pilot.

Compare correct decisions and total effort, including checking and correction, on equivalent tasks. State representation, baseline, failure route, oversight and transfer limitations.

Marking guide: Correct concept/result 3; explanation 3; case application 2; explicit limitation 2.

Marks: 10

A proposed AI tool routes every uncertain service request automatically. What should the task representation and decision boundary include?

Define the request categories, available evidence, allowed actions and the consequences of a wrong route. Include an uncertain or unsupported case that can go to human review rather than forcing every input into a confident label. Separate the computational task from the business authority to act. Test synthetic requests with missing information and conflicting cues. The manager approves the routing policy, and technical staff explain what the procedure represents and omits. Calling a tool AI does not establish understanding, fairness or suitable performance for this particular service workflow.

Marking guide: Representation/actions/error consequences; uncertainty route; policy authority; difficult fixtures; label limits. Indicative allocation: reasoning 4; application or workings 3; assumptions and limits 3.

Marks: 10

Compare a fixed rule-based procedure with a learned classifier.

A fixed rule-based procedure applies explicitly specified conditions, such as sending a missing account reference for clarification. A learned classifier estimates a pattern from training examples and may generalise imperfectly to new requests. Both require validation against the business task and suitable exception handling. Rules can be brittle or incomplete; learned patterns can reflect unrepresentative data or changing conditions. Explain which mechanism is used rather than presenting any automation as learning. Technical staff verify behaviour, while business owners decide acceptable errors and actions. Neither approach removes the need for monitoring and human judgement.

Marking guide: Explicit conditions versus learned pattern; both limitations; mechanism transparency; errors/actions/monitoring. Indicative allocation: reasoning 4; application or workings 3; assumptions and limits 3.

Marks: 10

A synthetic route graph has three complete paths with costs 12, 4+5 and 6+6. Calculate the cheapest path and its percentage saving against the first.

The complete path costs are 12, 9 and 12. The second path is cheapest among these three at nine, saving three cost units against the first. Relative saving is 3/12 = 25%. This is a bounded enumeration, not proof of an optimum over paths that were not listed. Costs must represent the same quantity and feasible routes. If time, risk or customer preference matters separately, the lowest numerical cost may not be the appropriate business choice. The example shows how a representation and objective determine what a search result actually means.

Marking guide: 12/9/12; second path; three units/25%; enumerated scope and objective. Indicative allocation: reasoning 4; application or workings 3; assumptions and limits 3.

Marks: 10

Design a beginner AI evaluation exercise without claiming that a successful demonstration proves intelligence.

Choose a narrow task, define a simple baseline and create synthetic ordinary, ambiguous and unsupported inputs. Record the procedure's output and the permitted human action separately. Compare errors with the baseline and investigate where the input representation lacks important information. Include a safe abstention or review route where appropriate. Explain whether the method uses rules, search or learned examples. Managers assess task usefulness, while learners report measured behaviour and limitations. A small demonstration supports learning about a mechanism; it does not establish general intelligence or reliable performance across unseen business contexts.

Marking guide: Narrow task/baseline; varied inputs; output versus action; uncertainty; mechanism and scope. Indicative allocation: reasoning 4; application or workings 3; assumptions and limits 3.

Marks: 10

Revision cards

What distinguishes a learned prediction from an explicit business rule?

A learned prediction estimates an outcome from data; an explicit rule states a condition and response. Neither automatically establishes organisational authority. Define how an authorised person or process uses the prediction or rule and handles exceptions.

A proposed AI tool routes every uncertain service request automatically. What should the task representation and decision boundary include?

Define evidence, categories, actions and error costs, with a human route for uncertainty. The AI label does not justify automatic business authority.

Compare a fixed rule-based procedure with a learned classifier.

Rules apply specified conditions; classifiers learn patterns from examples. Both need task-specific validation, exception handling and accountable business use.

A synthetic route graph has three complete paths with costs 12, 4+5 and 6+6. Calculate the cheapest path and its percentage saving against the first.

Listed path costs are 12, 9 and 12. The second saves 25% against the first; the conclusion covers only the listed feasible paths.

Design a beginner AI evaluation exercise without claiming that a successful demonstration proves intelligence.

Use a narrow task, baseline and difficult inputs; distinguish output from authorised action. A bounded demonstration is evidence about a mechanism, not general intelligence.

Why compare training performance with appropriate unseen evidence?

A model can fit familiar examples without generalising. Evaluate using a partition that reflects intended use and avoids leakage. High training performance alone does not establish dependable real-world assistance.

What should an AI failure analysis retain?

Keep the input context, tested version, output, expected behaviour and relevant review decision using proportionate data access. Preserve uncertainty and correction reasons rather than relabelling every difficult case as outside scope.

How does a search problem depend on its representation?

States, actions, goal conditions and costs determine what the procedure can explore and prefer. Poor representation can omit feasible solutions or encode an unsuitable objective. A search result is conditional on this model of the problem.

Why distinguish a heuristic from guaranteed knowledge?

A heuristic guides search or judgement using a useful estimate or rule. Its accuracy and guarantees depend on conditions. A convenient shortcut should not be presented as a proven conclusion for every problem instance.

What makes human review meaningful in an AI workflow?

A reviewer needs relevant evidence, time, competence and authority to challenge or change the outcome. A nominal approval button is insufficient. Define the role and consequences rather than treating human presence as automatic protection.

Practice task

Complete quality-workshop.html: form contract, accessibility walkthrough, permission table, cloud responsibility table, confusion counts and oversight memo.

Sources and further reading

Open interactive reading and progress tools