🏢Company Interviews13 min

Infosys Interview Questions

Infosys hires freshers through InfyTQ and campus drives for System Engineer (SE) and Digital Specialist Engineer (DSE) roles. The pattern is an online test (reasoning, quantitative, verbal, and a notable pseudocode section), followed by a technical interview and an HR round. This guide covers the questions candidates report across each stage, including the pseudocode style that trips people up.

The Infosys Process (InfyTQ / Online Test → Technical → HR)

Infosys is known for its pseudocode and reasoning depth. DSE (higher package) requires a strong coding round.

  • Online test: quantitative aptitude, logical reasoning, verbal, and pseudocode
  • Pseudocode: read code snippets and predict output or fill blanks — language-agnostic logic
  • Technical round: projects, one language, DBMS, OOPs, DSA basics
  • HR round: introduction, strengths, relocation, flexibility, why Infosys
  • DSE candidates get a harder hands-on coding round

Common Interview Questions & Answers

Q1. Tell me about yourself.

Cover your education, one or two relevant projects or skills, and why a software engineering role at Infosys fits your goals — in about 60–90 seconds, ending on enthusiasm.

Anchor it to the role, not your life story.

Q2. What is pseudocode and why does Infosys test it?

Pseudocode expresses an algorithm in plain, language-independent steps. Infosys uses it to test whether you can reason about logic and trace code output regardless of syntax.

Practise 'predict the output' snippets — that's the exact format.

Q3. Explain the difference between == and .equals() in Java.

== compares references (whether two variables point to the same object) for objects, and values for primitives. .equals() compares content/value as defined by the class, e.g. String.equals compares characters.

Mention that String literals may share the pool, which trips up == comparisons.

Q4. What is a deadlock and how do you prevent it?

A deadlock is when two or more processes wait forever for resources the others hold. Prevent it by breaking one of the four Coffman conditions — e.g. acquire locks in a fixed global order, or use timeouts.

Name the four conditions: mutual exclusion, hold-and-wait, no preemption, circular wait.

Q5. What is the difference between WHERE and HAVING in SQL?

WHERE filters rows before grouping and can't use aggregate functions; HAVING filters groups after GROUP BY and can use aggregates like COUNT or SUM.

A quick example with GROUP BY department HAVING COUNT(*) > 5 lands well.

Q6. Explain time complexity and give examples.

Time complexity describes how runtime grows with input size using Big-O. O(1) constant, O(log n) binary search, O(n) linear scan, O(n log n) good sorts, O(n²) nested loops.

Be ready to give the complexity of a loop they write on the spot.

Q7. What are the different types of inheritance?

Single, multilevel, hierarchical, multiple (via interfaces in Java), and hybrid. Java avoids multiple class inheritance to prevent the diamond problem, using interfaces instead.

Mention the diamond problem — it shows depth.

Q8. What is a foreign key?

A foreign key is a column that references the primary key of another table, enforcing referential integrity so you can't insert an orphan row that points to a non-existent parent.

Mention ON DELETE CASCADE as a follow-up.

Q9. Reverse a string without using a built-in reverse.

Use two pointers, one at each end, swap characters and move inward until they meet; or build a new string iterating from the last index. Both are O(n).

State the complexity and edge cases (empty string) unprompted.

Q10. What is the difference between process and thread?

A process is an independent program with its own memory space; a thread is a lightweight unit within a process that shares the process's memory. Threads are cheaper to create and switch between.

Mention that shared memory is why threads need synchronization.

Q11. Why Infosys?

Cite Infosys's global reputation, strong fresher training (Mysore campus / Infosys Springboard), exposure to modern tech and digital projects, and structured growth — tied to your goal of a strong start.

One specific, genuine reason beats generic flattery.

Q12. Are you comfortable relocating and working in any shift?

Yes — express clear flexibility on location and shifts. Infosys deploys freshers across locations and client time zones.

Answer decisively; hesitation is a red flag here.

Q13. What is a virtual function?

A virtual function (C++) is a base-class function you can override in a derived class, resolved at runtime (dynamic dispatch) via the vtable — enabling runtime polymorphism.

In Java, note all non-static methods are virtual by default.

Q14. What are your strengths?

Pick one relevant strength (adaptability, problem-solving, quick learning) and prove it with a specific project or academic example.

Always back a strength with evidence.

Q15. Do you have questions for us?

Yes — ask about the training journey, technologies a fresher works on, or how Infosys supports certifications. It shows initiative.

Prepare two thoughtful questions beforehand.

Common Mistakes to Avoid

Neglecting the pseudocode section — it's uniquely weighted at Infosys

Not knowing your resume projects deeply

Vague self-introduction

Hesitating on relocation or shift flexibility

Ignoring DBMS and OS fundamentals

Expert Tips

Practise 'predict the output' pseudocode daily — it's the signature Infosys question type

Use Infosys Springboard resources to align with their expectations

Revise OS (deadlock, process/thread) — Infosys asks it more than others

Keep answers structured and calm; communication is scored

Pre-Interview Checklist

6 items

Frequently Asked Questions

What is InfyTQ?

InfyTQ is Infosys's certification and hiring platform for engineering students, used as an entry route into the SE/DSE roles alongside campus drives.

Is Infosys pseudocode hard?

It's tricky if unprepared because it's language-agnostic and focuses on tracing logic. Regular output-prediction practice makes it very manageable.

What's the difference between SE and DSE at Infosys?

DSE (Digital Specialist Engineer) is the higher-package role needing a strong coding round; SE (System Engineer) is the standard fresher role.

🎯

Ready to ace your next interview?

Practice with SpeakWell AI. Upload your resume → get resume-based questions → practice with AI interviewers → improve communication → track progress → get instant AI feedback.

Back to all guides