Filter interviews by
I applied via LinkedIn and was interviewed in Dec 2024. There was 1 interview round.
Decorators in Django are used to modify the behavior of functions or methods. @login_required ensures user authentication, while @permission_required checks for specific permissions.
Decorators are functions that wrap another function to modify its behavior.
@login_required decorator ensures that the user is authenticated before accessing a view.
@permission_required decorator checks if the user has specific permissions b...
To revert changes made in Django migrations, use the command 'python manage.py migrate <app_name> <migration_name>'.
Use the command 'python manage.py showmigrations' to list all migrations and their names.
Identify the migration name you want to revert (e.g., 'app_name', '0002_migration_name').
Run the command 'python manage.py migrate <app_name> <migration_name>' to revert the specific migration.
To fetch API data in Django from server using params dynamically.
Use Django's HttpRequest object to access query parameters
Extract the query parameter value using request.GET.get('querydata')
Use the extracted value to dynamically fetch data from the server
Class-based views are based on classes and provide more structure and functionality, while function-based views are based on functions and are simpler and more flexible.
Class-based views are defined as classes and inherit from Django's generic view classes, providing built-in functionality such as mixins and decorators.
Function-based views are defined as functions and are more flexible, allowing for custom logic and co...
SQL Procedures are stored SQL code that can be executed on demand. Triggers are special types of stored procedures that are automatically executed when certain events occur.
SQL Procedures are reusable blocks of SQL code that can be called by other programs or scripts.
Triggers are special types of stored procedures that are automatically executed when specific events occur in the database.
Triggers are commonly used for ...
Django supports multiple databases through its database router feature.
Django allows defining multiple database connections in settings.py
Use database routers to route specific models to different databases
Example: routing user data to a separate database for better performance
REST API is a set of rules and conventions for building and interacting with web services.
REST stands for Representational State Transfer
Methods available in REST API are GET, POST, PUT, DELETE
GET - Used to retrieve data from a server
POST - Used to send data to a server to create a new resource
PUT - Used to update an existing resource on the server
DELETE - Used to remove a resource from the server
Example: GET request t
Custom middleware in Django allows for processing requests and responses before reaching views.
Custom middleware is a Python class that defines methods to process requests and responses in Django.
To create custom middleware, define a class with methods like process_request, process_response, etc.
Register the custom middleware in the Django settings.py file under the MIDDLEWARE key.
Example code: class CustomMiddleware: ...
Message queues and caching systems are used to improve performance and scalability in web applications.
Message queues help in decoupling components by allowing asynchronous communication between them.
Caching systems store frequently accessed data in memory to reduce database load and improve response times.
Popular message queue systems include RabbitMQ, Kafka, and Redis.
Common caching systems include Memcached and Redi...
Top trending discussions
I applied via Campus Placement and was interviewed before Jun 2020. There were 3 interview rounds.
I applied via Company Website and was interviewed in Oct 2018. There was 0 interview round.
I applied via Naukri.com and was interviewed before Oct 2019. There were 3 interview rounds.
I applied via tcs and was interviewed before Jun 2020. There were 4 interview rounds.
I appeared for an interview before Nov 2020.
Round duration - 90 minutes
Round difficulty - Medium
Timing was around 10am
It was quite a normal online examination kind of environment
People from the company were there to invigilate
All were quite nice and helpful in case the exam got stuck
An alien dropped its dictionary while visiting Earth. The Ninja wants to determine the order of characters used in the alien language, based on the given list of wor...
Determine the order of characters in an alien language based on a list of words.
Create a graph data structure to represent the relationships between characters in the words.
Perform a topological sort on the graph to find the order of characters.
Return the smallest lexicographical order of characters as the result.
Given an array of integers arr
of size N
and an integer K
, determine if there are any duplicate elements within a distance of K
from each other in the array. Return "true...
Check if there are any duplicate elements within a distance of K from each other in the array.
Iterate through the array and keep track of the indices of elements using a hashmap.
For each element, check if it already exists in the hashmap within distance K.
Return true if a duplicate is found within distance K, otherwise return false.
Round duration - 30 minutes
Round difficulty - Medium
Timing was 2pm when it started
Interviewer was polite
Ninja enjoys working with numbers, and Alice challenges him to find the Kth largest value from a given list of numbers.
The first line contains an integer 'T...
The task is to find the Kth largest element in a given list of numbers for each test case.
Read the number of test cases 'T'
For each test case, read the number of elements 'N' and the Kth largest number to find 'K'
Sort the array in descending order and output the Kth element
Round duration - 20 minutes
Round difficulty - Easy
Timing was 9 am onwards
Interviewer was good enough
Tip 1 : Focus on specialization of any one skill and keep a basic knowledge of all the skills you mention in your resume
Tip 2 : Gain confidence in presenting yourself by practicing well before
Tip 3 : Gain a basic knowledge of the company you go for selection
Tip 1 : Resume should be simple and precise but pretty smart to cover your skills
Tip 2 : Mention what you really know,no false things
I applied via Walk-in and was interviewed before Sep 2019. There were 3 interview rounds.
I applied via Recruitment Consultant and was interviewed before Jun 2020. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Nov 2019. There were 3 interview rounds.
Software developers need to have strong technical skills, problem-solving abilities, and communication skills.
Strong technical skills in programming languages, databases, and software development tools
Problem-solving abilities to identify and solve complex software issues
Communication skills to work effectively with team members and clients
Adaptability to learn new technologies and keep up with industry trends
Creativit...
Software technology refers to the tools, languages, frameworks, and methodologies used to develop software applications.
Software technology includes programming languages such as Java, Python, and C++
Frameworks like React, Angular, and Vue.js are used for building web applications
Methodologies like Agile and Waterfall are used for project management
Tools like Git, JIRA, and Jenkins are used for version control, issue t...
I applied via Naukri.com and was interviewed before Jan 2020. There was 1 interview round.
Yes, multiple constructors can be defined in a single class.
Constructors are used to initialize objects of a class.
Multiple constructors can have different parameters.
Overloading is used to differentiate between constructors.
Example: public MyClass(int x) { } and public MyClass(int x, int y) { }
Object is a fundamental concept in Python, representing a data structure that has properties and methods.
Objects are instances of classes
Objects have attributes and methods
Objects can be created using constructors
Objects can be passed as arguments to functions
Objects can be used to implement object-oriented programming
Examples of objects include lists, dictionaries, and strings
Some of the top questions asked at the DataTerrain Python and Django Developer interview -
based on 1 interview
Interview experience
Associate Software Engineer
15
salaries
| ₹2.5 L/yr - ₹7 L/yr |
Software Engineer
11
salaries
| ₹3.7 L/yr - ₹14 L/yr |
Software Developer
9
salaries
| ₹7.5 L/yr - ₹10 L/yr |
Consultant
7
salaries
| ₹3 L/yr - ₹10.5 L/yr |
Senior Consultant
6
salaries
| ₹6 L/yr - ₹12.7 L/yr |
TCS
Accenture
Wipro
Cognizant