Practice questions
Pick a subject and practise at your own pace. Every question shows the right answer and a short explanation as soon as you answer. For a timed challenge with a leaderboard, play the Daily Quiz at 4 PM IST.
Programming languages
- Python practice questions with answers: output questions, lists, dicts, strings, closures, generators, exceptions and OOP
- Java practice questions with answers: strings, collections, OOP, exceptions, memory, autoboxing and concurrency
- C++ practice questions with answers: pointers, references, the STL, virtual functions, smart pointers and move semantics
- JavaScript practice questions with answers: types, equality, closures, this, promises and the event loop
Core computer science
- DSA practice questions with answers: time complexity, arrays, linked lists, stacks, queues, trees, graphs, heaps and dynamic programming
- DBMS practice questions with answers: ACID, normalisation, keys, indexes, transactions, isolation and the CAP theorem
- Operating Systems practice questions with answers: processes, threads, scheduling, deadlocks, memory, paging and synchronisation
- Computer Networks practice questions with answers: TCP and UDP, DNS, HTTP, the OSI model, subnetting and TLS
- OOPs practice questions with answers: encapsulation, inheritance, polymorphism, SOLID and design patterns
- System Design practice questions with answers: scaling, load balancing, caching, sharding, queues, consistency and APIs
Data & AI
- SQL practice questions with answers: joins, GROUP BY, NULLs, subqueries, window functions and indexes
- Machine Learning practice questions with answers: overfitting, metrics, cross-validation, regularisation, trees, ensembles and SVMs
- Generative AI practice questions with answers: LLMs, tokens, prompting, Transformers, embeddings, RAG, fine-tuning and agents
- Computer Vision practice questions with answers: CNNs, convolution maths, OpenCV, detection, segmentation and transfer learning
Web & DevOps
- React practice questions with answers: hooks, state, props, effects, keys, memoisation and rendering
- Git practice questions with answers: branches, merge vs rebase, reset, revert, stash and recovering lost work
- Linux practice questions with answers: shell commands, permissions, pipes, processes, signals and troubleshooting
- Docker & Kubernetes practice questions with answers: images, containers, Dockerfiles, volumes, networking, compose and Kubernetes basics