Blog/Interview Questions by Subject: Java, Python, SQL, DSA, Cloud, AI

Interview Questions by Subject: Java, Python, SQL, DSA, Cloud, AI

Every interview question set in one place, organised by subject and role: core CS, programming languages, web and testing, data and analytics, AI and ML, cloud, DevOps and HR rounds.

Last updated: 13 October 2026 · By the Asuraa Team

Quick answer: Fresher technical interviews in India draw on one programming language, OOPs, DSA, DBMS and SQL, operating systems and computer networks, plus the tools of your target role, such as React and Node for web, Excel, Power BI and statistics for data, or AWS for cloud. Prepare the core subjects first, then your role's subjects, then HR and managerial rounds.

Key takeaways

  • Most fresher technical rounds in India draw on one programming language, OOPs, DSA, DBMS and SQL, operating systems and computer networks.
  • Prepare the core computer science subjects first, then add only the subjects your target role uses, such as React for web or Power BI for data analysis.
  • Answer technical questions with a one-line definition, the reason the concept matters and a short example or piece of code.
  • Practise answers aloud in your own words, because interviewers follow up with why and what-if questions that expose memorised answers.
  • Prepare HR and managerial rounds as seriously as technical ones, since many candidates lose offers there after clearing the technical round.

Where should you start?

Technical interviews for freshers in India test a predictable set of subjects: a programming language, OOPs, DSA, DBMS and SQL, operating systems and computer networks, plus the tools of your target role. Role-level interviews then go deeper into one area. Prepare the core first, then your role.

  1. Understand how technical rounds work: how to prepare for technical interview questions.
  2. Master one language: Java or Python.
  3. Cover the CS core: OOPs, DSA and DBMS.
  4. If you are taking a mass-recruiter test, practise pseudo-code questions.
  5. Add the subject sets for your target role from the sections below.
  6. Finish with HR interview questions and managerial round questions.

Which core computer science subjects are asked in fresher interviews?

Most fresher technical rounds draw on OOPs, DSA, DBMS, operating systems and computer networks, whatever the role. Interviewers expect a clear definition, the reason the concept matters and a short example.

PostWhat it answers
DSA interview questions for freshersCommon problems by topic, with the approach for each and how to state complexity precisely
OOPs interview questionsThe four pillars, overloading vs overriding, abstract class vs interface and the diamond problem, with code examples
DBMS interview questionsKeys, normalization, ACID, isolation levels, indexing and joins
Operating system interview questionsProcesses vs threads, scheduling, synchronization, deadlocks and memory management
Computer networks interview questionsOSI and TCP/IP models, TCP vs UDP, DNS, HTTP and HTTPS
Pseudo-code questions for placementsHow to trace short language-neutral programs for output, loop counts and bugs in IT services tests

Which programming language questions should you prepare?

Prepare deeply for one language you will code in, and know the basics of any language named in the job description. Expect output-prediction snippets as well as concept questions.

PostWhat it answers
Java interview questions for freshersJDK vs JVM, String immutability, collections, exceptions and Java 8+ features
Python interview questionsPython questions with code and output
JavaScript interview questionsScope, hoisting, closures, this, the event loop and promises
SQL interview questionsSQL questions with queries and output

Which questions come up for web development and testing roles?

Web roles test the framework you will use and how the browser and server handle requests; testing roles test manual testing concepts and automation tools.

PostWhat it answers
React interview questionsProps vs state, keys, rules of hooks, state snapshots and effects
Node.js and Express interview questionsThe event loop, async code, middleware, and why route and handler order matters
Selenium and manual testing interview questionsSTLC, severity vs priority, locators, waits and the Page Object Model

Which questions come up for data and analytics roles?

Data analyst interviews test SQL, a spreadsheet or BI tool and basic statistics, then ask you to reason through a business problem. Data scientist and ML interviews add modelling and evaluation.

PostWhat it answers
Excel interview questions for data analystsLookups, conditional formulas, PivotTables, cleaning and Excel's limits
Power BI interview questionsPower Query, star schema modelling, DAX, storage modes and row-level security
Statistics interview questionsDescriptive statistics, probability, hypothesis testing and the p-value trap
Data analyst interview questionsAnalyst questions with worked examples
Business analyst interview questionsQuestions for business analyst roles in India
Data scientist interview questionsData scientist questions and how to answer them
Data engineer interview questionsQuestions for data engineering roles
Data architect interview questionsQuestions for data architect roles

Which questions come up for AI and machine learning roles?

AI and ML interviews test fundamentals of models and evaluation, then the specific stack of the role: LLMs and retrieval, NLP, vision or deployment.

PostWhat it answers
Machine learning interview questionsCore ML questions and how to answer
AI interview questionsGeneral AI questions for candidates
Generative AI and LLM interview questionsTokens, transformers, embeddings, RAG, prompting vs fine-tuning, evaluation and agents
AI engineer interview questionsQuestions for AI engineer roles
Machine learning engineer interview questionsQuestions for ML engineer roles in India
MLOps engineer interview questionsQuestions on deploying and operating models
NLP engineer interview questionsQuestions for NLP roles
Computer vision engineer interview questionsQuestions for computer vision roles

Which questions come up for cloud, DevOps and security roles?

Cloud and DevOps interviews test core services, networking, access control and automation; security interviews test threats, controls and incident thinking.

PostWhat it answers
AWS interview questions for freshersEC2, S3, VPC, IAM, Lambda, security groups vs NACLs and the shared responsibility model
Cloud engineer interview questionsAWS and Azure questions for cloud roles
DevOps engineer interview questionsQuestions for DevOps roles
Cybersecurity engineer interview questionsQuestions for security roles
Solutions architect interview questionsQuestions for solutions architect roles

Which questions come up for software, product and support roles?

These sets cover the role-level and non-technical rounds that sit alongside subject questions.

PostWhat it answers
Software engineer interview questionsSoftware engineering questions with worked answers
Product manager interview questionsPM questions with worked outlines
BPO and customer support interview questionsCommunication, shift, customer-handling and escalation questions, with sample answers
Technical interview preparationHow to prepare for technical rounds in India
HR interview questions for freshersCommon HR questions and answers
Managerial round interview questionsQuestions in the managerial round, with answers

Which subjects should you prepare for your target role?

Target roleCore subjectsRole subjectsRole-level set
Software engineer (IT services)OOPs, DBMS, pseudo-codeJava or Pythonsoftware engineer
Software engineer (product company)DSA, OS, networksOne language in depthsoftware engineer
Web developerJavaScript, networksReact, Node.jssoftware engineer
QA or test engineerDBMS, SQLSelenium and manual testingtechnical prep
Data analystSQL, statisticsExcel, Power BIdata analyst
AI or ML engineerPython, MLGenAI and LLMAI engineer
Cloud or DevOpsOS, networksAWScloud engineer, DevOps
Customer supportCommunicationProcess basicsBPO and support

How should you practise with these question sets?

Do not just read answers. Close the page, answer each question aloud in your own words, then compare. For coding and SQL questions, write the solution yourself before checking, and run it if you can. Keep a short notes file of questions you got wrong and revisit it every few days.

Practise the answer structure interviewers like: a one-line definition, the reason it matters, and a concrete example or small piece of code. If a question has a common trap, such as output order in asynchronous JavaScript or the meaning of a p-value, say the trap out loud; it shows depth.

Connect subjects to your own work. When you explain normalization, mention how you designed tables in your project; when you explain REST, mention the API your app called. The projects and portfolio guide helps you build projects worth talking about.

Finally, learn how your target company runs its rounds. Mass recruiters and product companies test differently, and the company hiring process guides and the broader interview preparation guide cover the round structure.

What do most people get wrong about preparing interview questions?

The biggest mistake is memorising answers word for word. Interviewers almost always follow up with "why?" or "what happens if?", and a memorised answer collapses at the first follow-up. Learn the concept well enough to explain it with a different example than the one you read.

The second mistake is spreading preparation too thin. Freshers try to cover every subject, every framework and every role set, and end up shallow everywhere. Master one programming language and the CS core, then add only the subjects your target role uses. Being solid in a few areas beats being vague in many.

The third is skipping the non-technical rounds. Many candidates clear the technical round and then lose the offer in the HR or managerial round because they did not prepare simple answers about themselves, their projects and their choices. Give these rounds the same practice time you give DSA.

Related guides

FAQ

Which subjects are asked in technical interviews for freshers?

Most fresher technical interviews in India cover one programming language such as Java or Python, OOPs, data structures and algorithms, DBMS and SQL, operating systems and computer networks. On top of that, interviewers test the tools of the role, for example React and Node for web developers, Excel and Power BI for data analysts, or AWS for cloud roles.

Should I prepare Java or Python for placement interviews?

Prepare the language you are most comfortable coding in, and know it deeply. Interviewers care more about clear logic, correct code and understanding of core concepts than about which language you choose. If a job description names a specific language, add its basics. Many IT services roles and Android jobs lean towards Java, while data and AI roles lean towards Python.

How should I answer conceptual technical questions?

Use a simple structure: give a one-line definition, explain why the concept matters, then show a short example or code snippet. If there is a common trap, mention it. Then connect it to something you built, such as a table design in your project. This shows understanding rather than memorisation and prepares you for follow-up questions.

What are pseudo-code questions in placement tests?

Pseudo-code questions show a short, language-neutral program and ask for its output, the number of loop iterations or the bug. They appear in the technical sections of many IT services assessments. Solve them by tracing every variable line by line on paper, and confirm assumptions about division, loop bounds and array indexing before you start.

How much DSA do freshers need for interviews?

It depends on the company. IT services interviews usually test basic arrays, strings and simple logic, while product companies go deeper into linked lists, trees, graphs and dynamic programming. A small set of patterns, such as hashing, two pointers, sliding window, binary search and BFS or DFS, covers most fresher questions. Learn the patterns rather than memorising individual problems.

Are HR and managerial rounds really important?

Yes. Many candidates clear the technical round and then lose the offer in the HR or managerial round. Prepare clear answers about yourself, your projects, your strengths and weaknesses, relocation and shifts, and why you want the role. Practise them aloud just as you would technical questions, and keep answers honest, specific and short.

Final thoughts

Strong interview preparation is layered: the CS core and one language first, then your role's subjects, then the HR and managerial rounds. Practise aloud and connect every answer to something you built. If you want feedback from someone who has interviewed candidates, book a 1:1 session with Asuraa mentors.

Related articles

Share this article

Continue Reading

Data Science Career Paths

Explore different career trajectories in data science and find your perfect fit.

Read article →

Building Your DS Portfolio

Learn how to create projects that impress hiring managers and showcase your skills.

Read article →

Salary Negotiation Guide

Get the compensation you deserve with our proven negotiation strategies.

Review Your Resume →