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 the free mock interview practice by role.
Interview questions by topic
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. You can rehearse them out loud with the free timed practice on the mock interview pages.
Are these interview questions free?
Yes. All topic interview questions and answers are free to read, and the timed mock interview practice by role is free with no signup. Timed role tests and certifications are free with an OnJob account; personalised AI tests are part of the paid plans.
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 use the role-based mock interview practice to rehearse the full set of questions for your job against a timer.
From reading to rehearsing
Practise these questions out loud with the free mock interview practice by role, then take a timed test or a free certification on OnJob.