SQL, assembly, Prolog and the other code labs
Every code lab works the same way — Examples, Run, results, Ask Z — plus a few controls of its own.
6 steps about 4 min Students, Teachers
Steps
Step 1: The common pattern
Where: Any lab
Examples opens a searchable library, Run (⌘/Ctrl + Enter) runs, errors come with Ask Z to fix it, and the full-screen button (⌘/Ctrl + Shift + F) gives the editor the whole screen.
Step 2: SQL Lab
Where: Tools → SQL Lab
Open the SQL LabQuery a ready-made school database. Run SQL, Reset database to undo your changes, ER diagram for the tables.
Step 3: Assembler
Where: Tools → Assembler
Open the AssemblerAssemble checks, Step runs one instruction, Run runs at the chosen speed; watch the registers and buses move. View listing shows addresses and labels.
Step 4: Declarative Lab (Prolog)
Where: Tools → Declarative Lab
Open the Declarative LabWrite facts and rules, type a query such as
parent(sonia, X).and press Ask. Restart session clears asserted facts.Step 5: Flowchart Studio
Where: Tools → Flowchart Studio
Open Flowchart StudioDraw, From pseudocode, Structure chart or State diagram. Check my flowchart runs it; Share link copies it.
Step 6: The step-through visualisers
Where: Algorithm Lab, Data Structures, OOP Designer…
Open the Algorithm LabPick a mode at the top; ← → step, Space plays and pauses.
Did this guide help?

