AAI101 · Introduction to AI and Prompt Engineering · Unit 1
Introduction to Artificial Intelligence
Unit Scope & Exam Weightage: This unit builds the base vocabulary for the entire paper: what AI means, how it differs from machine learning and deep learning, the three learning strategies, and where a student already meets AI every day. The two 2026-27 model papers carry 8 clusters worth 32 marks from Unit 1 (2m, 5m and 7m questions). The repeated pattern is a short definition, a 5-mark "apply/comparison" task on Data or Data Visualization, and a 7-mark explanation of AI today or Machine Learning Concepts. No mathematics is required; examiners reward correct terminology, a concrete example and a clearly stated outcome.
Front Page: Importance-Wise Topic Roadmap (2026-27 Model Papers)
| Priority | Topic (Exact Syllabus) | PYQs Asked | Marks Weightage | Tag |
|---|---|---|---|---|
| 1 | AI today — where it already exists in daily life (Google Maps, Spotify, Netflix, Google Photos, voice assistants) | 1 (2026-27 MP-S1) |
7m × 1 | High-Yield 7m |
| 2 | Machine Learning Concepts | 1 (2026-27 MP-S2) |
7m × 1 | High-Yield 7m |
| 3 | Data | 1 (2026-27 MP-S1) |
5m × 1 | Application |
| 4 | Data Visualization | 1 (2026-27 MP-S2) |
5m × 1 | Comparison |
| 5 | Definition and scope of AI | 2 (MP-S1, MP-S2) |
2m × 2 | Repeated Short |
| 6 | brief history — from Alan Turing to ChatGPT | 1 (2026-27 MP-S2) |
2m × 1 | Short |
| 7 | Introduction to Artificial Intelligence | 1 (2026-27 MP-S1) |
2m × 1 | Short |
| 8 | AI vs Machine Learning vs Deep Learning — what is the difference, Learning StrategiesSupervised, Unsupervised, Reinforcement Learning | 0 direct | — | Core Concept / Predicted |
| 9 | Types of AI — Narrow AI, General AI, Super AI (concept), How machines learn — data, patterns, and predictions (concept, no maths) | 0 direct | — | Core Concept / Predicted |
| 10 | Branch connect: CE — AI in structural health monitoring, ME — AI in predictive maintenance, EE — smart grid, CSE — AI in compilers, BT — drug discovery, AG — crop yield prediction | Integrated in #1 | — | Branch Link |
2-Hour Last-Night Survival Checklist:
- Nail the three-circle distinction: AI is the goal (machines doing tasks needing human intelligence), ML is a route to it (learning from data), deep learning is a subset of ML using stacked neural layers. Practise the Venn diagram once; it answers both the 2m definition and the 7m "Machine Learning Concepts" prompt.
- Memorise the three learning strategies with one branch example each: supervised (labelled crack/no-crack images in CE), unsupervised (grouping similar vibration signatures in ME), reinforcement (an agent learning to balance grid load in EE). Never write only the names.
- Prepare a 5-row daily-life AI table: Google Maps → traffic data → predicted fastest route; Spotify/Netflix → listening history → recommendation; Google Photos → image features → face grouping; voice assistant → speech audio → intent; Gmail spam filter → mail text → spam label. This is the exact 7m "AI today" answer.
- For the 5m Data task: write the pipeline in order — collect examples, clean missing/wrong values, visualise, train on labelled data, test on unseen data, report a prediction. State the input, the pattern learned and the output explicitly; that is what "state the rule, show the working, and report the result" asks for.
- For the Data Visualization comparison: contrast a chart (line/bar/scatter shows trend, outlier and relationship to a human reader) with a raw table (exact values but slow to interpret), then close with one short case such as plotting daily step counts to spot a sudden drop.
1. Introduction to Artificial Intelligence: Definition and Scope
Definition (2 Marks): Artificial Intelligence (AI) is the branch of computer science that designs systems capable of performing tasks normally requiring human intelligence — perceiving information, reasoning, learning from experience, solving problems and adapting to new situations. The machine is given data and a goal; it produces a prediction, recommendation or decision rather than following only a hand-written fixed rule.
1.1 What the Definition Contains
| Word in the definition | Meaning an examiner expects | Example from engineering |
|---|---|---|
| Perceive | Convert the real world into data | Camera image of a bridge crack |
| Learn | Improve performance using examples | Model refined from 500 labelled crack photos |
| Reason | Combine evidence to choose an action | "Crack width increasing → schedule inspection" |
| Adapt | Change behaviour when data changes | Traffic route recalculated after an accident |
| Goal | The task the system is optimising for | Minimise travel time, maximise crop yield |
1.2 Scope of AI
- Problem solving and search: route planning, scheduling of machines in a workshop.
- Perception: speech recognition, image recognition, medical scan reading.
- Prediction: load forecasting in a smart grid, failure prediction in a pump.
- Generation: text, image, code and audio creation (developed in Unit 3).
- Interaction: chatbots, voice assistants, natural-language interfaces.
- Automation of decisions: spam filtering, credit scoring, defect sorting on a conveyor.
Examiner Tip: A 2-mark answer must contain the phrase "tasks that require human intelligence" and one example. A 7-mark answer adds the data → pattern → decision chain and at least two branches of scope. Do not begin with "AI is ChatGPT"; ChatGPT is only one application.
2. Brief History — from Alan Turing to ChatGPT
%%{init: {'theme': 'base', 'look': 'handDrawn', 'themeVariables': {'fontFamily': "'Nunito', sans-serif", 'fontSize': '16px', 'primaryColor': '#EFEAD6', 'primaryBorderColor': '#0F766E', 'lineColor': '#23211C'}}}%%
flowchart LR
T["1950<br/>Alan Turing:<br/>'Can machines think?'<br/>Imitation Game"] --> D["1956<br/>Dartmouth Workshop<br/>term 'Artificial Intelligence' coined"]
D --> E["1960s-70s<br/>Expert systems, early robotics<br/>AI winters follow"]
E --> M["1980s-2000s<br/>Machine learning,<br/>statistics + data"]
M --> N["2012<br/>Deep learning breakthrough<br/>AlexNet / GPUs"]
N --> G["2017<br/>Transformer architecture<br/>'Attention is All You Need'"]
G --> C["2022 onwards<br/>ChatGPT, Gemini, Claude<br/>Generative AI for everyone"]
| Milestone | Why it matters in an exam answer |
|---|---|
| Alan Turing (1950) | Proposed the imitation game as a test of machine intelligence; the starting point of the subject. |
| Dartmouth (1956) | The term "Artificial Intelligence" was formally introduced; AI became a research field. |
| Expertsystems / AI winter | Early rule-based systems failed when knowledge was incomplete; funding fell — a reminder that data and computing power matter. |
| Deep learning + GPUs (2012) | Large datasets and parallel hardware made neural networks practical. |
| Transformers (2017) | Made modern large language models possible. |
| ChatGPT (2022) | Brought generative AI into daily teaching, work and assessment debates. |
After-Topic PYQ (
2026-27 Model Paper Set 2, 2 Marks): "List the two scored features of brief history — from Alan Turing to ChatGPT expected in Introduction to Artificial Intelligence."
Answer: (1) Turing's 1950 imitation game posed the question "Can machines think?"; (2) the field was named at Dartmouth in 1956 and evolved through expert systems and machine learning to transformer-based ChatGPT. Two dated milestones with names = full marks.
3. Types of AI — Narrow, General and Super AI
Types of AI (2 Marks): AI is classified by capability. Narrow AI (ANI) performs one defined task well; General AI (AGI) would understand and learn any intellectual task as a human does; Super AI (ASI) is a hypothetical intellect far exceeding human ability.
| Type | Full form | Status | Example | Key limitation |
|---|---|---|---|---|
| Narrow AI | Artificial Narrow Intelligence | Exists today | Face recognition, Google Maps ETA, ChatGPT | Cannot transfer skill to an unrelated task reliably |
| General AI | Artificial General Intelligence | Not achieved | A machine that could learn civil engineering and music from scratch | Needs flexible reasoning and transfer, not just pattern matching |
| Super AI | Artificial Super Intelligence | Concept only | Hypothetical system surpassing all human intellect | Raises safety, control and ethical questions |
Examiner Tip: Never present Super AI as a current product. Write "concept/hypothetical" and keep the distinction based on scope of capability, not speed of computation. A fast calculator is still narrow AI.
4. AI vs Machine Learning vs Deep Learning
%%{init: {'theme': 'base', 'look': 'handDrawn', 'themeVariables': {'fontFamily': "'Nunito', sans-serif", 'fontSize': '16px', 'primaryColor': '#EFEAD6', 'primaryBorderColor': '#0F766E', 'lineColor': '#23211C'}}}%%
flowchart TD
A["ARTIFICIAL INTELLIGENCE<br/>Any technique that mimics human intelligence"] --> B["MACHINE LEARNING<br/>Systems that learn patterns from data"]
B --> C["DEEP LEARNING<br/>Multiple neural layers learn representations"]
C --> D["CNN → images | RNN/Transformer → text | LLMs → generation"]
| Feature | Artificial Intelligence | Machine Learning | Deep Learning |
|---|---|---|---|
| Nature | Broad goal / umbrella field | Subset of AI | Subset of ML |
| How it works | Rules, search, logic or learning | Learns mapping from labelled/unlabelled data | Learns layered features through neural networks |
| Need for data | May work with hand-coded rules | Needs examples | Needs large examples and often GPUs |
| Human feature design | Often manual | Often manual | Automatically learned inside layers |
| Example | Chess-playing program, expert system | Spam filter, KNN defect classifier | Face recognition, ChatGPT, AlphaFold |
One-line answer: AI is the destination, ML is one road to it, and deep learning is a modern multi-layer vehicle on that road.
After-Topic PYQ (
2026-27 Model Paper Set 2, 7 Marks): "Derive or outline Machine Learning Concepts step by step, include a suitable comparison, and state the examiner result for Introduction to Artificial Intelligence."
Worked answer: See Section 5 for the step-by-step learning pipeline and Section 4 table for the comparison. Result: machine learning lets a machine improve a task using data instead of explicit programming, and it sits inside AI; deep learning is its neural-network branch.
5. How Machines Learn — Data, Patterns and Predictions (No Maths)
Learning (2 Marks): A machine "learns" when its internal parameters change after seeing examples, so that its answer on a new, unseen example improves. It does not understand the way a person does; it detects statistical patterns in the data it was given.
5.1 The Five-Step Learning Pipeline
%%{init: {'theme': 'base', 'look': 'handDrawn', 'themeVariables': {'fontFamily': "'Nunito', sans-serif", 'fontSize': '16px', 'primaryColor': '#EFEAD6', 'primaryBorderColor': '#0F766E', 'lineColor': '#23211C'}}}%%
flowchart LR
A["1. Data<br/>examples + labels"] --> B["2. Pre-process<br/>clean, scale, split"]
B --> C["3. Model<br/>choose KNN / tree / network"]
C --> D["4. Train<br/>adjust weights to fit patterns"]
D --> E["5. Predict<br/>new input → output + check"]
- Data: rows of examples; each row has input features (e.g., vibration amplitude, temperature) and, for supervised learning, a label ("healthy"/"faulty").
- Patterns: repeated relationships, such as "amplitude above 4 mm/s together with rising temperature occurred in 90% of faulty bearings".
- Predictions: the model applies the learned relationship to a new row and outputs a class or number.
- Verification: performance is measured on data the model did not train on; otherwise a model may merely memorise (overfit).
5.2 Learning StrategiesSupervised, Unsupervised, Reinforcement Learning
| Strategy | Input data | Learning signal | Engineering example | Typical output |
|---|---|---|---|---|
| Learning StrategiesSupervised | Labelled input-output pairs | Error between prediction and known label | 300 images marked "crack"/"no crack" | Classification or regression |
| Unsupervised | Unlabelled data | Similarity/distance structure | Cluster 1000 motor vibration spectra into groups | Clusters, anomalies |
| Reinforcement Learning | An agent in an environment | Reward/penalty after actions | Robot arm learns grip force; grid agent learns load scheduling | Policy (best action per state) |
Concept-only rule (no heavy maths): Supervised learning = example + answer → learn mapping. Unsupervised learning = example only → find structure. Reinforcement learning = state → action → reward → improved policy.
Examiner Tip: When asked "How machines learn", write the five pipeline steps and then give one branch-linked example for each learning strategy. Mentioning that the test data must be unseen earns an extra point in 5m/7m answers.
6. AI Today — Daily Life and Branch Connections
AI today (7 Marks): AI is already embedded in ordinary tools: it ranks routes, recommends media, groups photographs, understands speech and filters messages. Each tool follows the same rule — collect data, learn a pattern, produce a useful prediction or decision.
6.1 Daily-Life Examples (Exam-Ready Table)
| Tool | Data it uses | Pattern learned | Result the user sees |
|---|---|---|---|
| Google Maps | Live vehicle speeds, road closures, historical travel times | Which route stays fastest at this hour | Estimated time of arrival and alternate route |
| Spotify | Skips, likes, listening time, similar users | Music preference profile | "Discover Weekly" playlist |
| Netflix | Watch history, genre, completion rate | Viewing taste cluster | Title recommendations and thumbnail choice |
| Google Photos | Pixel patterns and face embeddings | "This face appears in many photos" | Automatic face grouping and search by person |
| Voice assistant | Speech waveform → text → intent | Command patterns ("set alarm", "lights off") | Spoken answer or device action |
6.2 Branch Connect — Why Every Engineering Student Is Included
| Branch (exact syllabus wording) | AI application | Data → prediction/generation |
|---|---|---|
| CE — AI in structural health monitoring | Crack detection on bridges | Images + sensor strain → damage location and severity |
| ME — AI in predictive maintenance | Bearing fault warning | Vibration spectra → remaining useful life |
| EE — smart grid | Demand forecasting | Load history + weather → expected demand and dispatch plan |
| CSE — AI in compilers | Code optimisation | Program traces → faster instruction scheduling |
| BT — drug discovery | Molecule screening | Molecular structures → binding affinity |
| AG — crop yield prediction | Field images + weather → expected yield | Soil and drone data → harvest forecast |
After-Topic PYQ (
2026-27 Model Paper Set 1, 7 Marks): "Explain AI today — where it already exists in daily life (Google Maps, Spotify, Netflix, Google Photos, voice assistants) with its definition, mechanism, and one worked application from Introduction to Artificial Intelligence."
Worked answer: AI in daily life means software that learns from user and sensor data to decide what to show or do (definition). Mechanism: data collection → feature extraction → trained model → prediction → feedback updates the model. Worked application — Google Maps: (1) phones report speed and location; (2) the system compares current speed with historical speed for each road segment; (3) it learns that the ring road is slow at 09:00 on Monday; (4) for a request at 08:55 it predicts a 12-minute delay and suggests a side street; (5) after drivers take the suggestion, new speed data updates the pattern. The output is a predicted ETA, not a fixed timetable.
7. Data, Data Visualization and Data Pre-processing
Data (2 Marks): A collection of facts — numbers, text, images or signals — recorded as rows (examples) and columns (features). Without data, a machine-learning model has nothing from which to learn a pattern.
7.1 Data Visualization
| Chart | Best used for | Engineering example |
|---|---|---|
| Line chart | Change over time | Temperature of a motor over 24 hours |
| Bar chart | Compare categories | Number of defects per shift |
| Scatter plot | Relationship between two features | Vibration amplitude vs bearing temperature |
| Histogram | Distribution of one feature | Spread of measured crack widths |
| Box plot | Outliers and quartiles | Daily load consumption in a grid |
Why visualise before training? A scatter plot reveals a wrong sensor reading (an isolated point), a missing group and a possible relationship; acting on that insight prevents the model from learning noise.
7.2 Data Pre-processing Class Activity: Students list 5 AI tools they use every day and discuss how each one 'learns'
| Student's tool | What data enters it | What is labelled or measured | What it learns |
|---|---|---|---|
| Face unlock | Face image | Approved/unapproved attempts | Face embedding pattern |
| Music app | Skips and likes | Implicit label "liked" | Preference cluster |
| Photo app | Image pixels | Existing face groups | Visual similarity |
| Keyboard autocorrect | Typed words and corrections | Correct/incorrect suggestion | Next-word pattern |
| Navigation app | Location traces | Actual travel time | Route-speed pattern |
Pre-processing steps: remove duplicate rows, fill or drop missing values, correct unit errors, scale features to a common range, and split into training and test sets. Skipping this step is the classic reason a model performs well in class and fails on new data.
Examiner Tip: For a 5-mark "Apply Data" question, never just define data. Show a 4-row mini-table, name one cleaning action, name the pattern learned and state the final prediction in a sentence. That is the "rule → working → result" structure the question wording demands.
Solved Exam-Ready Questions (Verbatim Model-Paper Wording)
Solved Q1 (2026-27 Model Paper (Set 1), 2 Marks)
Q: "Define Introduction to Artificial Intelligence and state its role in Introduction to Artificial Intelligence."
Solution:
- Definition: Introduction to AI is the study and design of systems that carry out tasks requiring human intelligence — learning, reasoning, perception and decision-making.
- Role: It provides the vocabulary and framework for the rest of the paper: every later tool (KNN, a neural network, an LLM or a prompt) is an implementation of one of those intelligent tasks.
- Example: A spam filter reads message text (perception), learns a pattern from labelled messages (learning) and decides "spam/not spam" (decision).
Solved Q2 (2026-27 Model Paper (Set 1), 2 Marks)
Q: "Define Definition and scope of AI and state its role in Introduction to Artificial Intelligence."
Solution:
- Definition: AI is the field of making machines perform intellectually demanding human tasks; its scope covers problem solving, perception, prediction, generation, interaction and automated decisions (Section 1.2).
- Role: The definition sets the boundary of the subject — rule-based expert systems, machine learning and deep learning all lie inside AI, while ordinary programming without adaptation lies outside it.
- Example: A bridge-monitoring system that classifies strain readings as safe/unsafe is AI; a program that prints a fixed threshold table is not.
Solved Q3 (2026-27 Model Paper (Set 1), 7 Marks)
Q: "Explain AI today — where it already exists in daily life (Google Maps, Spotify, Netflix, Google Photos, voice assistants) with its definition, mechanism, and one worked application from Introduction to Artificial Intelligence."
Solution:
- Definition (1m): AI in daily life is software that uses recorded data to learn a pattern and then produce a prediction, recommendation or action without an explicit rule for every situation.
- Mechanism (3m): data collection → cleaning and feature extraction → model trained on examples → prediction for a new input → user feedback returns as new data. See the five-step pipeline in Section 5.1.
- Worked application (2m): Google Maps. Phone location reports give current speeds; historical traces give typical speeds by hour; the learned pattern is "segment X is slow at 09:00"; the prediction is a 12-minute delay plus an alternate route; new driver choices update the estimate.
- Result (1m): The same mechanism explains Spotify/Netflix recommendations (preference pattern), Google Photos grouping (face similarity) and voice assistants (speech → intent).
Solved Q4 (2026-27 Model Paper (Set 1), 5 Marks)
Q: "Apply Data to an examination problem from Introduction to Artificial Intelligence: state the rule, show the working, and report the result."
Solution:
- Rule: A supervised model learns a mapping
features → labelfrom labelled examples, then applies it to an unlabelled example. Data must be cleaned and split before training. - Working (mini case: predict whether a motor needs service): Training rows =
[vibration 2.1 mm/s, temp 45°C → healthy],[2.4, 47 → healthy],[5.6, 72 → faulty],[6.1, 75 → faulty]. Observed pattern: vibration above about 4 mm/s together with temperature above 65°C occurs only in the faulty class. New row =[5.8 mm/s, 73°C]. - Result: The learned rule places the new row in the faulty class → schedule service. Had the temperature column contained a blank entry, pre-processing would fill or drop it before training; otherwise the pattern would be unreliable.
Solved Q5 (2026-27 Model Paper (Set 2), 2 Marks)
Q: "List the two scored features of Definition and scope of AI expected in Introduction to Artificial Intelligence."
Solution:
- Human-like capability: AI systems perform tasks that otherwise need human intelligence (reasoning, perception, learning, decision-making).
- Data-driven scope: The field includes problem solving, perception, prediction, generation, interaction and decision automation, implemented through rule-based, machine-learning or deep-learning methods.
Solved Q6 (2026-27 Model Paper (Set 2), 2 Marks)
Q: "List the two scored features of brief history — from Alan Turing to ChatGPT expected in Introduction to Artificial Intelligence."
Solution:
- 1950 — Alan Turing: the imitation game framed the question "Can machines think?".
- 1956 → 2022 — Dartmouth to ChatGPT: the field was named at Dartmouth, passed through expert systems, machine learning and deep learning with GPUs, and reached transformer-based conversational models such as ChatGPT.
Solved Q7 (2026-27 Model Paper (Set 2), 7 Marks)
Q: "Derive or outline Machine Learning Concepts step by step, include a suitable comparison, and state the examiner result for Introduction to Artificial Intelligence."
Solution:
- Step 1 — Collect data: examples with features and (usually) labels, e.g. 300 bridge images marked crack/no-crack.
- Step 2 — Pre-process: remove duplicates, normalise pixel values, split 80% training / 20% test.
- Step 3 — Choose a model: KNN for small labelled sets, a tree for interpretable rules, a neural network for images.
- Step 4 — Train: the model adjusts its internal parameters until prediction error on training data is low.
- Step 5 — Validate and predict: check accuracy on unseen test data, then classify a new photograph.
- Comparison: supervised uses labelled data, unsupervised finds structure in unlabelled data, reinforcement learns from reward; ML is a subset of AI, and deep learning is a subset of ML (Section 4 diagram).
- Result: Machine learning gives AI its data-driven capability — performance improves with examples instead of being fixed by hand-written rules.
Solved Q8 (2026-27 Model Paper (Set 2), 5 Marks)
Q: "Compare the use of Data Visualization with one neighbouring idea in Introduction to Artificial Intelligence, then solve a short case."
Solution:
- Comparison: Data visualization turns data into a chart that a human can interpret quickly; a raw table preserves exact numbers but hides trends and outliers. Visualization is an inspection tool, not a trained model — the neighbouring idea "data pre-processing" repairs the data, while visualization exposes what needs repair.
- Short case: A motor's daily temperature readings are
50, 51, 49, 52, 88, 51, 50°C. A line chart immediately shows one spike at day 5; the table alone is slower to scan. The spike is investigated and found to be a sensor calibration error, so it is corrected before the supervised model is trained. - Result: Visualization prevented a false "overheating" pattern from entering the training set.
Practice Questions (Self-Test)
- (2 Marks) State one difference between Narrow AI and General AI and give one example of each.
- (2 Marks) Name the 1950 test proposed by Alan Turing and the 1956 event that named the field.
- (5 Marks) Draw the AI ⊃ ML ⊃ Deep Learning relationship and place KNN, a spam filter and ChatGPT correctly.
- (5 Marks) A learner sees labelled "healthy/faulty" pump readings. Identify the learning strategy, name two features, and describe the prediction step.
- (7 Marks) Explain how Data becomes a prediction in a supervised system, using a 4-row example table from any engineering branch.
- (7 Marks — Predicted) Explain AI in structural health monitoring or AI in predictive maintenance with the data → pattern → decision chain and one caution about data quality.