Artificial Intelligence Foundations
Artificial Intelligence (AI) is a branch of computer science that enables machines to perform tasks that normally require human intelligence. It allows computers to mimic functions such as learning, perception, and decision‑making that humans usually perform.
Types of AI
Narrow AI – systems designed for specific tasks, such as voice assistants or image‑recognition tools. These systems excel at their defined purpose but cannot operate beyond it.
General AI – a hypothetical form of AI that would match human versatility across many domains. It remains a research goal rather than a present reality.
Super AI – an imagined level of intelligence that would surpass human capabilities. No fully realised Super AI exists today.
Common AI Tasks
- Recognising images and speech
- Processing large amounts of data quickly
- Assisting professionals, for example by analysing medical images or helping doctors identify patterns
Although AI can automate many processes, human supervision is often required to ensure correct operation and ethical use.
Machine Learning Overview
Machine Learning (ML) is a subset of AI that learns patterns from data to make predictions or decisions. The typical data flow is:
- Data
- Learning – the model adapts to the data
- Pattern recognition
- Prediction
ML algorithms find relationships in datasets and use them to infer outcomes on new data, enabling applications such as recommendation systems, fraud detection, and predictive maintenance.
AI Project Cycle
Developing an AI solution follows a structured six‑stage cycle:
- Problem Scoping
- 4Ws Problem Canvas (Who, What, Where, Why)
- Data Acquisition
- Data Exploration – organising, visualising, and cleaning data
- Modelling – building and training the ML model
- Evaluation – testing performance and refining the solution
The 4Ws help clarify the problem from multiple perspectives. For example, the "WHERE" question addresses the location or context of the issue.
Web Development Essentials
HTML (HyperText Markup Language) is a markup language used to structure content on the web. It is not a programming language; rather, it defines the layout and semantics of a page.
Key HTML Elements
- <!DOCTYPE html> – declares that the document follows the HTML5 standard.
- <h1> – defines the main heading of a page.
- <img> alt attribute – provides alternative text describing the image, improving accessibility and offering a fallback description.
- <br> – a self‑closing tag that inserts a line break without a closing element.
- <ol> vs <ul> – ordered lists display numbered items, while unordered lists use bullet points.
- <a href="..."> – specifies the destination URL of a hyperlink.
- <table> – creates a table structure in HTML.
Web Protocols
HTTP (HyperText Transfer Protocol) is the protocol used for transferring webpages between a client (browser) and a server.
Networking Basics
A computer network is a group of interconnected computers and devices that can communicate and share resources.
Network Topologies
- Star topology – each node connects to a central device (hub or switch).
- Bus topology – all nodes share a single communication line.
Network Devices
| Device | Function |
|---|---|
| Hub | Broadcasts incoming data to all ports |
| Switch | Forwards data to the specific destination port |
| Router | Connects networks and directs traffic between them |
| Modem | Converts digital signals to analog (or vice versa) for transmission over a specific medium |
Network Scales
WAN (Wide Area Network) spans very large geographic areas, often across countries or continents, unlike a LAN which is confined to a single building.
Distinguishing the Internet and the World Wide Web
The Internet is the global network infrastructure that interconnects computers worldwide. The World Wide Web is a service that runs on the Internet, providing interlinked webpages accessed via browsers.
Understanding these foundational concepts equips learners to navigate both the rapidly evolving field of artificial intelligence and the essential technologies that power the modern web.


