Filter interviews by
I applied via Job Portal
Python coding exercise for array sorting
posted on 14 Sep 2024
25 Questions, Multiple choice, Single correct as well as multi-correct, related tp python, django & flask
Find the maximum occurring number in a list of numbers without using any in-built functions, in linear time using, O(1) space
Lists are mutable, ordered collections of items while tuples are immutable, ordered collections of items.
Lists are defined using square brackets [] while tuples are defined using parentheses ().
Lists can be modified (add, remove, change elements) while tuples cannot be modified once created.
Lists are typically used for collections of similar items that may need to be modified, while tuples are used for fixed collection...
Shallow copy creates a new object but does not duplicate nested objects, while deep copy creates a new object with all nested objects duplicated.
Shallow copy only copies the references of nested objects, not the objects themselves.
Deep copy creates new copies of all nested objects, ensuring complete independence.
In Python, shallow copy can be achieved using the copy() method, while deep copy can be achieved using the d
MVT architecture stands for Model-View-Template architecture, commonly used in web development with Django framework.
MVT separates the logic of an application into three components: Model, View, and Template.
Model represents the data structure, View handles the user interface and business logic, and Template manages the presentation layer.
MVT is similar to MVC (Model-View-Controller) architecture but with a different n...
Decorators in Python are functions that modify the behavior of other functions or methods.
Decorators are denoted by the @ symbol followed by the decorator name.
They allow you to wrap another function in order to extend or modify its behavior.
Decorators are commonly used for logging, authentication, and memoization.
Example: @staticmethod decorator in Python is used to define a method that is not bound to an instance of
Static methods are bound to the class itself, while instance methods are bound to instances of the class. Use @staticmethod decorator for static methods.
Static methods do not have access to class or instance attributes, while instance methods do.
Instance methods can modify instance state, while static methods cannot.
To define a static method in Python, use the @staticmethod decorator before the method definition.
Exampl...
Inheritance is a mechanism in which a new class inherits attributes and methods from an existing class.
Inheritance allows a class to reuse code from another class.
Python supports single, multiple, and multilevel inheritance.
Example: class ChildClass(ParentClass):
Access specifiers in Python control the accessibility of class attributes and methods.
Access specifiers are not explicitly defined in Python like in other languages such as Java or C++.
By convention, attributes and methods starting with a single underscore (_) are considered 'protected' and should not be accessed directly.
Attributes and methods starting with double underscores (__) are considered 'private' and are name
posted on 19 Feb 2024
I applied via Approached by Company and was interviewed in Jan 2024. There was 1 interview round.
I was interviewed in Jan 2025.
I applied via Naukri.com
I applied via Naukri.com and was interviewed in Jun 2022. There were 3 interview rounds.
Pandas question , python data structures, live coding
posted on 14 Sep 2024
25 Questions, Multiple choice, Single correct as well as multi-correct, related tp python, django & flask
Find the maximum occurring number in a list of numbers without using any in-built functions, in linear time using, O(1) space
Lists are mutable, ordered collections of items while tuples are immutable, ordered collections of items.
Lists are defined using square brackets [] while tuples are defined using parentheses ().
Lists can be modified (add, remove, change elements) while tuples cannot be modified once created.
Lists are typically used for collections of similar items that may need to be modified, while tuples are used for fixed collection...
Shallow copy creates a new object but does not duplicate nested objects, while deep copy creates a new object with all nested objects duplicated.
Shallow copy only copies the references of nested objects, not the objects themselves.
Deep copy creates new copies of all nested objects, ensuring complete independence.
In Python, shallow copy can be achieved using the copy() method, while deep copy can be achieved using the d
MVT architecture stands for Model-View-Template architecture, commonly used in web development with Django framework.
MVT separates the logic of an application into three components: Model, View, and Template.
Model represents the data structure, View handles the user interface and business logic, and Template manages the presentation layer.
MVT is similar to MVC (Model-View-Controller) architecture but with a different n...
Decorators in Python are functions that modify the behavior of other functions or methods.
Decorators are denoted by the @ symbol followed by the decorator name.
They allow you to wrap another function in order to extend or modify its behavior.
Decorators are commonly used for logging, authentication, and memoization.
Example: @staticmethod decorator in Python is used to define a method that is not bound to an instance of
Static methods are bound to the class itself, while instance methods are bound to instances of the class. Use @staticmethod decorator for static methods.
Static methods do not have access to class or instance attributes, while instance methods do.
Instance methods can modify instance state, while static methods cannot.
To define a static method in Python, use the @staticmethod decorator before the method definition.
Exampl...
Inheritance is a mechanism in which a new class inherits attributes and methods from an existing class.
Inheritance allows a class to reuse code from another class.
Python supports single, multiple, and multilevel inheritance.
Example: class ChildClass(ParentClass):
Access specifiers in Python control the accessibility of class attributes and methods.
Access specifiers are not explicitly defined in Python like in other languages such as Java or C++.
By convention, attributes and methods starting with a single underscore (_) are considered 'protected' and should not be accessed directly.
Attributes and methods starting with double underscores (__) are considered 'private' and are name
OOPS concepts are fundamental principles in object-oriented programming, including inheritance, encapsulation, polymorphism, and abstraction.
Inheritance: Allows a class to inherit attributes and methods from another class. Example: class Dog inherits from class Animal.
Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: using private variables in a class.
Polymorphism: Ability t...
Multithreading allows multiple threads to run concurrently. Deadlock can be removed by avoiding circular wait, preempting resources, and using timeouts.
Avoid circular wait by ensuring threads acquire resources in the same order
Preempt resources by releasing them if a thread cannot acquire all necessary resources
Use timeouts to prevent threads from waiting indefinitely for resources
posted on 15 May 2024
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
Interview experience
Senior Associate
15k
salaries
| ₹8 L/yr - ₹30 L/yr |
Associate
12.8k
salaries
| ₹4.9 L/yr - ₹17.2 L/yr |
Manager
6.7k
salaries
| ₹14 L/yr - ₹44.3 L/yr |
Senior Consultant
4.4k
salaries
| ₹9 L/yr - ₹32.4 L/yr |
Associate2
4.2k
salaries
| ₹4.5 L/yr - ₹16.6 L/yr |
Deloitte
Ernst & Young
Accenture
TCS