Informatics: build your own digital assistant
72 free lessons cover computing, Python, the web, data, security and AI through one continuing, tested digital-assistant project.
·
Every lesson is open: reading needs no account.
-
How the digital world works and what we will build
We will trace an ordinary photograph through a phone and the internet, see the eight-block route, and begin one project that will grow throughout all 72 lessons.
-
Diagnosis without grades and choosing the project problem
Ten short situations will show where you need more support, while a completed passport will turn a broad assistant idea into a testable problem.
-
Phones and laptops as systems
We will break a notification into roles and see why a phone and laptop look different but follow one model: input, processing, state, and output.
-
How a computer sees, hears, and responds
We will trace how light, sound, and touch become numbers, and how software turns data into an image, sound, or another physical action.
-
Processor, working memory, and storage
We separate execution, temporary state, and persistent storage, then decide what the assistant must keep.
-
Operating system, process, and application
We separate a program file, a running process, and OS services to understand launch, permissions, and errors.
-
Files, folders, and exact paths
We build a project tree and distinguish a name from a path, a relative path from an absolute one, and a missing file from a wrong search location.
-
Formats, software, and the creator's permission
We separate bytes from reading rules, choose an open format, and check a licence before adding someone else's material.
-
Versions, collaboration, and accessibility
We preserve meaningful history, combine changes without overwriting another person's work, and test accessibility.
-
Mastery checkpoint: the project workspace
We assemble version 0.1, check ten skills now and after seven days, and prove transfer on a new device.
-
The bit: two distinguishable states
Turn two reliably distinct states into a bit, then count how many messages several bits can represent.
-
How binary notation stores numbers
See why 1101₂ means thirteen and check binary numbers by place value instead of guessing.
-
How a computer distinguishes Ә, Я, and A
Find out how one file can preserve Kazakh Ә, Russian Я, and Latin A, and why a character is not necessarily one byte.
-
A photograph as a grid of numbers
Break a photograph into pixels and check how numbers can describe the color at each position.
-
How sound and motion become data
Understand how a microphone measures sound over time and how video shows a sequence of frames.
-
Why ZIP and a messenger compress differently
Compare lossless and lossy compression, then choose what is acceptable for our project data.
-
How to detect damaged data
Practice detecting changed data and see why a simple checksum cannot guarantee authenticity.
-
Mastery checkpoint: the assistant's data format
Assemble version 0.2 of the Digital Assistant: a format for three fictional tasks, reading rules, and evidence that copies survive.
-
Decompose a large problem without losing the goal
Break a reminder request into small testable actions and build the assistant's first paper algorithm.
-
State and variables through a game
Use a game with three lives to understand state, then describe how the assistant changes a task.
-
Sequence and step tracing
Trace every algorithmic action and see how a small ordering mistake changes the final result.
-
Conditions and boundary cases
Test a condition at its boundary so the assistant does not miss a task exactly two days before its due date.
-
Repetition without copying and a stopping condition
Visit every task without copying commands and prove that repetition stops.
-
A function as a promise: input, result, and conditions
Extract the due-date check as one function with clear input, output, and failure behaviour.
-
A correct and sufficiently fast algorithm
Prove an algorithm correct first, then compare its work on small and large lists.
-
Mastery checkpoint: the assistant's algorithms on paper
Assemble the assistant's paper version 0.3 and test it on ordinary, boundary, and surprising inputs.
-
First program: state becomes code
Turn the assistant's first state change into a running program: predict its output and see what a variable holds.
-
Input, output, and data types
Learn why a typed digit starts as text, how to display a result, and where conversion can fail.
-
Expressions without hidden conversions
Write the reminder condition as a readable expression and check operation order without hidden text-to-number conversion.
-
Python conditions and boundary checks
Translate reminder boundaries into `if`, `elif`, and `else`, ensuring a completed task never takes the wrong branch.
-
Python loops that know when to stop
Replace three copied commands with a loop, trace the count, and prove stopping on empty and nonempty lists.
-
Lists and dictionaries for many tasks
Collect tasks in a list, read dictionary fields, and reject a duplicate `id` before it corrupts an answer.
-
Text, dates, and Kazakh Unicode
Preserve Kazakh text and turn a date string into a calendar-day distance from a deadline.
-
Python functions with a clear contract
Combine five reminder rules in a function with explicit input, output, and checking order.
-
Saving tasks in JSON
Save tasks as JSON, explicitly migrate 0.2 to 1.0, and confirm Kazakh text survives a restart.
-
An error as an observable fact
Read errors as evidence and keep tasks safe when input is wrong.
-
Tests and modules protect changes
Turn paper examples into executable tests and split the program into clear parts.
-
Release 1.0: a command-line digital assistant
Assemble release 1.0 into a working command-line tool and assess mastery honestly.
-
The journey of a message between two phones
Follow one fictional task message from a phone to a classroom server and identify every stage of the journey.
-
IP addresses, routers, and packets
Split a message into pieces, locate the destination address, and restore order without guessing.
-
DNS: how a name leads to a server
Find out how a site name leads to an address and why DNS does not prove the site's identity.
-
TCP and UDP: different delivery promises
Compare two delivery models and see why speed alone does not decide which one a task needs.
-
TLS: encryption and checking the other party
Separate encryption from server identity so a padlock is not mistaken for proof that a site is honest.
-
HTTP: a conversation between browser and server
Read an HTTP request and response as a precise contract: path, parameters, status, and content.
-
HTML, CSS, and an interface accessible to different people
Make the same page useful to a sighted learner and to someone using a keyboard or screen reader.
-
Release 1.1: a web version and an honest cloud model
Release a local web view, verify the old rules, and state honestly what our cloud model does not yet do.
-
From an observation to a data row
Turn one study observation into a readable row: what was measured, when, and for which task.
-
A table, a formula, and a verifiable calculation
Add the minutes by hand, in a spreadsheet, and in Python; all three methods must agree.
-
Cleaning data without losing its provenance
Correct a bad row while preserving the original and the reason for every decision.
-
How a chart can lie with true numbers
Draw an honest chart and see how the same true numbers can create a false impression.
-
Related tables, keys, and no duplicates
Link tasks and study sessions by keys so no record points to nowhere.
-
SQL asks data precise questions
Ask the database a precise question: which sessions belong to a task, and how long did they take?
-
Joining tables and making an honest report
Join two tables and keep the task with no study sessions in the report.
-
Release 1.2: the assistant with SQLite
Release assistant 1.2: SQLite data, unchanged reminder rules, and the same local browser page.
-
Whom and what are we protecting?
Imagine a school diary on a desk.
-
Passwords, hashes, and a second factor
Two people know the same short password.
-
Who may do what: least privilege
A library lets readers borrow books but staff edit the catalogue.
-
Phishing, pressure, and deepfakes
An email says “confirm your password now or the assistant will delete your tasks.
-
Encryption, keys, and the limits of protection
A student puts a note in a sealed envelope.
-
Backups, updates, and event logs
Imagine a spare house key: unless it has been tried, you do not know whether it opens the lock.
-
Privacy, authorship, and digital wellbeing
A study report needs minutes and dates.
-
Release 1.3: a protected and recoverable assistant
You hand the assistant to a classmate.
-
Rules, algorithms, and trainable models
The assistant already applies an exact rule to remind us of due dates.
-
Features, labels, and an honest dataset
We want the assistant to sort study tasks.
-
Training a simple classifier
You teach a younger friend to sort cards: “read” goes with books; “geometry” with maths.
-
Model validation and a confusion matrix
The classifier gets four out of four cards right.
-
Bias, fairness, and privacy in AI
The training rows contain Kazakh and English words, but not all subjects or languages.
-
How a language model continues text
A phone suggests the next word.
-
A confident answer is not a reliable answer
The assistant confidently says “the library is closed tomorrow.
-
Adding AI while keeping the human in control
The model suggests `math`, but the learner titles a task “Read the history of mathematics.
-
Release 2.1: tests, instructions, and product handoff
A classmate downloads the project and asks “What runs first? What if the DB exists? When can I trust a model suggestion?” A release answers with runnable instructions and checks.
-
Project defence: demonstrate a solution, an error, and a limitation
At the board you show a working solution, not merely attractive slides.