FP1 lab
Everything on the site to practice FP1 with nothing to install: the Python playground where the programs in the articles open and where the practical mock exam runs.
sergio@learns:~/lab/fp1$ ls --by-topic
Programming in Pythonthe whole syllabus
- PyodidePythonSeveral files, autocomplete and the error marked on its line
- Topic
- Variables, conditionals, loops, functions, lists, files and regular expressions
- Helps you see
- Trying every program in the articles with «Open in the playground» and seeing the error marked on its line; it is the same editor as the practical mock exam.
$ python3 main.py - Python · JavaRegular expression testerYour pattern with the real Python or Java engine: what matches, the groups, what each function returns and the code you would write
- Topic
- Regular expressions in Python
- Helps you see
- What really matches and why: the groups, the difference between match, search and fullmatch and what findall and sub return, with Python’s own re, not the browser’s.
$ regex --python '\d{4} ?[B-DF-HJ-NPR-TV-Z]{3}'Review the theory: Regular expressions in Python - PythonAlgorithm visualizerYour Python program really run, step by step: the list as bars, every comparison, the call stack and the recursion tree
- Topic
- Recursion in Python (and searching and sorting)
- Helps you see
- What happens inside a recursive function: every call that is pushed, what it returns and the whole tree, and how the range shrinks in binary search, with your program really run by Python.
$ algorithm --example bubbleReview the theory: Recursion in Python (and searching and sorting)

IC2 practical mock exam — flowcharts, fork and threads in C (and the screenshots you can’t leave out)