Interview questions by topic

Interview questions & answers by topic

Real, commonly-asked interview questions with clear answers across 12 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

Interview questions — FAQs

What topics do these interview questions cover?

OnJob has interview questions and answers for 12 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