Shanraq.org Shanraq.org

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.

Lessons: 72 · 321 min to read · 360 min to practise

Every lesson is open: reading needs no account.

Start with lesson one →

  1. 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.

    9 min to read · 20 min to practise

  2. 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.

    9 min to read · 20 min to practise

  3. 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.

    6 min to read · 20 min to practise

  4. 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.

    5 min to read · 20 min to practise

  5. Processor, working memory, and storage

    We separate execution, temporary state, and persistent storage, then decide what the assistant must keep.

    5 min to read · 20 min to practise

  6. Operating system, process, and application

    We separate a program file, a running process, and OS services to understand launch, permissions, and errors.

    5 min to read · 20 min to practise

  7. 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.

    5 min to read · 20 min to practise

  8. 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.

    5 min to read · 20 min to practise

  9. Versions, collaboration, and accessibility

    We preserve meaningful history, combine changes without overwriting another person's work, and test accessibility.

    5 min to read · 20 min to practise

  10. 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.

    5 min to read · 20 min to practise

  11. The bit: two distinguishable states

    Turn two reliably distinct states into a bit, then count how many messages several bits can represent.

    5 min to read · 20 min to practise

  12. How binary notation stores numbers

    See why 1101₂ means thirteen and check binary numbers by place value instead of guessing.

    5 min to read · 20 min to practise

  13. 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.

    5 min to read · 20 min to practise

  14. A photograph as a grid of numbers

    Break a photograph into pixels and check how numbers can describe the color at each position.

    5 min to read · 20 min to practise

  15. How sound and motion become data

    Understand how a microphone measures sound over time and how video shows a sequence of frames.

    5 min to read · 20 min to practise

  16. Why ZIP and a messenger compress differently

    Compare lossless and lossy compression, then choose what is acceptable for our project data.

    5 min to read · 20 min to practise

  17. How to detect damaged data

    Practice detecting changed data and see why a simple checksum cannot guarantee authenticity.

    5 min to read · 20 min to practise

  18. 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.

    5 min to read · 20 min to practise

  19. Decompose a large problem without losing the goal

    Break a reminder request into small testable actions and build the assistant's first paper algorithm.

    4 min to read

  20. State and variables through a game

    Use a game with three lives to understand state, then describe how the assistant changes a task.

    4 min to read

  21. Sequence and step tracing

    Trace every algorithmic action and see how a small ordering mistake changes the final result.

    4 min to read

  22. 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.

    4 min to read

  23. Repetition without copying and a stopping condition

    Visit every task without copying commands and prove that repetition stops.

    4 min to read

  24. A function as a promise: input, result, and conditions

    Extract the due-date check as one function with clear input, output, and failure behaviour.

    4 min to read

  25. A correct and sufficiently fast algorithm

    Prove an algorithm correct first, then compare its work on small and large lists.

    4 min to read

  26. 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.

    4 min to read

  27. 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.

    4 min to read

  28. Input, output, and data types

    Learn why a typed digit starts as text, how to display a result, and where conversion can fail.

    4 min to read

  29. Expressions without hidden conversions

    Write the reminder condition as a readable expression and check operation order without hidden text-to-number conversion.

    4 min to read

  30. Python conditions and boundary checks

    Translate reminder boundaries into `if`, `elif`, and `else`, ensuring a completed task never takes the wrong branch.

    4 min to read

  31. 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.

    4 min to read

  32. Lists and dictionaries for many tasks

    Collect tasks in a list, read dictionary fields, and reject a duplicate `id` before it corrupts an answer.

    4 min to read

  33. Text, dates, and Kazakh Unicode

    Preserve Kazakh text and turn a date string into a calendar-day distance from a deadline.

    4 min to read

  34. Python functions with a clear contract

    Combine five reminder rules in a function with explicit input, output, and checking order.

    4 min to read

  35. Saving tasks in JSON

    Save tasks as JSON, explicitly migrate 0.2 to 1.0, and confirm Kazakh text survives a restart.

    4 min to read

  36. An error as an observable fact

    Read errors as evidence and keep tasks safe when input is wrong.

    4 min to read

  37. Tests and modules protect changes

    Turn paper examples into executable tests and split the program into clear parts.

    4 min to read

  38. Release 1.0: a command-line digital assistant

    Assemble release 1.0 into a working command-line tool and assess mastery honestly.

    4 min to read

  39. 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.

    5 min to read

  40. IP addresses, routers, and packets

    Split a message into pieces, locate the destination address, and restore order without guessing.

    4 min to read

  41. 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.

    5 min to read

  42. TCP and UDP: different delivery promises

    Compare two delivery models and see why speed alone does not decide which one a task needs.

    4 min to read

  43. 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.

    5 min to read

  44. HTTP: a conversation between browser and server

    Read an HTTP request and response as a precise contract: path, parameters, status, and content.

    5 min to read

  45. 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.

    4 min to read

  46. 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.

    6 min to read

  47. From an observation to a data row

    Turn one study observation into a readable row: what was measured, when, and for which task.

    4 min to read

  48. A table, a formula, and a verifiable calculation

    Add the minutes by hand, in a spreadsheet, and in Python; all three methods must agree.

    4 min to read

  49. Cleaning data without losing its provenance

    Correct a bad row while preserving the original and the reason for every decision.

    4 min to read

  50. How a chart can lie with true numbers

    Draw an honest chart and see how the same true numbers can create a false impression.

    4 min to read

  51. Related tables, keys, and no duplicates

    Link tasks and study sessions by keys so no record points to nowhere.

    4 min to read

  52. SQL asks data precise questions

    Ask the database a precise question: which sessions belong to a task, and how long did they take?

    4 min to read

  53. Joining tables and making an honest report

    Join two tables and keep the task with no study sessions in the report.

    4 min to read

  54. Release 1.2: the assistant with SQLite

    Release assistant 1.2: SQLite data, unchanged reminder rules, and the same local browser page.

    5 min to read

  55. Whom and what are we protecting?

    Imagine a school diary on a desk.

    4 min to read

  56. Passwords, hashes, and a second factor

    Two people know the same short password.

    4 min to read

  57. Who may do what: least privilege

    A library lets readers borrow books but staff edit the catalogue.

    4 min to read

  58. Phishing, pressure, and deepfakes

    An email says “confirm your password now or the assistant will delete your tasks.

    4 min to read

  59. Encryption, keys, and the limits of protection

    A student puts a note in a sealed envelope.

    4 min to read

  60. Backups, updates, and event logs

    Imagine a spare house key: unless it has been tried, you do not know whether it opens the lock.

    4 min to read

  61. Privacy, authorship, and digital wellbeing

    A study report needs minutes and dates.

    4 min to read

  62. Release 1.3: a protected and recoverable assistant

    You hand the assistant to a classmate.

    4 min to read

  63. Rules, algorithms, and trainable models

    The assistant already applies an exact rule to remind us of due dates.

    4 min to read

  64. Features, labels, and an honest dataset

    We want the assistant to sort study tasks.

    4 min to read

  65. Training a simple classifier

    You teach a younger friend to sort cards: “read” goes with books; “geometry” with maths.

    3 min to read

  66. Model validation and a confusion matrix

    The classifier gets four out of four cards right.

    4 min to read

  67. Bias, fairness, and privacy in AI

    The training rows contain Kazakh and English words, but not all subjects or languages.

    4 min to read

  68. How a language model continues text

    A phone suggests the next word.

    4 min to read

  69. A confident answer is not a reliable answer

    The assistant confidently says “the library is closed tomorrow.

    4 min to read

  70. Adding AI while keeping the human in control

    The model suggests `math`, but the learner titles a task “Read the history of mathematics.

    4 min to read

  71. 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.

    4 min to read

  72. Project defence: demonstrate a solution, an error, and a limitation

    At the board you show a working solution, not merely attractive slides.

    4 min to read