Interactive simulators
See it run. Then run it yourself.
Step a scheduler, replace pages, build an automaton, trace a sort. Every simulator sits beside the lesson it teaches, and each one is built around the cases the exams actually ask.
205simulators
9subjects
5free with an account
Start with five, free
A free account opens these five simulators. The first one opens for everyone, no account needed.
Open
DFA builder and tester
Theory of ComputationOpen simulator →Free account
CPU scheduler
Operating SystemsOpen simulator →Free account
Binary search tree
Data StructuresOpen simulator →Free account
Sorting: eleven algorithms with counters and stability
AlgorithmsOpen simulator →Free account
Normal forms, decomposition and lossless join
Database SystemsOpen simulator →All simulators, by subject
The rest come with the Gyanastra pass. They show the same way: pick one to see what it teaches.
Operating Systems
Pass
Paging address translation
Open →Pass
Banker’s algorithm
Open →Pass
Producer–consumer, readers–writers and dining philosophers
Open →Free account
CPU scheduler
Open →Pass
Disk-head scheduler
Open →Pass
Contiguous, linked, indexed and FAT allocation
Open →Pass
fork() tracer
Open →Pass
Inode pointers and maximum file size
Open →Pass
Mutual-exclusion checker
Open →Pass
Page-replacement simulator
Open →Pass
Page-table size and multi-level paging
Open →Pass
Memory partition allocator
Open →Pass
Process state transitions
Open →Pass
Race condition explorer
Open →Pass
Resource-allocation graph
Open →Pass
Scheduling algorithm race
Open →Pass
Segment-table translation
Open →Pass
Semaphore program tracer
Open →Pass
Thrashing and CPU utilisation
Open →Pass
User and kernel thread models
Open →Pass
TLB and effective access time
Open →Data Structures
Pass
Array address calculation (1-D, 2-D, 3-D)
Open →Pass
AVL tree rotations
Open →Pass
B-tree: insert, delete, split, merge
Open →Free account
Binary search tree
Open →Pass
BST questions: valid search path, from traversal, same tree
Open →Pass
C output tracer: pointers, structs, malloc, unions, macros
Open →Pass
Deque and priority queue
Open →Pass
Infix to postfix and prefix, evaluation, bracket matching
Open →Pass
Graph representations, BFS, DFS and topological sort
Open →Pass
Hashing questions: probes, expected cost, insertion orders, collisions
Open →Pass
Hashing: chaining, linear, quadratic, double
Open →Pass
Heap questions: count heaps, where a key can sit, insert vs build
Open →Pass
Heaps: build, insert, delete, heap sort
Open →Pass
Classic list problems
Open →Pass
Singly, doubly and circular linked lists
Open →Pass
Pointer arithmetic and 2-D array pointers
Open →Pass
Circular queue and queue from two stacks
Open →Pass
Recursion: call stack and recursion tree
Open →Pass
Red-black tree: insert and delete with recolouring and rotations
Open →Pass
Segment tree and Fenwick (binary indexed) tree
Open →Pass
Skip list
Open →Pass
Sparse matrix storage: triplets, CSR and CSC
Open →Pass
Splay tree: zig, zig-zig, zig-zag
Open →Pass
Stack in an array, and two stacks in one array
Open →Pass
Stack permutations and Catalan numbers
Open →Pass
Stack and queue questions: circular formulas, stack from queues, min stack
Open →Pass
Struct and union memory layout
Open →Pass
Threaded binary trees and expression trees
Open →Pass
Tree heights and sizes, LCA, diameter
Open →Pass
Build a tree from traversals, and count trees
Open →Pass
Triangular and tridiagonal matrix storage
Open →Pass
Trie (prefix tree)
Open →Pass
Disjoint sets: union-find
Open →Algorithms
Pass
Amortised analysis: counter, dynamic array, multipop
Open →Pass
N-queens and KMP string matching
Open →Pass
Bellman–Ford and negative cycles
Open →Pass
Bridges, articulation points, bipartite, cycles, Euler
Open →Pass
Coin change, longest increasing subsequence, rod cutting
Open →Pass
Lower bound, min and max, second smallest
Open →Pass
Convex hull and closest pair of points
Open →Pass
Time and space analyser: run a loop or recursion and fit its growth
Open →Pass
Dijkstra shortest paths
Open →Pass
Inversions, k-th smallest and maximum subarray
Open →Pass
DP and greedy extras: palindromes, optimal BST, grid paths, memoisation, merge pattern, Huffman decoding
Open →Pass
Floyd–Warshall all-pairs shortest paths
Open →Pass
Fractional knapsack, job sequencing, activity selection
Open →Pass
Growth of functions and asymptotic notation
Open →Pass
Huffman coding
Open →Pass
k-way merge and external merge sort
Open →Pass
0/1 knapsack and subset sum
Open →Pass
LCS and edit distance
Open →Pass
Master theorem for divide and conquer
Open →Pass
Matrix chain multiplication
Open →Pass
Maximum flow, minimum cut and bipartite matching
Open →Pass
Spanning tree questions: count, unique, which edge
Open →Pass
NP-completeness: 3-SAT, reduction to clique, independent set and vertex cover
Open →Pass
Practice: GATE-style questions for Algorithms and Data Structures
Open →Pass
Quick sort: partition trace, pivot rules and worst-case inputs
Open →Pass
Recurrences beyond the master theorem
Open →Pass
Strongly connected components and topological orders
Open →Pass
Linear, binary, interpolation, jump and ternary search
Open →Pass
Shortest path questions: extraction order and weight changes
Open →Pass
Array after k passes of a sorting algorithm
Open →Free account
Sorting: eleven algorithms with counters and stability
Open →Pass
Minimum spanning tree: Kruskal and Prim
Open →Pass
Strassen and Karatsuba fast multiplication
Open →Pass
Travelling salesman with bitmask DP
Open →Computer Organisation
Pass
Tag, index and offset
Open →Pass
ALU addition, subtraction and flags
Open →Pass
AMAT, multilevel caches and CPI
Open →Pass
Booth multiplication and division
Open →Pass
Branch prediction
Open →Pass
Cache simulator
Open →Pass
Control store and micro-program counter
Open →Pass
Disk capacity and access time
Open →Pass
DMA transfer modes
Open →Pass
Effective address calculator
Open →Pass
Control signals per timing step
Open →Pass
Hazards, stalls and forwarding
Open →Pass
Instruction cycle stepper
Open →Pass
Expanding opcodes and instruction fields
Open →Pass
Interrupt priorities and nesting
Open →Pass
Polling, interrupts and DMA overhead
Open →Pass
Locality of reference
Open →Pass
Effective access time of a hierarchy
Open →Pass
Memory map and chip select designer
Open →Pass
Compulsory, capacity and conflict misses
Open →Pass
Pipeline diagram builder
Open →Pass
Pipeline speedup with stalls
Open →Pass
RISC against CISC execution time
Open →Pass
Set-associative mapping
Open →Pass
Write-through and write-back
Open →Database Systems
Pass
B+ tree order, levels and block accesses
Open →Pass
B+ tree insertion and deletion
Open →Pass
Attribute closure and candidate keys
Open →Pass
Minimal (canonical) cover
Open →Free account
Normal forms, decomposition and lossless join
Open →Pass
Recoverability, two-phase locking and timestamps
Open →Pass
Relational algebra evaluator
Open →Pass
Conflict and view serializability
Open →Compiler Design
Pass
Activation records and the call stack
Open →Pass
Basic blocks, flow graph and loops
Open →Pass
DAG of a basic block
Open →Pass
Data-flow analysis solver
Open →Pass
FIRST and FOLLOW calculator
Open →Pass
Left recursion and left factoring
Open →Pass
Tokenizer and token counter
Open →Pass
LL(1) table and parser trace
Open →Pass
LR item sets, tables and parser
Open →Pass
Operator-precedence parsing
Open →Pass
Code optimisation lab
Open →Pass
Parameter passing
Open →Pass
Register allocation by graph colouring
Open →Pass
Syntax-directed definitions
Open →Pass
Translation schemes: actions at reduction
Open →Pass
Shift-reduce parsing and handles
Open →Pass
Symbol table and scopes
Open →Pass
Three-address code generator
Open →Pass
Which parser class?
Open →Theory of Computation
Pass
Ambiguity finder
Open →Pass
Closure property lab
Open →Pass
Complement and the dead state
Open →Pass
Decision helper and Rice’s theorem
Open →Pass
Derivations and parse trees
Open →Pass
DFA design checker
Open →Open
DFA builder and tester
Open →Pass
DFA minimiser
Open →Pass
Diagonalisation visual
Open →Pass
ε-closure explorer
Open →Pass
Equivalence tester
Open →Pass
Grammar classifier
Open →Pass
Language generator
Open →Pass
Language operations lab
Open →Pass
Moore and Mealy machines
Open →Pass
NFA simulator
Open →Pass
NFA to DFA subset construction
Open →Pass
PDA simulator
Open →Pass
Product construction
Open →Pass
Pumping lemma game
Open →Pass
Reduction chain diagram
Open →Pass
Regex tester and simplifier
Open →Pass
Regex to NFA (Thompson)
Open →Pass
Simplify and Chomsky normal form
Open →Pass
DFA to regex by state elimination
Open →Pass
Turing machine simulator
Open →Digital Logic
Pass
Ripple-carry and carry-lookahead adders
Open →Pass
Boolean expressions, truth tables and canonical forms
Open →Pass
Counter design, ring, Johnson and LFSR
Open →Pass
Flip-flops, tables and conversion
Open →Pass
IEEE 754 floating point
Open →Pass
K-map and Quine-McCluskey minimisation
Open →Pass
Multiplexer and decoder realisation
Open →Pass
Number systems, signed numbers, BCD and Gray
Open →Computer Networks
Pass
ARP step by step
Open →Pass
Learning bridges and spanning tree
Open →Pass
Nyquist and Shannon capacity
Open →Pass
Checksum and parity
Open →Pass
CIDR: longest-prefix match and aggregation
Open →Pass
CRC divider
Open →Pass
Delay calculator and packet pipeline
Open →Pass
Distance-vector routing
Open →Pass
DNS resolution
Open →Pass
Encapsulation through the layers
Open →Pass
Packet-filter firewall
Open →Pass
Hamming code encoder and decoder
Open →Pass
HTTP: persistent and non-persistent
Open →Pass
IPv4 address toolbox
Open →Pass
IP fragmentation
Open →Pass
IPv4 header decoder
Open →Pass
IPv6 addresses and header
Open →Pass
Line coding waveforms
Open →Pass
Link-state routing (Dijkstra)
Open →Pass
MAC protocols and Ethernet
Open →Pass
Ping and traceroute
Open →Pass
RSA and Diffie–Hellman
Open →Pass
Stop-and-wait, Go-Back-N and Selective Repeat
Open →Pass
Subnet designer
Open →Pass
Circuit, message and packet switching
Open →Pass
TCP congestion window
Open →Pass
TCP handshake and teardown
Open →Pass
RTT estimator, throughput and TCP header
Open →Pass
Token bucket and leaky bucket
Open →Pass
VLSM allocator
Open →Pass