Infosys Software Engineer (Fresher) Interview Questions (2026): process, questions and answers
Infosys Software Engineer (Fresher) interviews usually focus on aptitude, coding basics, core computer science, and clear communication. Use this page to practise short answers, revise fundamentals, and prepare for common HR and project-style questions.
Preparing for Infosys? Rehearse these questions with Interview AI Helper: ask any question and get a suggested answer in seconds, written from your own resume.
Free 5-minute demoHow the Infosys Software Engineer (Fresher) interview usually works
- Aptitude and reasoning: Candidates commonly report an initial screening with aptitude, logic, and verbal questions. The main goal is to test speed, accuracy, and basic problem solving.
- Coding basics: You are often asked simple programming questions or a small coding task. Interviewers usually check if you can explain logic clearly and write clean code.
- Core CS interview: Expect questions from OOP, DBMS, operating systems, and computer networks. Answers should be correct, concise, and practical, not just theoretical.
- Project or scenario discussion: If you have academic projects or internship work, be ready to explain what you built, the tools used, and the challenges you faced. In consulting work, clear explanation matters as much as technical depth.
- HR round: The HR round usually checks communication, attitude, teamwork, flexibility, and willingness to learn. Simple, honest answers with a positive tone work best.
Technical questions and answers
How do recursion and iteration differ?
Recursion solves a problem by calling the same function again with a smaller input until a base case is reached. Iteration uses loops like for or while to repeat steps. Recursion is often cleaner for tree and divide and conquer problems, but it can use more stack memory. Iteration is usually more memory efficient and easier to control for many basic tasks.
What is the time complexity of binary search, and when can it be used?
Binary search has time complexity O(log n). It works only on sorted data or data that can be searched in sorted order. At each step, it compares the middle element and discards half of the search space. It is much faster than linear search for large sorted arrays, but it is not suitable for unsorted data without sorting first.
What is the difference between == and equals() in Java?
== checks whether two references point to the same object, or compares primitive values directly. equals() checks logical equality of objects, if it is overridden properly in the class. For strings and custom objects, equals() is usually the right method when you want to compare content. In interviews, mention that hashCode() should also be consistent with equals().
What is an interface in OOP, and why is it useful?
An interface defines a contract that a class must follow, usually by implementing its methods. It supports abstraction because it hides implementation details. It is useful when different classes need to follow the same set of behaviours, such as payment methods or logging services. In Java, interfaces also help with loose coupling and multiple inheritance of type.
What is the difference between primary key and foreign key in DBMS?
A primary key uniquely identifies each row in a table, so it cannot be duplicate or NULL. A foreign key is a column that refers to the primary key of another table and creates a relationship between tables. Primary keys ensure entity integrity, while foreign keys help maintain referential integrity. A table can have one primary key but can have multiple foreign keys.
Interview with Infosys coming up?
Practise these Software Engineer (Fresher) questions out loud and get suggested answers in real time, based on your own resume. Free 5-minute demo, no subscription.
Try the free demoWhat is an index in a database?
An index is a data structure that helps the database find rows faster, similar to an index in a book. It improves read performance for search and join operations. However, indexes take extra storage and can slow down INSERT, UPDATE, and DELETE because the index must also be updated. In interviews, say indexes are useful on frequently searched columns.
What is paging in operating systems?
Paging is a memory management technique where virtual memory is divided into fixed-size pages and physical memory into frames. The operating system maps pages to frames using a page table. It helps reduce external fragmentation and allows processes to use non-contiguous memory. If a required page is not in memory, a page fault occurs and the OS loads it from disk.
What is context switching in an operating system?
Context switching is the process of saving the state of one process or thread and restoring the state of another. The OS does this during multitasking so multiple tasks can share the CPU. The saved state includes registers, program counter, and other execution details. It allows responsiveness, but it also adds overhead, so too many context switches can reduce performance.
What is the difference between HTTP and HTTPS?
HTTP sends data in plain text, while HTTPS uses encryption through TLS to protect data in transit. HTTPS also provides authentication and integrity, so users can trust the website more. For login pages, payment pages, and sensitive data, HTTPS is essential. In simple terms, HTTPS = HTTP + security.
What is exception handling, and why is it used?
Exception handling is a way to handle runtime errors without crashing the program immediately. In Java, it usually uses try, catch, finally, and throw. It helps separate normal logic from error handling and makes programs more reliable. In an interview, mention that you should catch only exceptions you can handle and avoid using exceptions for normal control flow.
Scenario questions
A client application is running slowly when many users log in at the same time. What would you check first?
Start with the most likely bottlenecks: database queries, server CPU and memory, and network latency. Mention that you would look for slow queries, missing indexes, repeated calls, and unnecessary work during login. In a consulting setup, also mention checking logs and reproducing the issue under load. Show a methodical approach: measure, isolate, fix, and verify.
You are asked to add a new field to a table used by an existing business app. What should you consider?
Say you would check how the change affects existing queries, validations, reports, and application code. You should also think about default values, backward compatibility, and whether old data needs migration. In a real project, changes should be tested in development and staging before production. Mention coordination with the team because database changes can affect multiple modules.
A teammate gives you a task, but you are not fully sure how to start. What do you do?
Explain that you would first clarify the expected output, deadline, constraints, and any sample input or output. Then break the task into smaller steps and confirm your understanding with the teammate if needed. This shows ownership and communication. For a fresher role, it is good to say you are comfortable asking questions early rather than making wrong assumptions.
HR and behavioural questions
Tell me about yourself.
Structure it as education, technical skills, one project, and why you want this role. Keep it relevant to software development. Sample answer: 'I am a recent graduate with a strong interest in software development. I have worked on projects using Java, SQL, and basic web technologies. I enjoy problem solving and learning new tools, and I am looking for an opportunity to start my career in a team where I can contribute and grow.'
Why do you want to join Infosys?
Focus on learning, scale, client exposure, and structured growth. Sample answer: 'I want to join Infosys because it works on large-scale technology projects and offers a good environment to learn from experienced teams. I also like that the role can help me build strong fundamentals while working on real business problems. I see it as a place where I can contribute, adapt, and grow professionally.'
Describe a time you solved a difficult problem.
Use the STAR method: situation, task, action, result. Pick a college project, coding bug, or teamwork issue. Sample answer: 'In my final project, our module was failing because of incorrect input handling. I traced the issue, tested different cases, and added validation checks. After that, the module worked correctly and the team could finish on time.' Keep it honest and simple.
What is your biggest strength and weakness?
For strength, choose something job relevant, like quick learning or problem solving, and support it with a short example. For weakness, mention a real but manageable one and show improvement. Sample answer: 'My strength is that I learn concepts quickly and apply them in practice. One weakness I had was hesitation in speaking up, but I have been improving by asking questions earlier and participating more in group discussions.'
Your last 48 hours before the interview
- Revise core concepts from OOP, DBMS, operating systems, and computer networks using short notes.
- Practise writing and explaining simple code for arrays, strings, loops, and basic functions.
- Prepare 2 or 3 project explanations, including problem, approach, tools, and outcome.
- Review aptitude basics like percentages, ratios, averages, time and work, and simple logic puzzles.
- Say common answers out loud, especially self-introduction, strengths, weaknesses, and why Infosys.
- Sleep well, keep documents ready, and plan your travel or login setup in advance.
Common mistakes to avoid
- Giving memorised definitions without understanding, avoid this by adding one simple example after each answer.
- Talking too long, avoid this by answering in 50 to 110 words and stopping when the main point is clear.
- Ignoring basics like
NULL, keys, indexes, and time complexity, avoid this by revising fundamentals before advanced topics. - Being vague in HR answers, avoid this by using real examples from study, projects, or teamwork.
Frequently asked questions
What topics are most important for Infosys fresher interview?
Candidates commonly report focus on aptitude, coding basics, OOP, DBMS, operating systems, and computer networks. HR questions are also important because the company looks for clear communication and a learning mindset. Revise core concepts and practise explaining them simply.
Does Infosys ask coding questions for freshers?
Often yes, but usually at a basic level. You may be asked to write simple code, explain logic, or solve a small problem using loops, conditions, arrays, or strings. The interviewer usually checks correctness, clarity, and your ability to explain the approach.
How should I answer technical questions if I forget part of the concept?
Stay calm and explain the part you do know clearly. If needed, define the concept in simple terms, give an example, and mention where it is used. It is better to be honest and structured than to guess. Interviewers usually value a clear thought process.
What kind of HR questions are asked in Infosys fresher interviews?
Common HR questions include self-introduction, strengths, weaknesses, why this company, teamwork, handling pressure, and career goals. The best answers are honest, short, and positive. Show that you are willing to learn, adapt, and work with a team.
Interview with Infosys coming up?
Practise these Software Engineer (Fresher) questions out loud and get suggested answers in real time, based on your own resume. Free 5-minute demo, no subscription.
Try the free demoMore Infosys interview guides
- Infosys Data Analyst interview questions
- Infosys DevOps Engineer interview questions
- Infosys Java Developer interview questions
- Infosys Python Developer interview questions
- Infosys QA Automation Tester interview questions
Software Engineer (Fresher) interview questions at other companies
- Accenture Software Engineer (Fresher) interview questions
- Amazon Software Engineer (Fresher) interview questions
- TCS Software Engineer (Fresher) interview questions
- Wipro Software Engineer (Fresher) interview questions
Related reading
- How to prepare for a technical interview
- All Software Engineer (Fresher) interview questions
- All interview question guides
This is an independent preparation guide based on commonly reported interview patterns. The process varies by team, location and year. Interview AI Helper is not affiliated with Infosys.
← All interview question guides