Five concept units. Each block carries its own recall hook, scored answer points, a unit-specific relation strip, one numeric illustration, and the marker's expected closing move.
1. Introduction to Artificial Intelligence
Recall anchor. Turing → data → pattern → prediction: AI is judged by the task it performs, not by how human-like the program looks.
Scored points.
- Artificial intelligence means systems that perform tasks normally requiring human intelligence: perceiving, reasoning, learning, planning, and deciding.
- The historical spine is Alan Turing's imitation game, the 1956 Dartmouth workshop, expert systems, machine learning, deep learning, and the ChatGPT era.
- Narrow AI handles one bounded task (recommendations, route planning); General AI is hypothetical human-level flexibility; Super AI remains a concept beyond human capability.
- The nesting is AI ⊃ Machine Learning ⊃ Deep Learning: ML learns from data, while DL uses stacked neural layers and representation learning.
- Learning strategies differ by feedback: supervised uses labelled pairs, unsupervised finds structure in unlabelled data, and reinforcement learning optimises a reward signal.
- The data pathway is collect → preprocess → visualise → train → predict; Google Maps, Spotify, Netflix, Google Photos, and voice assistants are everyday endpoints.
- Branch links: structural health monitoring (CE), predictive maintenance (ME), smart grid (EE), compilers (CSE), drug discovery (BT), crop yield prediction (AG).
Formula strip.
Micro-example. Of 1,000 traffic images, 800 are used for training and 200 for testing — a 4:1 split before any prediction is claimed.
Examiner line. For a scope question, name the task, its input data, and the learning strategy; a bare expansion of the acronym earns little.
2. ore AI Concepts ; Machine learning
Recall anchor. Neighbours, Bayes word counts, and k centroids are the three classifier/clusterer families to recall before any metric is written.
Scored points.
- KNN assigns the class chosen by the majority of the k closest training points; the distance measure and the value of k both change the decision.
- Naïve Bayes multiplies class prior by feature likelihoods under a conditional-independence assumption; it is fast for text and spam filtering.
- K-means partitions data into k clusters by repeating "assign each point to the nearest centroid, then recompute the centroid".
- Accuracy is misleading under class imbalance; precision measures purity of positive predictions and recall measures coverage of real positives.
- F1 is the harmonic mean of precision and recall; MAE is the mean absolute error for regression outputs.
- A neural network has an input layer, hidden layers, and an output layer; weights scale signals and are updated from prediction error.
- "Deep" means many hidden layers; GPUs perform the matrix multiplications in parallel. CNNs handle images (face recognition, medical imaging); NLP handles text and speech.
Formula strip.
Micro-example. With TP=40, TN=30, FP=20, FN=10: accuracy=70/100=0.70, precision=40/60=0.667, recall=40/50=0.80.
Examiner line. Always state whether the system classifies, clusters, or regresses, then compute the metric from the confusion counts before interpreting it.
3. Generative AI and Large Language Models
Recall anchor. Next-token prediction at a fixed temperature is the engine behind ChatGPT, Gemini, Claude, and Llama.
Scored points.
- Generative AI creates new text, images, code, audio, or video; it differs from a classifier that only assigns a label.
- An LLM is a large neural language model trained on text corpora so it can estimate the most plausible continuation of a prompt.
- Tokens are sub-word pieces; the context window is the maximum number of prompt-plus-output tokens the model can attend to at once.
- Temperature changes sampling: low temperature favours high-probability tokens, high temperature increases variety and risk.
- Multimodal systems such as GPT-4o and Gemini accept text, image, and voice together; Stable Diffusion, Midjourney, and DALL-E generate images.
- Hallucination, knowledge cutoff, and inherited bias are core limitations; a fluent answer is not proof of correctness.
- Responsible use means academic integrity, citation of AI assistance, disclosure of generated content, and independent verification.
Formula strip.
Micro-example. About 1,200 characters ≈ 300 tokens; with C=4,000 and a 200-token prompt, at most 3,800 output tokens fit.
Examiner line. When asked about an LLM, separate what it predicts from what it knows, and finish with one concrete failure mode.
4. AI Applications Across Engineering Domains
Recall anchor. Branch → data → AI model → impact converts a vague "AI in engineering" answer into a scored case study.
Scored points.
- Civil engineering uses sensor strain and vibration histories for structural health monitoring, plus smart-city traffic optimisation.
- Mechanical engineering applies vibration and temperature trends to predictive maintenance, design optimisation, and robotics.
- Electrical/electronics uses smart grids for load forecasting and fault detection, and VLSI design automation for placement and routing.
- Computer science uses GitHub Copilot for code generation, anomaly detection for cybersecurity, and natural-language interfaces.
- Biotechnology and healthcare use AI for drug discovery, medical imaging, genomics, and wearable health monitoring.
- Agriculture uses precision farming: crop monitoring, drone-based spraying, and soil analysis; chemical and textile branches use process optimisation and quality control.
- Ethical costs travel with the benefit: bias in training data, privacy loss, job displacement, and the need for responsible AI governance.
Formula strip.
Micro-example. A smart grid with 10 feeders flags 2 for fault inspection: 20% of feeders need maintenance attention that day.
Examiner line. For each application, identify the measured data and the generated decision; tool names alone do not constitute an application analysis.
5. Prompt Engineering
Recall anchor. Role + task + context + format + constraint is the five-part prompt skeleton worth memorising.
Scored points.
- A prompt is the instruction given to an AI model; identical models produce markedly different answers from differently worded prompts.
- Quality levers are clarity, supplied context, specificity, role assignment, and an explicit output format.
- Zero-shot prompting asks directly with no examples; few-shot prompting embeds worked examples before the target task.
- Chain-of-thought prompting requests ordered reasoning before the final line, which helps multi-step engineering problems.
- Role prompting anchors vocabulary, for example "Act as a civil engineer and review this beam detail".
- Match the instruction to the task: summarisation, explanation, code generation, report writing, brainstorming, or translation.
- Engineer toolkits include GitHub Copilot, Grammarly, Consensus, Wolfram Alpha, Canva AI, and Notion AI; every output needs verification.
Formula strip.
Micro-example. Replace "explain beams" with "Act as a CE lecturer; in exactly 5 bullets and under 150 words, explain a simply supported beam for 10 marks".
Examiner line. Submit the literal prompt text plus an evaluation rule; describing the technique without writing the prompt loses hands-on marks.
Memory map
%%{init: {'theme': 'base', 'look': 'handDrawn', 'themeVariables': {'fontFamily': "'Nunito', sans-serif", 'fontSize': '17px', 'primaryColor': '#EFEAD6', 'primaryBorderColor': '#0F766E', 'lineColor': '#23211C'}}}%%
flowchart LR
U1["Introduction to Artificial Intelligence"] --> DG["brief history — from Alan Turing to ChatGPT"]
U1 --> ML["Machine Learning Concepts"]
U1 --> STR["Learning StrategiesSupervised"]
U2["ore AI Concepts ; Machine learning"] --> KNN["Classification Techniques- KNearest Neighbors (KNN)"]
U2 --> KM["Clustering Technique-K-Means"]
U2 --> MET["Classification metrics-accuracy"]
U3["Generative AI and Large Language Models"] --> LLM["Large Language Models (LLMs) — what they are"]
U3 --> TOK["Tokens"]
U3 --> LIM["Limitations of LLMs — hallucination"]
U4["AI Applications Across Engineering Domains"] --> CE["AI in Civil Engineering — structural health monitoring"]
U4 --> ME["AI in Mechanical Engineering — predictive maintenance"]
U4 --> ETH["Ethical concerns — bias in AI"]
U5["Prompt Engineering"] --> ZS["Zero-shot prompting — direct question"]
U5 --> CO["Chain-of-thought prompting — ask AI to think step by step"]
U5 --> ROLE["Role prompting — 'Act as a civil engineer and...'"]
Rapid recall
- U1 — Definition and scope of AI
- U1 — Types of AI — Narrow AI
- U1 — AI vs Machine Learning vs Deep Learning — what is the difference
- U1 — Data Pre-processing Class Activity: Students list 5 AI tools they use every day and discuss how each one 'learns'
- U2 — Classification Techniques- KNearest Neighbors (KNN)
- U2 — Naïve Bayes
- U2 — precision
- U2 — recall
- U2 — CNN
- U3 — Tokens
- U3 — context window
- U3 — temperature — simple explanation
- U3 — Responsible use — academic integrity
- U4 — AI in Electrical and Electronics — smart grids
- U4 — AI in Biotechnology and Healthcare — drug discovery
- U4 — AI in Agricultural Engineering — precision farming
- U5 — Zero-shot prompting — direct question
- U5 — Few-shot prompting — give examples in the prompt
- U5 — Domain-specific prompting — students write prompts relevant to their own branch (CE, ME, BT, AG, etc.)
- U5 — AI tools for engineers — GitHub Copilot (code)
Final-answer checklist
- Name the exact AI concept or prompting technique asked for, not a loose synonym.
- For any ML system, state its input data and whether it is supervised, unsupervised, or reinforcement learning.
- Show the metric substitution with TP/TN/FP/FN or the token-count relation before giving a conclusion.
- Attach every engineering application to one branch and one measurable impact.
- Flag hallucination, knowledge cutoff, bias, privacy, or academic-integrity risk where the question asks about limits.