Upload Button Icon Add office photos

Filter interviews by

Infosys Consulting Associate Software Developer Interview Questions and Answers

Updated 7 Dec 2021

Infosys Consulting Associate Software Developer Interview Experiences

1 interview found

I applied via Job Portal and was interviewed in Nov 2021. There were 3 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. What is oops concepts
  • Ans. 

    OOPs concepts are the principles of Object-Oriented Programming that focus on encapsulation, inheritance, polymorphism, and abstraction.

    • Encapsulation is the process of hiding the implementation details of an object from the outside world.

    • Inheritance is the process of creating a new class from an existing class, inheriting all the properties and methods of the parent class.

    • Polymorphism is the ability of an object to tak...

  • Answered by AI
  • Q2. 5 types of concept 1 class. 2 polymorphism. 3inheritance.

Interview Preparation Tips

Interview preparation tips for other job seekers - Deep learning regarding the technical type interview

Interview questions from similar companies

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(3 Questions)

  • Q1. As a fresher, Explain OOPS, Difference between Abstraction and Interface,
  • Q2. How can we handle Exception in java?
  • Ans. 

    Exceptions in Java can be handled using try-catch blocks and throwing exceptions.

    • Use try-catch blocks to handle exceptions in Java.

    • Catch specific exceptions using multiple catch blocks.

    • Use finally block to execute code regardless of exception.

    • Throw custom exceptions using throw keyword.

    • Use throws keyword in method signature to declare exceptions that can be thrown.

  • Answered by AI
  • Q3. SQL Queries asked like 2nd highest salary of Employee
Round 2 - HR 

(2 Questions)

  • Q1. Introduce yourself
  • Q2. Hobbies and where you want to see you in 5 Years.

Interview Preparation Tips

Interview preparation tips for other job seekers - Just give answers confidently.

Skills evaluated in this interview

I applied via campus placement at Sinhgad College of Engineering, Pune and was interviewed in Nov 2021. There were 4 interview rounds.

Interview Questionnaire 

27 Questions

  • Q1.  Introduce about yourself.
  • Q2. Tell me something about your final year project
  • Q3. Which are the technologies that you are going to implement in your final year project?
  • Q4. What are your primary skills?
  • Ans. I was proficient in C/C++, Python, HTML, CSS & SQL
  • Answered Anonymously
  • Q5. Why do you prefer python?
  • Ans. 

    Python is a versatile language with a simple syntax and a vast library of modules.

    • Easy to learn and read

    • Supports multiple programming paradigms

    • Large community and extensive documentation

    • Suitable for various applications such as web development, data analysis, and machine learning

  • Answered by AI
  • Q6. What is the difference between python & other programming languages?
  • Ans. 

    Python is a high-level, interpreted programming language known for its simplicity, readability, and ease of use.

    • Python is dynamically typed, meaning that variable types are determined at runtime.

    • Python has a large standard library and a vast collection of third-party libraries.

    • Python is often used for web development, scientific computing, data analysis, and artificial intelligence.

    • Python code is typically shorter and ...

  • Answered by AI
  • Q7. What are python Modules?
  • Ans. 

    Python modules are files containing Python code that can be imported and used in other Python programs.

    • Modules are used to organize code into reusable and maintainable structures.

    • Python has a large standard library of modules that can be imported and used.

    • Third-party modules can also be installed and used in Python programs.

    • Modules can define functions, classes, and variables that can be accessed by other modules.

    • Modul...

  • Answered by AI
  • Q8. What are python generators?
  • Ans. 

    Python generators are functions that return an iterator and generate values on the fly.

    • Generators use the 'yield' keyword to return values one at a time.

    • They can be used to generate an infinite sequence of values.

    • Generators are memory efficient as they generate values on the fly instead of storing them in memory.

    • Example: def my_generator(): yield 1; yield 2; yield 3;

    • Example: for num in my_generator(): print(num)

  • Answered by AI
  • Q9. What are python iterators?
  • Ans. 

    Python iterators are objects that allow iteration over a collection of elements.

    • Iterators are used to loop through a collection of elements, one at a time.

    • They implement the __iter__() and __next__() methods.

    • The __iter__() method returns the iterator object and the __next__() method returns the next element in the sequence.

    • Iterators can be created using iter() function or by defining a class that implements the require...

  • Answered by AI
  • Q10. Which constructors are used in python?
  • Ans. 

    Python has two types of constructors - default and parameterized constructors.

    • Default constructor has no parameters and is automatically called when an object is created.

    • Parameterized constructor takes parameters and is used to initialize the object's attributes.

    • Example of default constructor: def __init__(self):

    • Example of parameterized constructor: def __init__(self, name, age):

  • Answered by AI
  • Q11. Do python has any destructor? If yes then what is that destructor?
  • Ans. 

    Yes, Python has a destructor called __del__().

    • The __del__() method is called when an object is about to be destroyed.

    • It is used to perform cleanup operations before the object is destroyed.

    • The __del__() method is not guaranteed to be called, so it should not be relied upon for critical cleanup operations.

  • Answered by AI
  • Q12. How is memory managed in python?
  • Ans. 

    Python uses automatic memory management through garbage collection.

    • Python uses reference counting to keep track of memory usage.

    • Objects with no references are automatically deleted by the garbage collector.

    • Python also has a built-in module called 'gc' for manual garbage collection.

    • Memory leaks can occur if circular references are not handled properly.

  • Answered by AI
  • Q13. How will you delete a file in python module using a python code?
  • Ans. 

    To delete a file in Python module, use the os module's remove() method.

    • Import the os module

    • Use the remove() method to delete the file

    • Specify the file path in the remove() method

    • Example: import os; os.remove('file.txt')

  • Answered by AI
  • Q14. Tell me some of the data types that are used in python?
  • Ans. 

    Python has several data types including integers, floats, strings, booleans, lists, tuples, dictionaries, and sets.

    • Integers represent whole numbers, e.g. 5, -10.

    • Floats represent decimal numbers, e.g. 3.14, -2.5.

    • Strings represent sequences of characters, e.g. 'hello', 'Python'.

    • Booleans represent either True or False.

    • Lists are ordered collections of items, e.g. [1, 2, 3].

    • Tuples are similar to lists but immutable, e.g. (1...

  • Answered by AI
  • Q15. What is the difference between variable and literal?
  • Ans. 

    Variables are containers that store values while literals are values themselves.

    • Variables can be changed while literals cannot

    • Variables can be assigned to literals

    • Literals are used to represent fixed values

    • Variables are used to represent changing values

  • Answered by AI
  • Q16. How many types of values are there in python?
  • Ans. 

    Python has five standard data types: Numbers, Strings, Lists, Tuples, and Dictionaries.

    • Numbers include integers, floating-point numbers, and complex numbers.

    • Strings are sequences of Unicode characters.

    • Lists are ordered sequences of values.

    • Tuples are ordered, immutable sequences of values.

    • Dictionaries are unordered collections of key-value pairs.

  • Answered by AI
  • Q17. Tell something about init() method in python?
  • Ans. 

    init() method is a constructor method in Python that is called when an object is created.

    • It initializes the attributes of the object.

    • It takes self as the first parameter.

    • It can be used to perform any setup required before the object is used.

    • It can be overridden to customize the initialization process.

    • Example: def __init__(self, name, age): self.name = name self.age = age

  • Answered by AI
  • Q18. What is global & local variable in python?
  • Ans. 

    Global variables are accessible throughout the program, while local variables are only accessible within a specific function.

    • Global variables are declared outside of any function and can be accessed from any part of the program.

    • Local variables are declared within a function and can only be accessed within that function.

    • If a local variable has the same name as a global variable, the local variable takes precedence withi...

  • Answered by AI
  • Q19. What is slicing in Python?
  • Ans. 

    Slicing is a way to extract a portion of a sequence (string, list, tuple) in Python.

    • Slicing is done using the colon (:) operator.

    • The syntax for slicing is [start:stop:step].

    • start is the index where the slice starts (inclusive), stop is the index where the slice ends (exclusive), and step is the size of the jump between indices.

    • If start or stop is not specified, it defaults to the beginning or end of the sequence.

    • If ste...

  • Answered by AI
  • Q20. What is the split & join method?
  • Ans. 

    Split method splits a string into an array of substrings based on a specified separator. Join method joins the elements of an array into a string.

    • Split method returns an array of strings.

    • Join method concatenates the elements of an array into a string.

    • Both methods are used to manipulate strings in JavaScript.

    • Example: var str = 'apple,banana,orange'; var arr = str.split(','); var newStr = arr.join('-');

    • Output: arr = ['ap...

  • Answered by AI
  • Q21. What are the front end technologies you know?
  • Ans. 

    I am familiar with HTML, CSS, and JavaScript for front-end development.

    • HTML

    • CSS

    • JavaScript

  • Answered by AI
  • Q22. What are the building blocks of object oriented programming?
  • Ans. 

    The building blocks of object oriented programming are classes, objects, inheritance, encapsulation, and polymorphism.

    • Classes are templates for creating objects

    • Objects are instances of classes

    • Inheritance allows classes to inherit properties and methods from parent classes

    • Encapsulation is the practice of hiding implementation details from users

    • Polymorphism allows objects to take on multiple forms

  • Answered by AI
  • Q23. What is pass by value & pass by reference?
  • Ans. 

    Pass by value copies the value of a variable, while pass by reference copies the address of the variable.

    • Pass by value creates a new copy of the variable, while pass by reference uses the original variable.

    • Pass by value is used for primitive data types, while pass by reference is used for objects and arrays.

    • Pass by value is faster and safer, while pass by reference allows for more efficient memory usage.

    • Pass by value c...

  • Answered by AI
  • Q24. What is operator overloading & function overloading?
  • Ans. 

    Operator overloading is the ability to redefine operators for user-defined types. Function overloading is the ability to define multiple functions with the same name but different parameters.

    • Operator overloading allows user-defined types to use operators such as +, -, *, /, etc.

    • Function overloading allows multiple functions to have the same name but different parameters.

    • Operator overloading and function overloading bot...

  • Answered by AI
  • Q25. What are joins in SQL? Explain each with the real life example?
  • Ans. 

    Joins in SQL are used to combine data from two or more tables based on a related column.

    • Inner join returns only the matching rows from both tables.

    • Left join returns all the rows from the left table and matching rows from the right table.

    • Right join returns all the rows from the right table and matching rows from the left table.

    • Full outer join returns all the rows from both tables.

    • Example: Inner join can be used to combi...

  • Answered by AI
  • Q26. Then some SQL queries
  • Q27. & finally what is indexs in SQL? What are there types?
  • Ans. 

    Indexes in SQL are used to improve query performance by allowing faster data retrieval.

    • Indexes are data structures that store a small portion of the table data in an easily searchable format.

    • Types of indexes include clustered, non-clustered, unique, and full-text indexes.

    • Clustered indexes determine the physical order of data in a table, while non-clustered indexes create a separate structure for faster searching.

    • Unique...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare all the skills deeply that you are going to include in the resume.
Master at least one programming language or at least possess a good knowledge about it.
Don't just study the theory. Be prepared with the practical knowledge.
Pay attention to your communication skill.
Be confident & honest.

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Campus Placement and was interviewed in Dec 2023. There were 3 interview rounds.

Round 1 - Aptitude Test 

It's aptitude and coding test they asked questions related to data interpretation mostly.and one coding question easy one and two SQL questions I got on joins

Round 2 - Group Discussion 

Topic given by them you have two minutes to think and then discuss with group for 5 minutes. At the end they ask for conclusion from everyone there is group of eight students and they select two or three from them

Round 3 - Technical 

(5 Questions)

  • Q1. Asked about testing
  • Q2. What are types of testing
  • Ans. 

    Types of testing include unit testing, integration testing, system testing, acceptance testing, and regression testing.

    • Unit testing: Testing individual components or functions of the software.

    • Integration testing: Testing how different components work together.

    • System testing: Testing the entire system as a whole.

    • Acceptance testing: Testing to ensure the software meets the requirements.

    • Regression testing: Testing to ensu...

  • Answered by AI
  • Q3. Project related questions
  • Q4. Hr related questions
  • Q5. Whitebox vs black box testing
  • Ans. 

    Whitebox testing is testing the internal logic of the software, while black box testing is testing the functionality without knowledge of the internal code.

    • Whitebox testing involves testing the internal structure, code paths, and algorithms of the software.

    • Black box testing involves testing the functionality, inputs, and outputs of the software without knowledge of the internal code.

    • Whitebox testing is typically done b...

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Jan 2023. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - One-on-one 

(1 Question)

  • Q1. Spark architecture pyspark coding sql coding
Round 3 - One-on-one 

(1 Question)

  • Q1. Spark architecture sql window functions,aggreate functions pyspark data frame coding

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare sql, python, pyspark dataframe coding, data modelling
Interview experience
1
Bad
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Technical 

(2 Questions)

  • Q1. Different between Thread and Task?
  • Ans. 

    Thread is a lightweight process that runs concurrently with other threads in a process. A task is a unit of work that can be executed asynchronously.

    • Threads are managed by the operating system, while tasks are managed by a task scheduler.

    • Threads are more low-level and require more manual management, while tasks are higher-level and can be managed more easily.

    • Threads are typically used for parallelism, while tasks are u...

  • Answered by AI
  • Q2. Static Constructor overloaded or not?
  • Ans. 

    Static constructor can be overloaded in C#.

    • Static constructor is used to initialize static fields of a class.

    • Overloading static constructor is useful when we want to initialize different static fields with different values.

    • Static constructor is called only once, before the first instance of the class is created.

    • Static constructor has no access modifier and no parameters.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Practice syntaxes.
Practice every minute exceptional behavior of OOps. Which do we generally not use?

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Campus Placement and was interviewed in Jul 2022. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Properly align and format text in your resume. A recruiter will have to spend more time reading poorly aligned text, leading to high chances of rejection.
View all tips
Round 2 - Aptitude Test 

They asked various technology related questions such as ML, JS, OOPs, DBMS, OS etc

Round 3 - Personal Interview 

(2 Questions)

  • Q1. It was resume based interview. First introduce yourself. Question about ML( Mentioned in my resume) SQL query related to 'LIKE' ONE coding question(reverse string)
  • Q2. Reverse String Search a pattern in database.(related to LIKE) What is normalization(ML)
Round 4 - HR 

(1 Question)

  • Q1. Round was named HR but it was like one to one discussion about desired location etc

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare what is written on resume. If you have written ML then try to read basics about it.
If you have SQL then basic questions will do it for you.
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Sep 2022. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Double-check your resume for any spelling mistakes. The recruiter may consider spelling mistakes as careless behavior or poor communication skills.
View all tips
Round 2 - Technical 

(2 Questions)

  • Q1. Pillar of java with example
  • Ans. 

    Four pillars of Java are Abstraction, Encapsulation, Inheritance, and Polymorphism.

    • Abstraction: Hiding implementation details and showing only necessary information.

    • Encapsulation: Wrapping data and code into a single unit.

    • Inheritance: Acquiring properties and behavior of a parent class by a child class.

    • Polymorphism: Ability of an object to take many forms.

    • Example: A car is an abstraction of a vehicle, encapsulating its...

  • Answered by AI
  • Q2. Collection based questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Just do string related coding program and concepts of collection

Skills evaluated in this interview

I applied via Naukri.com and was interviewed in Oct 2022. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Do not use an unprofessional email address such as cool_boy@email.com. It shows a lack of professionalism by the candidate.
View all tips
Round 2 - Technical 

(1 Question)

  • Q1. Angular Life Cycle hooks AOT vs JIT Call stack and event loop ngOnchanges vs ngDocheck @hostlistner component interaction content projection call, apply bind
Round 3 - Coding Test 

Duration 30 minutes, topics were related to Javascript and Angular

Round 4 - PM Round 

(1 Question)

  • Q1. Write a program to find count of character from a string. Write a program to sort array without using sort method
  • Ans. 

    Program to count characters in a string and sort an array without using sort method

    • Use a loop to iterate through the string and count each character

    • For sorting an array, use a loop to compare each element with all other elements and swap if necessary

    • Implement a sorting algorithm like bubble sort, insertion sort or quick sort

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Keep coding. Work on a self project. Clear fundamentals.

I was interviewed in Mar 2022.

Round 1 - Coding Test 

(1 Question)

Round duration - 60 minutes
Round difficulty - Medium

Mcq + Data structures questions

  • Q1. Maximum sum subarray

    Given an array of numbers, find the maximum sum of any contiguous subarray of the array.

    For example, given the array [34, -50, 42, 14, -5, 86], the maximum sum would be 137, since w...

  • Ans. Brute Force Approach
    1. Create a nested loop. The outer loop will go from i = 0 to i = n - k. This will cover the starting indices of all k-subarrays
    2. The inner loop will go from j = i to j = i + k - 1. This will cover all the elements of the k-subarray starting from index i
    3. Keep track of the maximum element in the inner loop and print it.
    Space Complexity: O(1)Explanation:

    O(1) because the extra space being used (looping vari...

  • Answered by CodingNinjas
Round 2 - Video Call 

(1 Question)

Round duration - 70 minutes
Round difficulty - Medium

Standard System Design round

  • Q1. System Design Question

    Design a Doctor Appointment System with some testcases

  • Ans. 

    Tip 1 : Implement using OOPs 
    Tip 2 : Try to tell your approach to the interviewer as much as you can side by side

  • Answered by CodingNinjas
Round 3 - Video Call 

(7 Questions)

Round duration - 90 minutes
Round difficulty - Medium

Interview of DSA + OOPS + Databse(SQL query) + Operating System

  • Q1. Left View Of Binary Tree

    Given a binary tree. Print the Left View of the Tree.

    Example :
    If the input tree is as depicted in the picture: 
    

    The Left View of the tree will be:  2 35 2 
    
    Input format :
    ...

  • Ans. Recursive Approach

    This problem can be solved through recursion.We will maintain max_level variable which will keep track of maxLevel and will pass current level in recursion as argument. Whenever we see a node whose current level is more than maxLevel then we will print that node as that will be first node for that current level. Also update maxLevel with current level.

    Space Complexity: O(n)Explanation:

    O(N), where ‘N’...

  • Answered by CodingNinjas
  • Q2. SQL Question

    What is the difference between CHAR and VARCHAR2 datatype in SQL? 

  • Q3. SQL Question

    Write an SQL query to find names of employees starting with ‘A’? 
     

  • Q4. OOPS Question

    What are the various types of constructors in C++?

  • Q5. OOPS Question

    What is the difference between overloading and overriding?

  • Q6. Operating System Question

    What is a process? What are the different states of a process?

  • Q7. Operating System Question

    What is IPC? What are the different IPC mechanisms?

Round 4 - HR 

(1 Question)

Round duration - 60 minutes
Round difficulty - Easy

Hr round - normal hr questions + situational 

Thoughtworks community discussion

  • Q1. Basic HR Question

    Why should we hire you?

  • Ans. 

    Tip 1 : Read all Thoughtworks community page and be honest


    Tip 2 : Be open-minded and answer whatever you are thinking, in these rounds I feel it is important to have opinion.


    Tip 3 : The cross-questioning can go intense sometimes, think before you speak.

  • Answered by CodingNinjas

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in GurgaonEligibility criteriaAbove 7 CGPAThought Works interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 4 monthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.

Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.

Tip 3 : Do at-least 2 good projects and you must know every bit of them.


 

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.

Tip 2 : Every skill must be mentioned.

Tip 3 : Focus on skills, projects and experiences more.


 

Final outcome of the interviewSelected

Skills evaluated in this interview

Infosys Consulting Interview FAQs

What are the top questions asked in Infosys Consulting Associate Software Developer interview?

Some of the top questions asked at the Infosys Consulting Associate Software Developer interview -

  1. What is oops conce...read more
  2. 5 types of concept 1 class. 2 polymorphism. 3inheritance. ...read more

Tell us how to improve this page.

People are getting interviews through

based on 1 Infosys Consulting interview
Job Portal
100%
Low Confidence
?
Low Confidence means the data is based on a small number of responses received from the candidates.
Consultant
389 salaries
unlock blur

₹9.3 L/yr - ₹25.1 L/yr

Senior Consultant
347 salaries
unlock blur

₹11.9 L/yr - ₹36.2 L/yr

Business Consultant
293 salaries
unlock blur

₹15.3 L/yr - ₹24.2 L/yr

Senior Associate Consultant
153 salaries
unlock blur

₹6.5 L/yr - ₹15 L/yr

Associate Consultant
139 salaries
unlock blur

₹6 L/yr - ₹12.5 L/yr

Explore more salaries
Compare Infosys Consulting with

TCS

3.7
Compare

Wipro

3.7
Compare

HCLTech

3.5
Compare

Tech Mahindra

3.6
Compare

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Did you find this page helpful?
Yes No
write
Share an Interview