Interview questions by topic

Interview questions & answers by topic

Real, commonly-asked interview questions with clear answers across 22 core topics — computer-science fundamentals, databases, system design, aptitude and the top programming languages. Revise here, then practise out loud in a free AI mock interview.

Choose a topic

Interview questions by topic

Data Structures & Algorithms (DSA)

The core problem-solving fundamentals every software engineering interview tests, from arrays and trees to time-complexity analysis.

16 Q&A

DBMS (Database Management)

Core database concepts that interviews probe, covering relational design, SQL, normalization, transactions, and indexing.

16 Q&A

Operating Systems

Foundational OS concepts interviews test, including processes, threads, scheduling, memory management, and concurrency.

16 Q&A

Computer Networks

Networking fundamentals interviews cover, from the OSI and TCP/IP models to protocols, routing, and how data travels the internet.

16 Q&A

OOP (Object-Oriented Programming)

Object-oriented design principles interviews probe, covering the four pillars, class relationships, and common design concepts.

15 Q&A

System Design

High-level architecture concepts senior interviews test, covering scalability, databases, caching, load balancing, and trade-offs.

15 Q&A

SQL

SQL questions test how well you query, join, aggregate, and reason about relational data under interview pressure.

15 Q&A

Aptitude (Quantitative & Logical)

Aptitude rounds screen candidates on speed and accuracy across arithmetic, reasoning, and data interpretation before technical interviews.

15 Q&A

Java

Java interviews probe object-oriented design, the JVM and memory model, collections, concurrency, and core language semantics.

15 Q&A

Python

Python interviews cover data structures, mutability, scoping, comprehensions, decorators, and the language's dynamic runtime behavior.

15 Q&A

JavaScript

JavaScript interviews test closures, the event loop, asynchronous patterns, prototypes, and the quirks of a single-threaded dynamic language.

15 Q&A

React

React interviews assess components, hooks, state management, rendering behavior, and performance optimization in modern UI development.

15 Q&A

AWS (Amazon Web Services)

AWS interviews test core cloud services, the shared-responsibility model, IAM security, and how to architect reliable, scalable systems on the cloud.

16 Q&A

Docker

Docker interviews probe containers versus images, the Dockerfile, layers and caching, networking, volumes, and how containers differ from virtual machines.

15 Q&A

Kubernetes

Kubernetes interviews test pods, deployments, services, the control plane, scaling, self-healing, and how container orchestration works at scale.

16 Q&A

Node.js

Node.js interviews probe the event loop, non-blocking I/O, asynchronous patterns, streams, modules, and how a single-threaded runtime scales.

15 Q&A

Angular

Angular interviews test components, modules, dependency injection, change detection, RxJS observables, data binding, and the framework's TypeScript-first architecture.

15 Q&A

TypeScript

TypeScript interviews probe static typing, interfaces versus types, generics, enums, type narrowing, and how TypeScript compiles to JavaScript.

14 Q&A

Git & Version Control

Git interviews test the working tree and staging area, branching and merging, rebase versus merge, resolving conflicts, and collaborating with remotes.

15 Q&A

REST APIs & Microservices

API interviews test REST principles, HTTP methods and status codes, idempotency, statelessness, authentication, versioning, and microservices communication.

15 Q&A

Machine Learning

ML interviews test supervised vs unsupervised learning, overfitting and the bias-variance tradeoff, evaluation metrics, regularization, and core algorithms.

15 Q&A

Behavioral & HR

Behavioral interviews assess soft skills, teamwork, conflict handling, and motivation using the STAR method to predict how you will perform on the job.

14 Q&A

Interview questions — FAQs

What topics do these interview questions cover?

OnJob has interview questions and answers for 22 core topics — Data Structures & Algorithms (DSA), DBMS (Database Management), Operating Systems, Computer Networks, OOP (Object-Oriented Programming), System Design and more — covering computer-science fundamentals, databases, system design, aptitude and the most-used programming languages.

Are the answers reliable?

Yes. Every answer is written from established, public-domain computer-science and programming knowledge and kept concise and correct. They reflect what interviewers actually expect, not filler — and you can rehearse them out loud in OnJob's free AI mock interview.

Are these interview questions free?

Yes, all topic interview questions and answers are free to read, and OnJob's AI mock interview is free to start (₹0). Pro (₹99/month) adds unlimited interview-prep AI alongside recruiter tracking and unlimited applications.

How should I use topic questions versus role-based mock interviews?

Use topic pages (DSA, DBMS, SQL, system design and so on) to revise fundamentals, then run a role-based AI mock interview on OnJob to practise the full set of questions for your specific job under realistic conditions.

Free AI mock interview

From reading to rehearsing

Practise these questions out loud with OnJob's free AI mock interview, get instant feedback, then apply to AI-matched jobs in one click.

Create my free profile — free