Filter interviews by
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 a...
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 migra...
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...
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 CustomMiddlew...
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...
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 requ...
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 permissi...
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...
I applied via LinkedIn and was interviewed in Oct 2024. There was 1 interview round.
Array based questions, python inbuilt functions, decorators, iterators, etc.,
I applied via Naukri.com and was interviewed in Jul 2024. There were 2 interview rounds.
Asked basic questions like palindrome sequence, recursion, factorial etc. I have to written the code in paper.
I applied via Recruitment Consulltant and was interviewed before May 2023. There was 1 interview round.
Top trending discussions
I applied via Company Website and was interviewed before Jun 2021. There were 2 interview rounds.
First round was coding as well as aptitude done together went well I guess focusing on codes helps a lot.
I applied via Campus Placement and was interviewed in Apr 2020. There was 1 interview round.
Yes, I am open to relocating for the right opportunity that aligns with my career goals and personal growth.
Relocation can provide exposure to new technologies and methodologies.
I am excited about the prospect of working in diverse teams and cultures.
For example, moving to a tech hub like San Francisco could enhance my career.
I understand the challenges of relocating, but I see them as opportunities for growth.
I bring a unique blend of skills, experience, and passion for software development that aligns perfectly with your team's goals.
Proven experience in developing scalable applications, such as a recent project where I improved performance by 30%.
Strong problem-solving skills demonstrated through my contributions to open-source projects, enhancing functionality and fixing bugs.
Excellent teamwork and communication abilitie...
I applied via LinkedIn and was interviewed before Jul 2021. There were 2 interview rounds.
Easy logical questions
basic quant
Easy level coding questions
Counting frequency of alphabets
Multiple dispatch is not a feature of Redux. It can be achieved using middleware or custom logic.
Middleware like redux-thunk or redux-saga can be used to dispatch multiple actions based on a single action.
Custom logic can be implemented in the reducer to handle multiple actions based on a single action type.
For example, a single 'ADD_ITEM' action can trigger multiple actions like 'UPDATE_TOTAL', 'UPDATE_HISTORY', etc.
M...
I applied via Campus Placement and was interviewed before Jun 2020. There were 3 interview rounds.
Some of the top questions asked at the DataTerrain interview -
based on 5 interview experiences
Difficulty level
Duration
based on 9 reviews
Rating in categories
Associate Software Engineer
16
salaries
| ₹2.5 L/yr - ₹7 L/yr |
Software Developer
12
salaries
| ₹2.5 L/yr - ₹10 L/yr |
Software Engineer
10
salaries
| ₹3.2 L/yr - ₹14 L/yr |
Consultant
6
salaries
| ₹4.5 L/yr - ₹9 L/yr |
Senior Consultant
6
salaries
| ₹6 L/yr - ₹12.7 L/yr |
TCS
Accenture
Wipro
Cognizant