i
Infosys
Filter interviews by
I applied via LinkedIn and was interviewed in Nov 2024. There was 1 interview round.
I applied via Company Website and was interviewed in Jul 2024. There were 3 interview rounds.
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...
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...
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)
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]
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 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'}
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...
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...
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
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
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
What people are saying about Infosys
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
I applied via Company Website and was interviewed in May 2024. There was 1 interview round.
I applied via Walk-in and was interviewed in Oct 2023. There were 4 interview rounds.
Measure of your ability to learn or perform required tasks and succeed in the environment you're in. They are not a measure of intelligence these tests look for your strengths and weaknesses, giving you and the evaluator an idea of your abilities.
To asking the question for the coding
I applied via Approached by Company and was interviewed in Nov 2024. There were 2 interview rounds.
Use string manipulation to reverse an integer in Python.
Convert the integer to a string
Use string slicing to reverse the string
Convert the reversed string back to an integer
Docker image is a template used to create containers, while a container is a running instance of an image.
Docker image is read-only, while a container is a writable instance of an image.
Multiple containers can be created from the same image, but each container is isolated from others.
Containers can be started, stopped, moved, and deleted, while images are static and cannot be changed.
Images are used to package an appli...
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
String,lists,dict and coding knowledge
I applied via Naukri.com and was interviewed in Aug 2024. There were 2 interview rounds.
Create a new list with shuffled order and no duplicate elements.
Use the random.shuffle() function to shuffle the list
Use a set to keep track of elements already added to the new list to avoid duplicates
Convert the set back to a list to maintain the order of elements
The existing application follows a microservices architecture with separate components for different functionalities.
The application is divided into multiple services that communicate with each other through APIs.
Each service is responsible for a specific task or functionality, promoting modularity and scalability.
Examples of microservices in the architecture include user authentication service, payment processing serv
I am passionate about Python development and excited about the innovative projects your company is working on.
Passionate about Python development
Excited about innovative projects at company
Seeking growth and learning opportunities
In 5 years, I see myself as a senior Python developer leading a team of developers on innovative projects.
Continuing to enhance my Python skills and staying updated on new technologies
Taking on more leadership responsibilities and mentoring junior developers
Contributing to the success of the company through my technical expertise
Avg aptitude questions
2 easy coding questions
Technology Analyst
56.2k
salaries
| ₹3 L/yr - ₹11 L/yr |
Senior Systems Engineer
49.7k
salaries
| ₹2.8 L/yr - ₹8 L/yr |
System Engineer
39k
salaries
| ₹2.5 L/yr - ₹5.5 L/yr |
Technical Lead
30.7k
salaries
| ₹5.2 L/yr - ₹19.5 L/yr |
Senior Associate Consultant
27.1k
salaries
| ₹4.3 L/yr - ₹16.8 L/yr |
TCS
Wipro
Cognizant
Accenture