Premium Employer

i

This company page is being actively managed by Infosys Team. If you also belong to the team, you can get access from here

Infosys Verified Tick Work with us arrow

Compare button icon Compare button icon Compare

Filter interviews by

Infosys Python Developer Lead Interview Questions and Answers

Updated 9 Dec 2024

10 Interview questions

A Python Developer Lead was asked 10mo ago
Q. Explain the different types of inheritance.
Ans. 

Type of inheritance in object-oriented programming determines how a subclass can inherit attributes and methods from a superclass.

  • Single inheritance: a subclass inherits from only one superclass.

  • Multiple inheritance: a subclass inherits from multiple superclasses.

  • Multilevel inheritance: a subclass inherits from a superclass, which in turn inherits from another superclass.

  • Hierarchical inheritance: multiple subclass...

A Python Developer Lead was asked 10mo ago
Q. What is an AWS Lambda function?
Ans. 

AWS Lambda is a serverless computing service provided by Amazon Web Services.

  • Serverless computing service

  • Allows running code without provisioning or managing servers

  • Automatically scales based on incoming traffic

  • Supports multiple programming languages like Python, Node.js, Java, etc.

  • Pay only for the compute time consumed

Python Developer Lead Interview Questions Asked at Other Companies

asked in Infosys
Q1. what is list comprehension? write some sample code? what is use o ... read more
asked in Infosys
Q2. what is dictionary? is this accept duplicate or not?
asked in Tradofina
Q3. What is 21. Hash mapping 22. Mutable and immutable 23. Bugsnag li ... read more
asked in Infosys
Q4. What are the main principles of OOP?
asked in Infosys
Q5. What is a generator? Write sample code.
A Python Developer Lead was asked 10mo ago
Q. What are the differences between a list and a tuple?
Ans. 

List is mutable, tuple is immutable in Python.

  • List can be modified after creation, tuple cannot.

  • List uses square brackets [], tuple uses parentheses ().

  • List is used for dynamic data, tuple for fixed data.

  • Example: list_example = [1, 2, 3], tuple_example = (4, 5, 6)

🔥 Asked by recruiter 2 times
A Python Developer Lead was asked 10mo ago
Q. What is a decorator?
Ans. 

Decorator is a design pattern in Python that allows adding new functionality to an existing object without modifying its structure.

  • Decorators are functions that take another function as an argument and extend its behavior without modifying it directly.

  • They are commonly used to add logging, timing, caching, or authentication to functions.

  • Decorators use the @ symbol followed by the decorator name above the function ...

A Python Developer Lead was asked 10mo ago
Q. What is a generator? Write sample code.
Ans. 

A generator in Python is a function that returns an iterator object which can be iterated over to generate values lazily.

  • Generators are created using a function with 'yield' keyword instead of 'return'.

  • They allow for efficient memory usage as they generate values on the fly.

  • Generators are useful for generating large sequences of data without storing them in memory.

  • Example: def my_generator(): for i in range(5): ...

🔥 Asked by recruiter 3 times
A Python Developer Lead was asked 10mo ago
Q. Write code to generate the Fibonacci series.
Ans. 

Fibonacci series is a sequence of numbers where each number is the sum of the two preceding ones.

  • Initialize variables for the first two numbers in the series (0 and 1)

  • Use a loop to calculate the next number by adding the previous two numbers

  • Continue the loop until the desired number of terms is reached

A Python Developer Lead was asked 10mo ago
Q. What are the main principles of OOP?
Ans. 

Main principles of OOP include encapsulation, inheritance, polymorphism, and abstraction.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit (class). Example: Class with private attributes and public methods.

  • Inheritance: Ability to create a new class (derived class) from an existing class (base class), inheriting its attributes and methods. Example: Subclass 'Dog' inheriting from s...

Are these interview questions helpful?
A Python Developer Lead was asked 10mo ago
Q. Can you explain the use of multiple decorators in Python?
Ans. 

Multiple decorators in Python allow stacking functions to enhance behavior without modifying the original function.

  • Decorators are functions that modify the behavior of another function.

  • Multiple decorators can be applied by stacking them above a function definition.

  • Example: @decorator1 @decorator2 def my_function(): pass

  • The order of decorators matters; the innermost decorator is applied first.

  • Use cases include logg...

A Python Developer Lead was asked 10mo ago
Q. What is list comprehension? write some sample code? what is use of it?
Ans. 

List comprehension is a concise way to create lists in Python by iterating over an existing list or iterable.

  • List comprehension is more concise and readable than traditional loops.

  • It can be used to filter elements, perform operations on elements, or create new lists based on existing ones.

  • Example: squares = [x**2 for x in range(10)]

  • Example: even_numbers = [x for x in range(10) if x % 2 == 0]

A Python Developer Lead was asked 10mo ago
Q. What is dictionary? is this accept duplicate or not?
Ans. 

A dictionary in Python is a collection of key-value pairs. It does not accept duplicate keys.

  • A dictionary is created using curly braces {}

  • Keys in a dictionary must be unique, but values can be duplicated

  • Example: my_dict = {'name': 'John', 'age': 30, 'city': 'New York'}

Infosys Python Developer Lead Interview Experiences

2 interviews found

Interview experience
2
Poor
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Not even asked for self intro, she was very rude and end the interview in 20mins, directly asked top level designs, even I have cleared and waiting for better outcome this interview hit hard.
  • Q2. I was stunned of the interviewer behavior and attitude.
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Company Website and was interviewed in Jul 2024. There were 3 interview rounds.

Round 1 - Technical 

(10 Questions)

  • Q1. What is generator? write sample code
  • Ans. 

    A generator in Python is a function that returns an iterator object which can be iterated over to generate values lazily.

    • Generators are created using a function with 'yield' keyword instead of 'return'.

    • They allow for efficient memory usage as they generate values on the fly.

    • Generators are useful for generating large sequences of data without storing them in memory.

    • Example: def my_generator(): for i in range(5): yiel...

  • Answered by AI
  • Q2. What is decorator?
  • Ans. 

    Decorator is a design pattern in Python that allows adding new functionality to an existing object without modifying its structure.

    • Decorators are functions that take another function as an argument and extend its behavior without modifying it directly.

    • They are commonly used to add logging, timing, caching, or authentication to functions.

    • Decorators use the @ symbol followed by the decorator name above the function defin...

  • Answered by AI
  • Q3. Difference between list and tuple
  • Ans. 

    List is mutable, tuple is immutable in Python.

    • List can be modified after creation, tuple cannot.

    • List uses square brackets [], tuple uses parentheses ().

    • List is used for dynamic data, tuple for fixed data.

    • Example: list_example = [1, 2, 3], tuple_example = (4, 5, 6)

  • Answered by AI
  • Q4. What is list comprehension? write some sample code? what is use of it?
  • Ans. 

    List comprehension is a concise way to create lists in Python by iterating over an existing list or iterable.

    • List comprehension is more concise and readable than traditional loops.

    • It can be used to filter elements, perform operations on elements, or create new lists based on existing ones.

    • Example: squares = [x**2 for x in range(10)]

    • Example: even_numbers = [x for x in range(10) if x % 2 == 0]

  • Answered by AI
  • Q5. Write code of fibonacci series?
  • Ans. 

    Fibonacci series is a sequence of numbers where each number is the sum of the two preceding ones.

    • Initialize variables for the first two numbers in the series (0 and 1)

    • Use a loop to calculate the next number by adding the previous two numbers

    • Continue the loop until the desired number of terms is reached

  • Answered by AI
  • Q6. What is dictionary? is this accept duplicate or not?
  • Ans. 

    A dictionary in Python is a collection of key-value pairs. It does not accept duplicate keys.

    • A dictionary is created using curly braces {}

    • Keys in a dictionary must be unique, but values can be duplicated

    • Example: my_dict = {'name': 'John', 'age': 30, 'city': 'New York'}

  • Answered by AI
  • Q7. Multiple decorator
  • Ans. 

    Multiple decorators in Python allow stacking functions to enhance behavior without modifying the original function.

    • Decorators are functions that modify the behavior of another function.

    • Multiple decorators can be applied by stacking them above a function definition.

    • Example: @decorator1 @decorator2 def my_function(): pass

    • The order of decorators matters; the innermost decorator is applied first.

    • Use cases include logging, ...

  • Answered by AI
  • Q8. What are the main principles of oops?
  • Ans. 

    Main principles of OOP include encapsulation, inheritance, polymorphism, and abstraction.

    • Encapsulation: Bundling data and methods that operate on the data into a single unit (class). Example: Class with private attributes and public methods.

    • Inheritance: Ability to create a new class (derived class) from an existing class (base class), inheriting its attributes and methods. Example: Subclass 'Dog' inheriting from superc...

  • Answered by AI
  • Q9. Explain type of inheritance
  • Ans. 

    Type of inheritance in object-oriented programming determines how a subclass can inherit attributes and methods from a superclass.

    • Single inheritance: a subclass inherits from only one superclass.

    • Multiple inheritance: a subclass inherits from multiple superclasses.

    • Multilevel inheritance: a subclass inherits from a superclass, which in turn inherits from another superclass.

    • Hierarchical inheritance: multiple subclasses in...

  • Answered by AI
  • Q10. What is aws lambda function
  • Ans. 

    AWS Lambda is a serverless computing service provided by Amazon Web Services.

    • Serverless computing service

    • Allows running code without provisioning or managing servers

    • Automatically scales based on incoming traffic

    • Supports multiple programming languages like Python, Node.js, Java, etc.

    • Pay only for the compute time consumed

  • Answered by AI
Round 2 - Behavioral 

(2 Questions)

  • Q1. Tell me about yourself
  • Ans. 

    I am a seasoned Python developer with experience leading teams and delivering high-quality software solutions.

    • Over 5 years of experience in Python development

    • Strong leadership skills in guiding and mentoring team members

    • Proven track record of delivering successful software projects on time and within budget

  • Answered by AI
  • Q2. Explain your project briefly
  • Ans. 

    Developed a web application for online shopping with user authentication and payment gateway integration.

    • Created user registration and login functionality using Django framework

    • Integrated Stripe API for secure payment processing

    • Implemented product catalog and shopping cart features

  • Answered by AI
Round 3 - HR 

(1 Question)

  • Q1. Salary discussion

Interview Preparation Tips

Interview preparation tips for other job seekers - prepare basic concepts of python

Skills evaluated in this interview

What people are saying about Infosys

View All
yedabhai
1w
works at
Hyperpure
Are we not even safe in our own workplaces?
An Infosys employee was arrested for secretly recording women in the office washroom. Over 30 videos were found on his phone. This isn't just shocking, it's horrifying. Offices are meant to be safe, respectful spaces. 🙎 When will companies truly prioritize safety and surveillance in all corners, not just the visible ones?
FeedCard Image
Got a question about Infosys?
Ask anonymously on communities.

Interview questions from similar companies

I applied via LinkedIn and was interviewed before Jul 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

Easy logical questions
basic quant

Round 2 - Coding Test 

Easy level coding questions
Counting frequency of alphabets

Interview Preparation Tips

Interview preparation tips for other job seekers - Just go through the basics of javascript
Hoisting

I applied via Campus Placement and was interviewed before Jun 2020. There were 3 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Simple program
  • Q2. I wrote a simple program in C

Interview Preparation Tips

Interview preparation tips for other job seekers - Be bold and confident

I applied via Naukri.com and was interviewed before Oct 2019. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. What technical challenges have you faced in your work till now and how did you overcome it?
  • Ans. 

    Faced various technical challenges, including system integration and performance optimization, which I successfully navigated through strategic solutions.

    • Integration of legacy systems with modern applications: I utilized APIs and middleware to ensure seamless data flow.

    • Performance bottlenecks in a web application: Implemented caching strategies and optimized database queries, resulting in a 40% speed increase.

    • Debugging...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Be truthful and give detailed explanation of the issues and how it was resolved. Explain the severity of the problem and what blockage it had caused in your daily work. How did you chose a solution and how fast was it implemented.

I applied via Walk-in and was interviewed before Sep 2019. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. 1.Technical Ques(OOPS Concept)and 2. Area of Interest 3. About Company 4. more

Interview Preparation Tips

Interview preparation tips for other job seekers - Hello Folks,
Sharing some tips while facing Interview Assessment or GD Round Assessment.
1. Be Confident always give the answer what they ask for, Never connect your answer with different topic.
2. Always go through Company Portal or wiki about their Operation & Function.
3. Always have positive vibes that whatever yes or No, You will surely gain something.
All the Best..!!

Interview Questionnaire 

1 Question

  • Q1. All about SQL joins,data warehouse.

Interview Preparation Tips

Interview preparation tips for other job seekers - Be prepared and answer only if you know the concept clearly.
Are these interview questions helpful?

I applied via Naukri.com and was interviewed before Apr 2020. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. Technical questions

Interview Preparation Tips

Interview preparation tips for other job seekers - I have visited interview location on morning 7am DLF block Hyderabad. Buy my interview was taken in evening 6:45pm. That was not an interview test it was a patience test.

Interview Questionnaire 

3 Questions

  • Q1. Tell me something about yourself
  • Ans. 

    I am a passionate software developer with 5 years of experience in developing web applications using various technologies.

    • 5 years of experience in software development

    • Proficient in developing web applications

    • Skilled in using various technologies

    • Passionate about coding and problem-solving

  • Answered by AI
  • Q2. What is the difference between encapsulation and polymorphism?
  • Q3. What do you mean by deadlock in OS?
  • Ans. 

    Deadlock is a situation in which two or more processes are unable to proceed because each is waiting for the other to release a resource.

    • Deadlock occurs when two or more processes are stuck in a circular waiting state.

    • It happens when processes compete for resources and each process holds a resource that another process needs.

    • Four necessary conditions for deadlock are mutual exclusion, hold and wait, no preemption, and ...

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: We were asked to solve a questionnaire containing 25 questions based on logical reasoning and basic mathematics. We went to the test center in their recruitment center where there were many desktops for the candidates to sit and give the test. At the entrance, they checked the letter we got from them to authenticate us.Then they gave us a login ID and password. Exactly when the test started, the portal became active and we were asked to enter the credentials. I completed the test in half the time as it was pretty easy and straightforward.
Tips: Practice simple aptitude questions for greater speed and accuracy.
Duration: 1 hour
Total Questions: 20

Round: Group Discussion
Experience: Ten candidates who were shortlisted from the written test attended the group discussion. The topic given to us was fairly simple and lucky for me, I used to work as an anchor, and being a strong feminist person, I had a lot of valid points to put forward. I was the one to start the discussion, and I felt I was the best speaker there. The topic was something that I follow regularly, yet I came across a few unique points from the other candidates.
Tips: Improve your English speaking skills. Be assertive and speak concisely.
Duration: 15 minutes

Round: HR Interview
Experience: The interview basically revolved around this one question which had a few follow-up questions, such as who all are there in my family, what are my strengths and weaknesses, and why am I fit for this job.
Tips: Be confident and honest about yourself.

Round: Technical Interview
Experience: I tried to be as calm and confident as possible during the whole of the interview

College Name: Guru Nanak Institute of Technology (GNIT)

Skills evaluated in this interview

I applied via Company Website and was interviewed in Oct 2018. There was 0 interview round.

Interview Preparation Tips

General Tips: This interview was a technical one but was majorly a stress test. It lasted for about 1 hour 10 minutes. The interviewer wanted to test both my knowledge and communication skills. Most of the questions asked to me were related to my B.Tech curriculum i.e. computer science related topics. He stressed a lot on the basics related to my project topic. Luckily I was able to answer most of the questions correctly. I tried to answer each question with examples and also used props on the table (like pens, paperweights, pen stands etc.) to explain my theories. It was my first offcampus interview, and I think I did pretty well for a fresher.
You need to stay calm and should apply presence of mind. Please go through the job description thoroughly word-by-word and recheck your resume to ensure that you are a best-fit for the position.
Skills: Communication, Body Language, Problem Solving, Leadership, Presentation Skills
Duration: <1 week

Infosys Interview FAQs

How many rounds are there in Infosys Python Developer Lead interview?
Infosys interview process usually has 2 rounds. The most common rounds in the Infosys interview process are Technical, Behavioral and HR.
How to prepare for Infosys Python Developer Lead interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Infosys. The most common topics and skills that interviewers at Infosys expect are Python, Machine Learning, Debugging, Javascript and Application Development.
What are the top questions asked in Infosys Python Developer Lead interview?

Some of the top questions asked at the Infosys Python Developer Lead interview -

  1. what is list comprehension? write some sample code? what is use of ...read more
  2. what is dictionary? is this accept duplicate or n...read more
  3. what is generator? write sample c...read more

Tell us how to improve this page.

Overall Interview Experience Rating

3/5

based on 2 interview experiences

Difficulty level

Moderate 50%
Hard 50%

Duration

Less than 2 weeks 100%
View more
Join Infosys Creating the next opportunity for people, businesses & communities

Interview Questions from Similar Companies

TCS Interview Questions
3.6
 • 11.1k Interviews
Accenture Interview Questions
3.8
 • 8.7k Interviews
Wipro Interview Questions
3.7
 • 6.1k Interviews
Cognizant Interview Questions
3.7
 • 5.9k Interviews
Capgemini Interview Questions
3.7
 • 5.1k Interviews
Tech Mahindra Interview Questions
3.5
 • 4.1k Interviews
HCLTech Interview Questions
3.5
 • 4.1k Interviews
Genpact Interview Questions
3.8
 • 3.4k Interviews
LTIMindtree Interview Questions
3.7
 • 3k Interviews
IBM Interview Questions
4.0
 • 2.5k Interviews
View all
Infosys Python Developer Lead Salary
based on 7 salaries
₹5 L/yr - ₹11.9 L/yr
26% less than the average Python Developer Lead Salary in India
View more details
Python Developer Lead {ENG - Infosys @ Pan India - G }

Hyderabad / Secunderabad,

Chennai

+1

4-9 Yrs

Not Disclosed

Python Lead

Bangalore / Bengaluru

5-8 Yrs

Not Disclosed

Python Lead

Pune

5-9 Yrs

Not Disclosed

Explore more jobs
Technology Analyst
54.7k salaries
unlock blur

₹4.8 L/yr - ₹10 L/yr

Senior Systems Engineer
53.8k salaries
unlock blur

₹2.5 L/yr - ₹6.3 L/yr

Technical Lead
35.1k salaries
unlock blur

₹9.4 L/yr - ₹16.4 L/yr

System Engineer
32.5k salaries
unlock blur

₹2.4 L/yr - ₹5.3 L/yr

Senior Associate Consultant
31.3k salaries
unlock blur

₹8.2 L/yr - ₹15 L/yr

Explore more salaries
Compare Infosys with

TCS

3.6
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare

Accenture

3.7
Compare
write
Share an Interview