Interactive labs
38 small tools that run in your browser. Each one checks your input and ends with a verdict line. The coding labs run your Python or SQL in a locked-down sandbox.
Sort the basic concepts
Classify everyday examples as hardware, software, database, network or process.
LECTURE 3Loop tracer: While versus Repeat
Trace the sum-until-zero algorithm step by step and see when While and Repeat differ.
LECTURE 3For loop counter
See which values the pseudo-code For takes for a start, end and step, and how many times the body runs.
LECTURE 3Flow chart symbols and loops
Match each step to its flow chart symbol, and each situation to the right loop.
LECTURE 4Byte and ASCII converter
Turn eight bits into a number and a character, or a number into its byte, with the position values shown.
LECTURE 4Generations and translators
Sort statements about machine language, assembler, high-level languages, compilers and interpreters.
PYTHON 1Coding lab: first programs
Write small programs with input, arithmetic and strings and check them against the tests.
PYTHON 1String index and slice explorer
Type a word and a slice; see which characters are taken and why.
PYTHON 2Coding lab: conditions and loops
Practise if, while and for: primes, grades, the PIN check, vowels and digit sums.
PYTHON 2Range visualiser
Pick start, stop and step and see exactly which numbers range produces and how many rounds a for loop makes.
PYTHON 3Coding lab: working with data structures
Write functions on lists, sets and dictionaries: averages, word counts, stock values and a shift cipher.
PYTHON 3Set operations explorer
Type two sets and see the intersection, union, differences and symmetric difference with the Python operators.
PYTHON 4Coding lab: functions and files
Write functions with defaults, without side effects, and with small text files that exist only inside the sandbox.
PYTHON 4Investment calculator
Compute Kn = K0 × (1 + i)n for every year, as the investment function of the lecture does.
PYTHON 5Predict the output
Sixteen short programs in the style of the exam: type the exact output (or the error type) and compare with what Python really prints.
PYTHON 5Python playground
A free editor: write any small program, give keyboard input and run it safely in your browser.
LECTURE 5Sort the BPMN elements
Put each BPMN element in its group: flow object, connecting object, swim lane or artifact.
LECTURE 5Gateway simulator
Set the conditions of a booking and see which paths an exclusive, a parallel and an inclusive gateway would take.
LECTURE 5Include, extend or generalisation?
Decide which use case relationship fits each situation.
LECTURE 6Critical path calculator
Change the durations of the video production tasks and watch the earliest and latest dates, the slack and the critical path update.
LECTURE 6Resource cost calculator
Add work, material and cost resources to a task and compute its cost the way the project software does.
LECTURE 6Task link dates
Pick a link type and see when the successor starts and finishes in working days, skipping weekends.
LECTURE 7Advanced filter simulator
Write criteria rows for a small customer list and see which records an advanced filter returns.
LECTURE 7From association to tables
Choose the multiplicities on both ends of an association and see how it is mapped: a foreign key or an extra table.
LECTURE 7Which key is it?
Classify columns and statements as primary, candidate, composite, surrogate or foreign key.
LECTURE 7Bonus SQL lab: query a small database
Optional extra beyond the course: run read-only SQL on a tiny web shop database with foreign keys and the staff and supervisor example.
LECTURE 8Moore's law calculator
Choose a starting number of transistors, a number of years and a doubling period, and see the exponential growth year by year.
LECTURE 8Network topology link counter
Count the links needed for n nodes in a fully connected, star, ring and line network, and see what happens when one link or node fails.
LECTURE 8Sort the networks
Classify situations as PAN, LAN, MAN or WAN, and as intranet, extranet or internetwork.
LECTURE 9ERP payback and ROI
Enter the investment, yearly savings and yearly running costs of an ERP project and see the payback period and the ROI over the years.
LECTURE 9ERP, SCM or CRM?
Sort business situations and statements: ERP advantage or disadvantage, failure reason, SCM or CRM type.
LECTURE 10Which type of e-commerce?
Classify everyday situations in the grid of consumer, business and government.
LECTURE 10Burn rate and break-even lab
Enter visitors, conversion rate, order value, margin, costs and cash, and see the monthly result, the runway and the conversion rate you would need to break even.
LECTURE 11Password strength calculator
Choose the character set, the length and the attacker speed, and see the number of combinations and the time to try them all.
LECTURE 11Cloud versus own server
Compare the cumulative cost of buying a server with renting cloud capacity, month by month, and find the break-even point.
LECTURE 11IaaS, PaaS, SaaS or BPaaS?
Classify cloud offers by service model.
LECTURE 11Name the threat
Recognise viruses, worms, trojans, spyware, botnets, evil twins, click fraud and social engineering from short scenarios.
READERSWhich reader is it?
Match statements and concepts to the five readers.
How the labs stay safe
The coding labs let you type and run real code, so here is plainly how that is kept safe for you and for the site.
Where your code runs
Only in your own browser. The site is a set of static files: there is no server that executes code, no account, and your code and its output are never sent, stored, logged or shown to anyone else. Your browser only remembers which exercises you solved (in local storage, on your own device).
A locked box inside the page
The page itself never runs what you type. It hands your code to a hidden frame that is marked sandbox="allow-scripts". Such a frame gets an opaque, anonymous origin, so it cannot read this site's cookies or local storage and cannot touch the page around it. That frame starts a separate Web Worker (a background thread without any page) for every run and throws it away afterwards, so nothing carries over from one run to the next.
No network
A strict Content Security Policy forbids the sandbox and the worker from making any network connection, and the worker's own network functions are removed before your code starts. The main pages may only load files from this site, plus the GoatCounter visit counter.
Limits
Each run is stopped after 4 seconds (so an endless loop or an endless recursive query cannot freeze anything), Python gets a fixed memory budget, output is cut off after 20,000 characters, SQL answers after 200 rows, and code longer than 8,000 characters is refused.
SQL is read-only
The SQL lab builds a fresh in-memory sample database for every run, switches it to read-only and only accepts a single SELECT (or WITH) query. Statements such as ATTACH, PRAGMA, INSERT or DROP are refused before they reach the database.
Shown as text
Output and error messages are always inserted as plain text, never as HTML, so something like <script> in your output is displayed, not executed. Messages from the sandbox are checked for their sender, type, shape and size before the page uses them.
Pinned engines
Python runs on MicroPython 1.27.0 and SQL on sql.js 1.13.0 (SQLite), both compiled to WebAssembly and hosted on this site itself, not loaded from a third-party CDN. Before starting an engine the page checks the SHA-256 fingerprint of each file against the pinned build.
What this does not promise
Browser sandboxes are strong but no software is perfect: keep your browser up to date, and do not paste code from people you do not trust into any website. MicroPython is a small Python: almost everything in this course behaves exactly like the Python of the exam, and the few differences are noted next to the exercises.