Filter interviews by
I applied via Walk-in and was interviewed in Sep 2021. There was 1 interview round.
Top trending discussions
posted on 17 Aug 2021
I applied via Naukri.com and was interviewed in Feb 2021. There were 3 interview rounds.
List is a collection of ordered and changeable elements.
Lists are created using square brackets []
Elements in a list can be of different data types
Lists can be sliced and concatenated
Example: my_list = [1, 'apple', True, 3.14]
Lists are mutable and can be modified, while tuples are immutable and cannot be modified.
Lists are enclosed in square brackets [], while tuples are enclosed in parentheses ().
Lists can have elements of different data types, while tuples can have elements of the same or different data types.
Lists have more built-in methods for manipulation, such as append(), remove(), and sort().
Tuples are generally used for heterogeneo...
A dictionary is a collection of key-value pairs, where each key is unique and used to access its corresponding value.
Keys must be immutable objects like strings, numbers, or tuples.
Values can be any type of object, including other dictionaries.
Dictionaries are unordered, meaning the order of items is not guaranteed.
Accessing a value using a key is fast and efficient.
Example: {'name': 'John', 'age': 30, 'city': 'New Yor
To get the value for a key from a dictionary in Python, use the square bracket notation or the get() method.
Use square brackets and the key name to access the value directly: dictionary[key]
Alternatively, use the get() method to retrieve the value: dictionary.get(key)
If the key is not present in the dictionary, using square brackets will raise a KeyError, while get() will return None or a default value if specified
Memory management is the process of allocating and deallocating memory in a computer system.
Memory is allocated dynamically using malloc() or new() functions.
Memory leaks occur when memory is not deallocated after use.
Garbage collection is used in languages like Python to automatically deallocate memory.
Memory fragmentation can occur when memory is allocated and deallocated frequently.
Memory management is important for
RestAPI is a web service that uses HTTP requests to access and manipulate data.
RestAPI stands for Representational State Transfer Application Programming Interface.
It is a standard protocol used for creating web services.
It uses HTTP methods like GET, POST, PUT, DELETE to perform operations on data.
It returns data in various formats like JSON, XML, etc.
Examples of RestAPIs include Twitter API, Facebook API, etc.
posted on 23 Dec 2024
Use slicing with step size -1 to reverse a string in Python.
Use string slicing with step size -1 to reverse the string.
Example: 'hello'[::-1] will return 'olleh'.
Yes, you can reverse a string in Python using slicing.
Use the slicing syntax [::-1] to reverse a string.
Example: 'hello'[::-1] will return 'olleh'.
posted on 18 Dec 2024
Use the reverse() method to reverse a list in Python.
Use the reverse() method to reverse the elements of a list in place.
Example: my_list = [1, 2, 3, 4]; my_list.reverse(); print(my_list) will output [4, 3, 2, 1].
posted on 19 Dec 2024
Use slicing with step -1 to reverse a string in Python.
Use string slicing with step -1 to reverse a string: str[::-1]
Example: 'hello'[::-1] will return 'olleh'
Using slicing to reverse a string in Python
Use slicing with a step of -1 to reverse the string
Example: reversed_string = 'hello'[::-1]
Print reversed_string to see the reversed result
posted on 17 Dec 2024
Use slicing with step -1 to reverse a string in Python.
Use slicing with step -1 to reverse a string: str[::-1]
Example: s = 'hello', reversed_s = s[::-1] will result in 'olleh'
Slicing in Python allows you to extract a portion of a string or list by specifying a start and end index.
Use square brackets [] to specify the start and end index for slicing.
The start index is inclusive, while the end index is exclusive.
You can also specify a step value to skip elements while slicing.
Example: reverse_string = 'hello'; reverse_string[::-1] will output 'olleh'.
posted on 10 Dec 2024
Python decorator is a design pattern that allows you to add new functionality to existing functions or methods without modifying their structure.
Decorators are denoted by the @ symbol followed by the decorator name.
They are functions that take another function as an argument and return a new function.
Decorators can be used for logging, timing, authentication, and more.
Example: @my_decorator def my_function(): pass
posted on 10 Dec 2024
Exceptions in Python are handled using try-except blocks to catch and handle errors gracefully.
Use try-except blocks to catch exceptions and handle them gracefully.
You can specify different except blocks for different types of exceptions.
Use the 'finally' block to execute code regardless of whether an exception was raised or not.
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
posted on 17 Aug 2021
I applied via Naukri.com and was interviewed in Feb 2021. There were 3 interview rounds.
List is a collection of ordered and changeable elements.
Lists are created using square brackets []
Elements in a list can be of different data types
Lists can be sliced and concatenated
Example: my_list = [1, 'apple', True, 3.14]
Lists are mutable and can be modified, while tuples are immutable and cannot be modified.
Lists are enclosed in square brackets [], while tuples are enclosed in parentheses ().
Lists can have elements of different data types, while tuples can have elements of the same or different data types.
Lists have more built-in methods for manipulation, such as append(), remove(), and sort().
Tuples are generally used for heterogeneo...
A dictionary is a collection of key-value pairs, where each key is unique and used to access its corresponding value.
Keys must be immutable objects like strings, numbers, or tuples.
Values can be any type of object, including other dictionaries.
Dictionaries are unordered, meaning the order of items is not guaranteed.
Accessing a value using a key is fast and efficient.
Example: {'name': 'John', 'age': 30, 'city': 'New Yor
To get the value for a key from a dictionary in Python, use the square bracket notation or the get() method.
Use square brackets and the key name to access the value directly: dictionary[key]
Alternatively, use the get() method to retrieve the value: dictionary.get(key)
If the key is not present in the dictionary, using square brackets will raise a KeyError, while get() will return None or a default value if specified
Memory management is the process of allocating and deallocating memory in a computer system.
Memory is allocated dynamically using malloc() or new() functions.
Memory leaks occur when memory is not deallocated after use.
Garbage collection is used in languages like Python to automatically deallocate memory.
Memory fragmentation can occur when memory is allocated and deallocated frequently.
Memory management is important for
RestAPI is a web service that uses HTTP requests to access and manipulate data.
RestAPI stands for Representational State Transfer Application Programming Interface.
It is a standard protocol used for creating web services.
It uses HTTP methods like GET, POST, PUT, DELETE to perform operations on data.
It returns data in various formats like JSON, XML, etc.
Examples of RestAPIs include Twitter API, Facebook API, etc.
based on 1 review
Rating in categories
Software Developer
10
salaries
| ₹2 L/yr - ₹4.2 L/yr |
Software Engineer
9
salaries
| ₹2.4 L/yr - ₹6.2 L/yr |
Java Developer
8
salaries
| ₹2.8 L/yr - ₹5 L/yr |
Python Developer
8
salaries
| ₹1 L/yr - ₹6 L/yr |
Odoo Developer
7
salaries
| ₹3 L/yr - ₹4.2 L/yr |
Infosys
Wipro
TCS
HCLTech