Filter interviews by
I applied via LinkedIn and was interviewed in Feb 2023. There were 3 interview rounds.
Top trending discussions
Closure is a function that retains the bindings of the free variables that exist when the function is defined.
Closure allows a function to access and manipulate variables outside of its scope.
It is commonly used in callback functions, event handlers, and decorators.
Example: defining a function within another function to access the outer function's variables.
I applied via Naukri.com and was interviewed in Dec 2023. There were 2 interview rounds.
Python,django no ashok questions
I applied via Recruitment Consulltant and was interviewed in Jun 2023. There were 2 interview rounds.
I was interviewed in Jan 2023.
Python,Database(mysql),basics of c programming
General topics,one to one rounds and our strengths
I applied via Naukri.com and was interviewed in Sep 2022. There were 2 interview rounds.
Answers to interview questions for a Python developer.
1. Tuples are immutable while lists are mutable.
2. Decorators are functions that modify the behavior of other functions.
3. 'to' object is not a standard term in Python, so it's unclear.
4. Pass does nothing, break exits the loop, and continue skips to the next iteration.
5. Need the given program to identify the error.
6. Explain your projects in detail, highlighting y
I applied via Company Website and was interviewed in Oct 2022. There were 3 interview rounds.
Here we can write programs. Programs are exicuted test cases
The question is about the meaning of some English words.
Provide the meanings of the words asked.
If unsure, ask for clarification.
Use context to determine the meaning if necessary.
I use Git for version control in my projects.
I create a Git repository for the project
I commit changes regularly with descriptive messages
I use branches for new features or bug fixes
I merge branches back into the main branch when ready
I use tags to mark important milestones or releases
Postman is a popular API development tool used for testing, documenting, and sharing APIs.
Postman allows developers to send HTTP requests and receive responses from APIs
It provides a user-friendly interface for creating and managing API requests
Postman also offers features like automated testing, mock servers, and collaboration tools
It supports various authentication methods and formats like JSON and XML
Authentication is the process of verifying the identity of a user or system.
Authentication ensures that only authorized users have access to a system or application.
It involves the use of credentials such as usernames and passwords, or other methods like biometrics.
Examples of authentication include logging into a website or accessing a secure network.
Authentication is often followed by authorization, which determines
Data can be sent to the database using SQL queries or an ORM like Django's ORM.
Use SQL queries to insert, update or delete data in the database.
Use an ORM like Django's ORM to interact with the database using Python code.
Ensure that the data being sent is properly formatted and validated to prevent errors or security issues.
A global variable is a variable that can be accessed from any part of the program.
Global variables are declared outside of any function or class.
They can be accessed and modified from any part of the program.
Using global variables can make the code harder to read and debug.
Example: x = 10 (declared outside of any function or class)
Tuple is an immutable sequence, while list is a mutable sequence in Python.
Tuple elements cannot be modified once assigned, while list elements can be modified.
Tuple uses parentheses () to enclose elements, while list uses square brackets [] to enclose elements.
Tuple is generally used for heterogeneous data types, while list is used for homogeneous data types.
Tuple is faster than list when accessing elements.
Tuple cons
To check if a key exists in a dictionary without raising a KeyError.
Use the 'in' keyword to check if the key exists in the dictionary.
Use the 'get' method to return a default value if the key does not exist.
Use the 'keys' method to get a list of all keys and check if the key is in the list.
Yes, we can create our custom exception in Python.
To create a custom exception, we need to create a class that inherits from the Exception class.
We can define our own message and error code for the custom exception.
We can raise the custom exception using the 'raise' keyword.
Custom exceptions can be used to handle specific errors in our code.
Example: class MyException(Exception): pass
Example: raise MyException('This is
Accenture
Jio
IBM
Genpact