Pictures from the plugins running in Moodle: the editors, the viewers, the class views and the graded
questions of CodeLab, Algorithm, AISim, NetLab, DBLab, LogicLab, WebLab, ShellLab and CyberLab. Click a picture to see it full size.
Trees in the memory view. A binary tree built by the program, with arrows from the variables root and cur.Graphs in the memory view. An adjacency list drawn as a graph during a step by step run of Dijkstra.matplotlib in the browser. A chart of Python in the browser, no server needed, with SVG and PNG download.Class view on the projector. Every student copy of an example, with names hidden for the projector.Follow the teacher. Students follow the code of the teacher live, then take a copy or stop following.HTML, CSS and JS questions. The answer is a page; each test is a JavaScript assertion checked in jsdom.How the answer was written. A timeline of snapshots, runs and large insertions of an attempt.
Algorithm
Flowcharts that run, step and turn into code.
The flowchart editor. Blocks, a live code panel and a run with variables, inside the text editor.Arrays panel. Arrays drawn as bars while the algorithm runs, with the elements read and written marked.Step back and timeline. Go back to any earlier step of a run with the same input.Complexity. The steps of an algorithm for growing n beside the curves n, n log n and n squared.Code to diagram. Pasted Python turned into a flowchart.Matrices. A matrix shown as a table while the algorithm runs.A flowchart in a page. Readers run and step the flowchart of an exercise without editing it.Class work. The copies the students are changing, as small diagrams with test results.Draw the algorithm. A quiz question where the student draws a flowchart and runs it.Analysis of a question. Tests passed, wrong outputs and grades for the whole class.
AISim
Machine learning you can touch.
Insert dialog with preview. Pick a simulation and its starting values and see it before it goes into the text.Recurrent neural network. A network that reads a noisy thermometer and follows the real temperature.Logistic regression. Students move the boundary and watch the model change.Cross-validation. How the choice of the training folds changes the score.Data preparation. Missing values, scaling and encoding before a model sees the data.Neural network. Layers, weights and the loss while the network trains.A graded simulation question. A quiz question with a task objective that the simulation checks.
NetLab
A network lab in every lesson.
The workspace. An OSPF lab with three routers and two computers; the toolbar has devices, cables and tools.Configure a device. Interfaces, addresses and ports of a router in the inspector.Models and modules. Choose a device model and add expansion modules while the device is off.A Cisco-style command line. Modes, abbreviations, help and show commands, such as show ip route.Packet simulation. An event list, a Complex PDU and the filter of protocols, with a layer 1 to 7 inspector.
DBLab
SQLite databases, query stepping and live ER diagrams.
Interactive SQLite workspace. Live schema sidebar with PK/FK indicators, SQL editor with autocomplete and tabular results.Query Stepper. Inspects a SELECT query stage by stage through FROM/JOIN, WHERE, GROUP BY, HAVING and ORDER BY.Live ER diagram. Automatically generated SVG ER diagram in Crow's Foot or Chen notation, updated as tables change.TinyMCE insert dialog. Pick a dataset, preset or custom schema and insert a DBLab block into any Moodle page.Auto-graded SQL quiz question. Students write and test SQL in the browser; Moodle verifies and grades it on the server.
LogicLab
Gates, flip-flops and DC circuits you can wire.
Live analysis. Click the input switches and watch the truth table, the minimal sum of products and the Karnaugh map follow.Larger circuits. A BCD to seven-segment decoder drawn with gates, wired and simulated in the browser.Flip-flops and timing. Press Clock pulse or Auto clock and read the timing diagram of a synchronous counter.Buses and ALU, RAM, ROM blocks. Bus inputs and outputs, a four-bit ALU and memory blocks for computer architecture lessons.DC circuits. A steady-state solver shows voltages, currents and the state of switches and LEDs.
WebLab
HTML, CSS and JavaScript in a safe sandbox.
Layout inspector. Draws flexbox and CSS grid lines right over the live preview, with viewport switching.Accessibility checker. Flags missing alt text, unlabelled inputs, skipped headings and low colour contrast.Offline Bootstrap and jQuery packs. Students build responsive pages with bundled libraries and no external CDN.TinyMCE insert dialog. Pick a built-in exercise, set each file to editable, read-only or hidden, and preview it live.Auto-graded web questions. DOM and CSS checks run on the server, and computed-style checks run at mobile or desktop width.Check builder. Combine element, CSS rule, computed-style and interaction checks in the question form.
ShellLab
A Linux and Git terminal that cannot break anything.
Linux terminal and live checklist. Commands run on a virtual file system in the browser while the task checklist ticks live.Git with a live commit graph. Branch, merge, tag and inspect the repository graph beside the terminal.Auto-graded shell questions. Checks files, content, permissions, commands used and Git state after the student finishes.
CyberLab
Hands-on cybersecurity that cannot hurt anything.
Classic and modern crypto. Students inspect all 25 Caesar shifts, test weak ciphers and work with personal seeded data.Attack and fix. Exploit a vulnerable login with SQL injection, then edit the server code to a prepared statement and stop the attack.Log forensics. Search server auth logs with text or regular expressions and spot brute-force attempts and break-ins.TinyMCE insert dialog. Pick from 27 ready exercises, choose per-student or fixed seed data and preview the lab.Server-graded multi-step questions. Combine personal flags and code fixes with partial credit graded on the server.