Skip to content

Tutorials

A collection of tutorials on software engineering and computer science topics.


Mathematical Foundations for Computer Science and AI

A complete 32-module series covering mathematical reasoning, discrete mathematics, linear algebra, calculus, optimisation, probability, statistics, information theory, numerical computation and learning theory, with separate CS and AI study routes. English and Chinese editions include worked examples, 90 foundation labs, 420 exercises with solutions, interactive demonstrations and self-checks. Two implemented capstones provide a verified dependency planner and a checked learning pipeline, with actual outputs, plots, proofs and assessment rubrics. An algebra refresher, entry diagnostic, Python primer and NumPy preparation support beginners.

Go to Mathematical Foundations Tutorials


Calculus

A 20-module course from functions, limits and derivatives to integrals, series and vector calculus. The English and Chinese editions include worked examples, exercises with solutions, self-check quizzes, interactive diagrams, a formula sheet, a glossary and a guide to common mistakes. Download the Python examples to run the calculations yourself.

Calculus in English · 微积分(中文)


Linear Algebra

A 12-module course in vectors, linear systems, orthogonality, least squares, eigenvalues, singular values and PCA. The English and Chinese editions include worked solutions, self-check quizzes, interactive demonstrations and downloadable Python examples.

Linear Algebra in English · 线性代数(中文)


Maths for AI and LLMs

Eight modules in English and Chinese on probability and statistics, information theory, optimisation and numerical computing. Work through token probabilities, perplexity, gradient updates, stable softmax and quantisation with worked exercises and runnable Python examples.

Maths for AI and LLMs in English · AI 与大语言模型的数学基础(中文)


Computer Science Fundamentals

A complete 14-module beginner-friendly series covering computation, programming, mathematics, algorithms, data structures, computer architecture, operating systems, networks, databases, and the limits of computation. English and Chinese editions, with 29 runnable Python labs, 112 exercises with worked solutions, self-check quizzes, and a persistent local catalogue capstone.

Go to Computer Science Tutorials


Object-Oriented Design

Nine modules on object-oriented design in English and Simplified Chinese, with Python examples and UML diagrams.

Object-Oriented Design in English · 面向对象设计(中文)


SysML v2

Nine modules in English and Simplified Chinese covering SysML v2 notation, structure and behaviour, requirements, cases, analysis, configuration, and verification.

SysML v2 in English · SysML v2 教程(中文)


Model-Based Systems Engineering

A 12-module tutorial series in English and Simplified Chinese on MBSE methodology, modelling languages and tools, industry frameworks including OOSEM, MagicGrid and IBM Harmony, and their applications.

Model-Based Systems Engineering in English · 基于模型的系统工程(中文)


Model-Driven Engineering with Eclipse Epsilon

A hands-on series on metamodels, models, querying, validation, code generation and model-to-model transformation with Eclipse Epsilon. Run the examples in the browser with the Epsilon Playground. All 10 modules are available in English and Simplified Chinese.

Model-Driven Engineering with Eclipse Epsilon in English · 使用 Eclipse Epsilon 学习模型驱动工程(中文)


Formal Methods with Isabelle

A 14-module series that starts from logic and discrete mathematics and ends with machine-checked proof: propositional and predicate logic, sets, relations and induction, natural deduction, then Isabelle/HOL in depth (functional programming, proof automation, structured Isar proofs, induction), and finally verified programs, state machines with invariants and a verified compiler. All 889 Isabelle examples were checked with Isabelle2026, and every output shown, error messages included, is Isabelle's own. 117 exercises with full solutions, five interactive demonstrations, real Isabelle/jEdit screenshots, a cheat sheet, a troubleshooting guide, a glossary, and all theories as a download.

The English and Simplified Chinese editions include an applied model-verification project with a guard explorer, eight worked exercises, a quick reference, and a separate theory download checked with Isabelle2025-2. Project in English · 模型验证项目(中文)

Formal Methods with Isabelle in English · 用 Isabelle 学形式化方法(中文)


Git and GitHub, Step by Step

A beginner's series in eleven short lessons, 15 to 45 minutes each: keep the history of your work with Git, put it on GitHub, work with branches and pull requests, undo mistakes, and publish your own web page with GitHub Pages. No experience needed, on Windows, macOS or Linux; every output shown was produced by running the commands. English and Chinese.

Go to Git and GitHub Tutorials


AI Agents

A 15-module tutorial series in English and Simplified Chinese on building AI agents. It covers model APIs, tool use, memory, retrieval, MCP, multi-agent orchestration, safety, evaluation and deployment.

AI Agents in English · 构建 AI 智能体(中文)


AI: From Machine Learning to Large Language Models

A complete 10-module tutorial series, with 10–15 hours of study per module, from machine learning foundations through neural networks, CNNs, RNNs and the transformer to large language models: pretraining, post-training and serving. Every module includes derivations, runnable CPU labs, exercises with full solutions, interactive demonstrations, paper guides and a self-check quiz. All ten modules are available in English and Simplified Chinese.

Go to AI Tutorials