For Kalvium students · Semesters 1–3
Every CS subject you study, as one living textbook.
C, Data Structures, C++ OOP, Python, Discrete Maths, Algorithms and the first-year foundations. Short lessons in plain English, examples you can run, visualizers you can poke, and a quiz at the end of every chapter.
- lessons
- 129
- runnable examples
- 396
- quiz questions
- 517
- visualizers
- 15
Choose a subject
Each subject is a complete course: units, lessons, runnable code and a quiz per chapter.
Programming in C
Start from zero and learn to think like a programmer in C: variables, decisions, loops, functions, arrays, strings, pointers, memory, structures and files.
Data Structures
Build every classic data structure in C — linked lists, stacks, queues, trees, heaps, graphs and hash tables — and learn exactly when to use each one.
Object-Oriented Programming with C++
Move from C to C++ and master object-oriented design: classes, constructors, inheritance, polymorphism, templates, exceptions and the STL.
Python Programming
Python from first print() to real programs: data types, control flow, lists, dictionaries, functions, files, exceptions, OOP and generators.
Discrete Mathematics
The mathematics under computer science: logic, proofs, sets, relations, functions, counting, recurrences, graph theory, number theory and Boolean algebra.
Design and Analysis of Algorithms
Analyse and design efficient algorithms: asymptotic analysis, recurrences, divide and conquer, greedy methods, dynamic programming, backtracking, graph algorithms and NP-completeness.
First-Year Foundations
How computers, code and the web really work: number systems, logic gates, algorithms and flowcharts, the Linux terminal, Git and GitHub, HTML, CSS and JavaScript.
Built for how you actually study
Run every example
A real GCC compiler and Python in your browser. Edit any example, add your own input, share a link.
Watch it move
Step through sorting, stacks, queues, trees, graphs, hashing, DP tables and truth tables.
Exam tips built in
Callouts flag what examiners ask, classic programs, and the mistakes that cost marks.
Quiz every chapter
Instant feedback with an explanation for each answer. Your scores stay in this browser.
Find anything fast
Press Ctrl K or / to jump to any topic in any subject.
Read it as a book
Every subject has a single-page ebook view you can read offline or save as a PDF.