i
Birlasoft
Filter interviews by
I applied via Campus Placement and was interviewed in Feb 2022. There were 2 interview rounds.
Top trending discussions
I applied via Naukri.com and was interviewed in May 2023. There were 2 interview rounds.
I applied via Approached by Company and was interviewed in Aug 2022. There were 3 interview rounds.
I applied via Recruitment Consultant and was interviewed in Apr 2021. There was 1 interview round.
Shallow copy creates a new object with the same reference as the original, while deep copy creates a new object with a new reference.
Shallow copy only copies the top-level object, while deep copy copies all nested objects.
Shallow copy can be done using slicing or the copy() method, while deep copy requires the copy module.
Modifying the original object will affect the shallow copy, but not the deep copy.
Example: x = [[1...
ID is a unique identifier assigned to an object in Python.
ID is a built-in function in Python that returns a unique integer identifier for an object.
The ID of an object remains constant throughout its lifetime.
ID can be used to compare objects for identity rather than equality.
ID is not guaranteed to be unique across different runs of the program.
Data types are categories of data items that determine the operations that can be performed on them.
Numeric types: int, float, complex
Sequence types: list, tuple, range
Text type: str
Mapping type: dict
Set types: set, frozenset
Boolean type: bool
Binary types: bytes, bytearray, memoryview
Yes, we can change the order of a dictionary in Python.
Use OrderedDict to maintain the order of insertion
Sort the dictionary based on keys or values
Convert the dictionary to a list of tuples and sort them
Use the sorted() function to sort the dictionary
Yes, the key of a dictionary in Python can be changed. The criteria for selecting a key are immutability and uniqueness.
The key of a dictionary can be any immutable data type such as strings, numbers, or tuples.
The key must be unique within the dictionary, as duplicate keys are not allowed.
Changing the value of a key is allowed, but changing the key itself requires creating a new key-value pair.
Keys that are mutable, s
I applied via LinkedIn and was interviewed before Sep 2021. There were 2 interview rounds.
The coding test was easy and had a high passing rate.
The emphasis of this test was primarily on web development using python and not traditional python based questions.
posted on 6 Jun 2024
I applied via Recruitment Consulltant and was interviewed in May 2024. There was 1 interview round.
List is mutable, Tuple is immutable in Python.
List can be modified after creation, Tuple cannot be modified.
List uses square brackets [], Tuple uses parentheses ().
List is used for collections of items that may need to be changed, Tuple is used for collections of items that should not change.
Example: list_example = [1, 2, 3], tuple_example = (4, 5, 6)
Find min and max from a list without using function
Iterate through the list and compare each element with current min and max values
Update min and max values accordingly
Iterators are objects that allow iteration over a sequence, generators are functions that yield values one at a time, and lambdas are anonymous functions.
Iterators are objects that implement the iterator protocol, with methods like __iter__() and __next__().
Generators are functions that use the yield keyword to return values one at a time, pausing execution between each yield.
Lambdas are anonymous functions defined usi...
posted on 3 Oct 2024
Based on list, then Selenium x path
I applied via Naukri.com and was interviewed in May 2023. There were 2 interview rounds.
I applied via Referral and was interviewed in Oct 2024. There was 1 interview round.
Microservices are small, independent services that work together, while monolithic is a single, large application.
Microservices are loosely coupled, allowing for independent development and deployment.
Monolithic applications are tightly integrated, making it harder to scale and maintain.
Microservices communicate through APIs, while monolithic applications have all components within the same codebase.
Examples of microse...
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
based on 1 review
Rating in categories
Software Developer
1.5k
salaries
| ₹2.5 L/yr - ₹10.8 L/yr |
Senior Software Engineer
1.3k
salaries
| ₹5.4 L/yr - ₹20.5 L/yr |
Technical Lead
1.1k
salaries
| ₹10 L/yr - ₹35 L/yr |
Technical Specialist
1.1k
salaries
| ₹7.9 L/yr - ₹28.3 L/yr |
Software Engineer
1.1k
salaries
| ₹2.5 L/yr - ₹11 L/yr |
Accenture
Cognizant
Capgemini
Wipro