# Interview Questions for Freshers, With Answers by Topic

> Interview questions for freshers with clear answers: Java, Python, SQL, technical and HR rounds, plus how each round works and a 2-week prep plan.

Canonical: https://devsunite.com/guides/interview-questions-for-freshers
Last updated: 2026-11-02

Last updated: 2026-11-02

These interview questions for freshers cover every round an entry-level tech candidate usually faces: aptitude and coding, the technical interview, and the HR or behavioral round. Pick a topic below for a full question bank with answers, or start with the 12 most common questions on this page.

Each answer is written to be said out loud in an interview: short, correct, and followed by the detail an interviewer is likely to ask next.

## How fresher interviews are structured

The exact process varies by company, but most fresher hiring follows the same shape.

| Round | What it checks | Prepare with |
| --- | --- | --- |
| Online assessment | Aptitude, reasoning and 1 to 3 coding problems under time pressure | Aptitude prep and DSA sheets |
| Technical interview | DSA, one programming language, OOP, DBMS, OS, networks and your projects | Technical questions and Core Subjects |
| HR or behavioral | Communication, motivation, teamwork, honesty and fit | HR questions and your self introduction |

Indian campus drives often run all rounds in one day. US and UK new-grad hiring usually adds a recruiter screen first and spreads technical rounds over a few weeks, with more weight on coding and behavioral questions. Company-specific lists are in [FAANG interview questions](https://devsunite.com/resources/faang-interview-questions).

## Technical interview questions for freshers

The technical round tests fundamentals more than frameworks. Expect data structures and algorithms, the four pillars of OOP, DBMS and SQL, operating systems basics and a few networking questions, then a deep dive into one of your projects. The full bank is in [technical interview questions for freshers](https://devsunite.com/guides/technical-interview-questions-for-freshers); language-specific banks for [Java](https://devsunite.com/guides/java-interview-questions-for-freshers), [Python](https://devsunite.com/guides/python-interview-questions-for-freshers) and [SQL](https://devsunite.com/guides/sql-interview-questions-for-freshers) go deeper.

## HR interview questions for freshers

The HR round checks whether you can explain yourself clearly and honestly. Expect "tell me about yourself", strengths and weaknesses, why this company, a time you worked in a team, and questions about relocation or shifts. See [HR interview questions for freshers](https://devsunite.com/guides/hr-interview-questions-for-freshers) for sample answers built on the STAR method.

## 12 common interview questions for freshers with answers

A mix of the questions that come up in almost every fresher interview, technical and HR.

### 1. Tell me about yourself.

Answer in 60 to 90 seconds with four parts: who you are now (degree, focus), your best proof (one project or internship with a result), what you are good at, and why this role. Leave out family details and anything already obvious. Full structure and samples: [self introduction for interview](https://devsunite.com/guides/self-introduction-for-interview).

### 2. Walk me through your best project.

- The problem and who it was for, in one sentence.
- Your stack and why you chose it.
- Your part, if it was a team project.
- The hardest bug or design decision, and how you solved it.
- What you would change now.

Interviewers follow up on whatever you mention, so only bring up parts you understand fully.

### 3. What is the difference between an array and a linked list?

An array stores elements in contiguous memory, so reading index `i` is O(1), but inserting or deleting in the middle is O(n) because elements shift. A linked list stores nodes that point to the next node, so inserting after a known node is O(1), but reaching the i-th element is O(n). Arrays are also more cache friendly.

### 4. What are the four pillars of OOP?

**Encapsulation** (bundling data with the methods that use it and hiding internals), **abstraction** (exposing what an object does, not how), **inheritance** (a class reusing and extending another) and **polymorphism** (one interface, many implementations, through overloading or overriding). Give a small example for each. More in [Core Subjects: OOP](https://devsunite.com/resources/core-subjects/oop).

### 5. What is the difference between a process and a thread?

A process is a running program with its own address space. Threads live inside a process and share its memory and open files but each has its own stack and registers. Threads are cheaper to create and switch between, but shared memory means you need synchronization to avoid race conditions.

### 6. What is normalization in DBMS?

Normalization organizes tables to remove redundancy and update anomalies by splitting data based on functional dependencies. 1NF requires atomic values, 2NF removes partial dependencies on a composite key, 3NF removes transitive dependencies, and BCNF requires every determinant to be a candidate key. See [normalisation](https://devsunite.com/resources/core-subjects/dbms/understand-normalisation).

### 7. Write a query to find the second highest salary.

```sql
SELECT MAX(salary) AS second_highest
FROM employees
WHERE salary < (SELECT MAX(salary) FROM employees);
```

This handles duplicate top salaries and returns NULL if there is no second value. More variants in [SQL interview questions for freshers](https://devsunite.com/guides/sql-interview-questions-for-freshers).

### 8. What happens when you type a URL into a browser?

The browser resolves the domain to an IP address through DNS (checking caches first), opens a TCP connection (and a TLS handshake for HTTPS), sends an HTTP request, receives the response, then parses the HTML and fetches CSS, JavaScript and images to render the page.

### 9. What are your strengths and weaknesses?

Pick one strength relevant to the role and prove it with an example. For the weakness, pick a real but non-critical one and say what you are doing about it, for example "I used to underestimate tasks, so I now break work into smaller pieces and track them". Avoid fake weaknesses like "I work too hard".

### 10. Why should we hire you?

Connect two or three things from the job description to evidence from your resume, then add one line on attitude (learning fast, owning work). Keep it under a minute and do not compare yourself with other candidates.

### 11. Where do you see yourself in five years?

Show direction without sounding like you will leave soon: "I want to be a strong backend engineer who owns features end to end and helps newer teammates, ideally growing within a team like this one."

### 12. Do you have any questions for us?

Always ask one or two. Good ones: "What does a new graduate work on in the first three months?", "How is code reviewed on the team?" and "What does success look like in this role after a year?" Avoid questions answered on the careers page.

## How to prepare for interview questions for freshers in 2 weeks

### 13. What should I study in week 1?

- Daily: 2 to 3 coding problems from one [DSA sheet](https://devsunite.com/resources/dsa-sheets), grouped by [pattern](https://devsunite.com/resources/dsa-patterns).
- Revise one core subject per day: OOP, DBMS and SQL, OS, networks.
- Write your self introduction and a 2-minute walkthrough of each project.

### 14. What should I study in week 2?

- Go through the question bank for your main language ([Java](https://devsunite.com/guides/java-interview-questions-for-freshers) or [Python](https://devsunite.com/guides/python-interview-questions-for-freshers)) and answer each one aloud.
- Prepare 5 STAR stories for the [HR round](https://devsunite.com/guides/hr-interview-questions-for-freshers).
- Do at least two timed [mock interviews](https://devsunite.com/mock-interview) and fix what they expose.
- Read the company's questions in [FAANG interview questions](https://devsunite.com/resources/faang-interview-questions) if it is listed.

## Frequently asked questions

### Where can I find interview questions for freshers with answers?

This page links full question banks with answers for Java, Python, SQL, technical and HR rounds, all free on DevsUnite. Each bank has 25 or more questions with short, correct answers.

### What are the most common technical interview questions for freshers?

Array vs linked list, the four pillars of OOP, process vs thread, normalization, SQL joins, TCP vs UDP and a walkthrough of your best project come up in most fresher technical rounds.

### How do I prepare for HR interview questions for freshers?

Prepare a 60 to 90 second self introduction, five short STAR stories (teamwork, conflict, failure, learning something fast, leadership) and honest answers about relocation and expectations. Practice them aloud.

### Which programming language should a fresher use in interviews?

Use the language you know best, usually Java, Python or C++. Interviewers care more about correct logic and clear explanation than about the language, unless the role names one.

### How many rounds are there in a fresher interview?

Usually three to four: an online assessment, one or two technical interviews and an HR or behavioral round. Some startups combine the technical and HR rounds.

## Related

- [Mock Interview](https://devsunite.com/mock-interview)
- [Self introduction for interview](https://devsunite.com/guides/self-introduction-for-interview)
- [Resume format for freshers](https://devsunite.com/guides/resume-format-for-freshers)
- [FAANG interview questions](https://devsunite.com/resources/faang-interview-questions)
- [Core Subjects](https://devsunite.com/resources/core-subjects)
- [Aptitude Prep](https://devsunite.com/resources/aptitude-prep)
- [Internships](https://devsunite.com/internships)
- [Fresher tech jobs](https://devsunite.com/jobs)
- [All career guides](https://devsunite.com/guides)
