Programming fundamentals
Understand state, data types, scope, and how to trace a program when its output surprises you.
Beginner
What happens when code runs?
Follow instructions, values, and decisions from input to output.
Debug by tracing state
Turn a surprising output into a small reproducible example and find the first wrong state.
Test boundaries and edge cases
Choose examples that prove the limits of a rule and check for common off-by-one errors.
How an HTTP request works
Follow a request from browser to server and understand the response status and content.
Build an accessible HTML structure
Use headings, labels, landmarks and native controls to make a page understandable.
Design a responsive layout
Keep the same content usable across narrow screens, wide screens, and larger text settings.
Tables, keys and constraints
Model real records in relational tables and use constraints to protect valid data.
Files, folders, and the terminal
A terminal runs commands in a current working folder.
Bits, bytes, and binary numbers
A bit holds 0 or 1, and eight bits make one byte.
Git commits and diffs
Git records checkpoints so you can compare, explain, and recover changes.
Scope and lifetime
Scope decides where a name can be used, and lifetime describes how long a value remains available.
Intermediate
Evaluate a machine learning model
Use a trustworthy baseline, keep evaluation data independent, and understand a model’s errors.
Model Android UI state
Give a Compose screen explicit loading, content and error states.
Model SwiftUI screen state
Decide where user-editable screen state belongs and reflect its changes in SwiftUI.
Unicode and UTF-8
Unicode identifies text characters, while UTF-8 defines how their values are encoded as bytes.
Value copies and shared references
Two variables can refer to the same object, so a change through one name can appear through the other.
The call stack
The call stack remembers which function should continue after the current function returns.
Floating-point precision
Floating-point numbers represent many decimals approximately rather than exactly.
SQL joins and missing rows
A join combines rows by comparing fields such as an ID and a matching foreign key.
Database indexes
An index helps the database find matching rows without checking the entire table.
API resources and status codes
An API gives callers a predictable way to request or change information.
Caching and stale data
A cache keeps a reusable result so the next request can avoid repeating the original work.
Training data, validation, and leakage
A data split keeps some examples separate so you can measure how well a model handles new data.
Advanced
Transactions and consistency
A transaction gives related changes one commit boundary.
Concurrency and race conditions
Concurrency means multiple operations can be in progress at the same time.
Background jobs and retries
A background queue lets a service accept work and finish it later.
Logs, metrics, and traces
Logs describe events, metrics count or measure them, and traces follow one request through multiple operations.
Precision and recall
Precision asks how many positive predictions were correct, while recall asks how many actual positives were found.